svn commit: r386292 - head/security/apg
Matthew Seaman
matthew at FreeBSD.org
Thu May 14 06:38:56 UTC 2015
Author: matthew
Date: Thu May 14 06:38:55 2015
New Revision: 386292
URL: https://svnweb.freebsd.org/changeset/ports/386292
Log:
- Remove useless MASTER_SITE_SUBDIR
- Fix description for CRACKLIB option
- Use OPTIONS helpers
- Simplify options handling, remove options.mk inclusion
- Silence post-extract
- Pet portlint
PR: 200183
Submitted by: amdmi3
Modified:
head/security/apg/Makefile
Modified: head/security/apg/Makefile
==============================================================================
--- head/security/apg/Makefile Thu May 14 06:05:35 2015 (r386291)
+++ head/security/apg/Makefile Thu May 14 06:38:55 2015 (r386292)
@@ -6,28 +6,23 @@ PORTVERSION= 2.3.0b
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
-MASTER_SITE_SUBDIR= UNIX/misc
MAINTAINER= matthew at FreeBSD.org
COMMENT= Automated password generator
-OPTIONS_DEFINE= CRACKLIB DOCS
-CRACKLIB_DESCR= CrackLib support for password quality
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCRACKLIB}
-LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
-MAKE_ARGS= -DWITH_CRACKLIB
-.endif
-
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
DOCS= APG_TIPS pronun.txt rfc0972.txt rfc1750.txt
+OPTIONS_DEFINE= CRACKLIB DOCS
+CRACKLIB_DESC= CrackLib support for password quality
+CRACKLIB_LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
+CRACKLIB_MAKE_ARGS= -DWITH_CRACKLIB
+
post-extract:
- ${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} u+wx
- ${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} u+w
+ @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} u+wx
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} u+w
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/apg ${STAGEDIR}${PREFIX}/bin
@@ -36,9 +31,7 @@ do-install:
${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} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list