aboutsummaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2012-06-04 19:25:56 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2012-06-04 19:25:56 +0000
commitce2305af6799357159c317fc826d37d8137bfef3 (patch)
tree13d6e5539796d50a49425c14bd27da9e21368025 /security/apg
parentd9ad877b7e7d15d03ebcf6713e90e9b6559e34f0 (diff)
downloadports-ce2305af6799357159c317fc826d37d8137bfef3.tar.gz
ports-ce2305af6799357159c317fc826d37d8137bfef3.zip
Notes
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index accfaa4e85a5..b52fef0b1ba9 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -15,11 +15,12 @@ MASTER_SITE_SUBDIR= UNIX/misc
MAINTAINER= matthew@FreeBSD.org
COMMENT= An automated password generator
-OPTIONS= CRACKLIB "CrackLib support for password quality" off
+OPTIONS_DEFINE= CRACKLIB
+CRACKLIB_DESCR= CrackLib support for password quality
.include <bsd.port.options.mk>
-.if defined(WITH_CRACKLIB)
+.if ${PORT_OPTIONS:MCRACKLIB}
LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
MAKE_ARGS= -DWITH_CRACKLIB
.endif
@@ -41,7 +42,7 @@ do-install:
${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
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
.endif