aboutsummaryrefslogtreecommitdiff
path: root/security/cmd5checkpw
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-10-31 23:43:26 +0000
committerRenato Botelho <garga@FreeBSD.org>2013-10-31 23:43:26 +0000
commit5fa2f4c0ad3ae6822932c8846da1a033b0d05dc4 (patch)
tree2f836d60135ecc938bce3dfd8381e2a30d9e4e38 /security/cmd5checkpw
parent51c25fb8f80ac5286936e56b59559d0716c6f45c (diff)
downloadports-5fa2f4c0ad3ae6822932c8846da1a033b0d05dc4.tar.gz
ports-5fa2f4c0ad3ae6822932c8846da1a033b0d05dc4.zip
Notes
Diffstat (limited to 'security/cmd5checkpw')
-rw-r--r--security/cmd5checkpw/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/security/cmd5checkpw/Makefile b/security/cmd5checkpw/Makefile
index c8400ad0fb62..e70982f76102 100644
--- a/security/cmd5checkpw/Makefile
+++ b/security/cmd5checkpw/Makefile
@@ -16,8 +16,6 @@ PLIST_FILES= bin/cmd5checkpw \
etc/poppasswd.dist \
man/man8/cmd5checkpw.8.gz
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|/etc/poppasswd|${LOCALBASE}/etc/poppasswd|' \
${WRKSRC}/main.c
@@ -26,14 +24,12 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/cmd5checkpw ${STAGEDIR}${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/poppasswd ${STAGEDIR}${PREFIX}/etc/poppasswd.dist
- @${INSTALL_MAN} ${WRKSRC}/cmd5checkpw.8 ${STAGEDIR}${MANPREFIX}/man/man8
-.if ${PORT_OPTIONS:MDOCS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmd5checkpw ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/poppasswd ${STAGEDIR}${PREFIX}/etc/poppasswd.dist
+ ${INSTALL_MAN} ${WRKSRC}/cmd5checkpw.8 ${STAGEDIR}${MANPREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-. endfor
-.endif
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>