svn commit: r332315 - head/security/cmd5checkpw
Renato Botelho
garga at FreeBSD.org
Thu Oct 31 23:43:26 UTC 2013
Author: garga
Date: Thu Oct 31 23:43:26 2013
New Revision: 332315
URL: http://svnweb.freebsd.org/changeset/ports/332315
Log:
. Simplify Makefile
. Unmute install commands
Modified:
head/security/cmd5checkpw/Makefile (contents, props changed)
Modified: head/security/cmd5checkpw/Makefile
==============================================================================
--- head/security/cmd5checkpw/Makefile Thu Oct 31 23:42:41 2013 (r332314)
+++ head/security/cmd5checkpw/Makefile Thu Oct 31 23:43:26 2013 (r332315)
@@ -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>
More information about the svn-ports-head
mailing list