- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
36 lines
814 B
Makefile
36 lines
814 B
Makefile
# Created by: sada@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= checkpassword
|
|
PORTVERSION= 0.90
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://cr.yp.to/checkpwd/ \
|
|
GENTOO
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= Simple password-checking interface
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
ALL_TARGET= it
|
|
INSTALL_TARGET= setup
|
|
|
|
PLIST_FILES= bin/checkpassword
|
|
PORTDOCS= CHANGES FILES README SYSDEPS TARGETS TODO VERSION
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,gcc,${CC},g" ${WRKSRC}/find-systype.sh
|
|
|
|
do-configure:
|
|
@${ECHO_CMD} '${CC} ${CFLAGS} -s -lcrypt' > ${WRKSRC}/conf-cc
|
|
@${ECHO_CMD} '${CC} ${CFLAGS} -s -lcrypt' > ${WRKSRC}/conf-ld
|
|
@${ECHO_CMD} ${STAGEDIR}${PREFIX} >${WRKSRC}/conf-home
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|