2001-01-20 01:13:18 +01:00
|
|
|
# New ports collection makefile for: apg
|
|
|
|
# Date created: 1 September 2000
|
2001-01-22 08:31:15 +01:00
|
|
|
# Whom: 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-27 21:32:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-02 17:45:45 +02:00
|
|
|
COMMENT= An automated password generator
|
|
|
|
|
2010-12-23 11:54:46 +01:00
|
|
|
OPTIONS= CRACKLIB "CrackLib support for password quality" off
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2003-09-02 17:45:45 +02:00
|
|
|
.if defined(WITH_CRACKLIB)
|
2005-07-04 13:27:40 +02:00
|
|
|
LIB_DEPENDS= crack.1:${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
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
|
|
|
|
.endif
|
2001-01-20 01:13:18 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|