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
|
2010-12-23 11:54:46 +01:00
|
|
|
PORTREVISION= 2
|
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/
|
2003-08-16 18:02:39 +02:00
|
|
|
MASTER_SITE_SUBDIR= UNIX/misc
|
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
|
|
|
|
2012-06-04 21:25:56 +02:00
|
|
|
OPTIONS_DEFINE= CRACKLIB
|
|
|
|
CRACKLIB_DESCR= CrackLib support for password quality
|
2010-12-23 11:54:46 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-04 21:25:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MCRACKLIB}
|
2012-02-28 00:44:44 +01:00
|
|
|
LIB_DEPENDS= crack:${PORTSDIR}/security/cracklib
|
2003-09-02 17:45:45 +02:00
|
|
|
MAKE_ARGS= -DWITH_CRACKLIB
|
|
|
|
.endif
|
2001-01-20 01:13:18 +01:00
|
|
|
|
2010-12-23 11:54:46 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2002-05-21 12:25:17 +02:00
|
|
|
MAN1= apg.1 apgbfm.1
|
2001-01-20 01:13:18 +01:00
|
|
|
MAN8= apgd.8
|
2003-09-02 17:45:45 +02:00
|
|
|
DOCS= APG_TIPS pronun.txt rfc0972.txt rfc1750.txt
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} u+wx
|
|
|
|
${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
|
2012-06-04 21:25:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2012-09-23 17:38:58 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-09-02 17:45:45 +02:00
|
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
|
|
|
|
.endif
|
2001-01-20 01:13:18 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|