Date: Thu, 14 May 2015 06:38:55 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386292 - head/security/apg Message-ID: <201505140638.t4E6cto9096750@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505140638.t4E6cto9096750>