aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2013-09-27 16:44:25 +0800
committermatthew <matthew@FreeBSD.org>2013-09-27 16:44:25 +0800
commite9c429e41c673ed92bcd845735628d91b7c7bbaf (patch)
tree1542ad458c57e92a17becf86ce39a13cf4df4a7b
parent987c490d9559dd7a98666e55fccc50c9f47aa15a (diff)
downloadfreebsd-ports-gnome-e9c429e41c673ed92bcd845735628d91b7c7bbaf.tar.gz
freebsd-ports-gnome-e9c429e41c673ed92bcd845735628d91b7c7bbaf.tar.zst
freebsd-ports-gnome-e9c429e41c673ed92bcd845735628d91b7c7bbaf.zip
- stagify
- use new LIB_DEPENDS style
-rw-r--r--security/apg/Makefile21
-rw-r--r--security/apg/pkg-plist3
2 files changed, 12 insertions, 12 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index e8bd148e8145..a135801792f5 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -14,18 +14,15 @@ COMMENT= Automated password generator
OPTIONS_DEFINE= CRACKLIB
CRACKLIB_DESCR= CrackLib support for password quality
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCRACKLIB}
-LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
+LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
MAKE_ARGS= -DWITH_CRACKLIB
.endif
LICENSE= BSD
-MAN1= apg.1 apgbfm.1
-MAN8= apgd.8
DOCS= APG_TIPS pronun.txt rfc0972.txt rfc1750.txt
post-extract:
@@ -33,15 +30,15 @@ post-extract:
${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} u+w
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/apg ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/apgbfm ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/apgd ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/doc/man/apg.1 ${MANPREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/man/apgbfm.1 ${MANPREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/man/apgd.8 ${MANPREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/apg ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/apgbfm ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/apgd ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/doc/man/apg.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/man/apgbfm.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/man/apgd.8 ${STAGEDIR}${MANPREFIX}/man/man8
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/apg/pkg-plist b/security/apg/pkg-plist
index cb858afcd8dd..8b0565da6b43 100644
--- a/security/apg/pkg-plist
+++ b/security/apg/pkg-plist
@@ -1,6 +1,9 @@
bin/apg
bin/apgbfm
sbin/apgd
+man/man1/apg.1.gz
+man/man1/apgbfm.1.gz
+man/man8/apgd.8.gz
%%PORTDOCS%%%%DOCSDIR%%/APG_TIPS
%%PORTDOCS%%%%DOCSDIR%%/pronun.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc0972.txt