2012-09-23 17:38:58 +02:00
|
|
|
# Created by: Peter Pentchev <roam@FreeBSD.org>
|
2001-01-20 01:13:18 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apg
|
2003-09-02 17:45:45 +02:00
|
|
|
PORTVERSION= 2.3.0b
|
2015-05-16 11:30:34 +02:00
|
|
|
PORTREVISION= 4
|
2001-01-20 01:13:18 +01:00
|
|
|
CATEGORIES= security
|
2010-12-23 11:54:46 +01:00
|
|
|
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
|
2001-01-20 01:13:18 +01:00
|
|
|
|
2012-02-28 00:44:44 +01:00
|
|
|
MAINTAINER= matthew@FreeBSD.org
|
2012-09-23 17:38:58 +02:00
|
|
|
COMMENT= Automated password generator
|
2003-09-02 17:45:45 +02:00
|
|
|
|
2014-09-07 07:09:52 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
2015-05-14 08:38:55 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2010-12-23 11:54:46 +01:00
|
|
|
|
2003-09-02 17:45:45 +02:00
|
|
|
DOCS= APG_TIPS pronun.txt rfc0972.txt rfc1750.txt
|
|
|
|
|
2015-05-14 08:38:55 +02:00
|
|
|
OPTIONS_DEFINE= CRACKLIB DOCS
|
|
|
|
CRACKLIB_DESC= CrackLib support for password quality
|
|
|
|
CRACKLIB_LIB_DEPENDS= libcrack.so:${PORTSDIR}/security/cracklib
|
|
|
|
CRACKLIB_MAKE_ARGS= -DWITH_CRACKLIB
|
|
|
|
|
2003-09-02 17:45:45 +02:00
|
|
|
post-extract:
|
2015-05-14 08:38:55 +02:00
|
|
|
@${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} u+wx
|
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} u+w
|
2003-09-02 17:45:45 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-09-27 10:44:25 +02:00
|
|
|
${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
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
|
2001-01-20 01:13:18 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|