mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
43 lines
915 B
Makefile
43 lines
915 B
Makefile
# Created by: sada@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= checkpassword
|
|
PORTVERSION= 0.90
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://cr.yp.to/checkpwd/ \
|
|
${MASTER_SITE_GENTOO}
|
|
MASTER_SITE_SUBDIR= distfiles
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= A simple password-checking interface
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
ALL_TARGET= it
|
|
INSTALL_TARGET= setup
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
PLIST_FILES= bin/checkpassword
|
|
PORTDOCS= CHANGES FILES README SYSDEPS TARGETS TODO VERSION
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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} ${PREFIX} >${WRKSRC}/conf-home
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|