2004-05-07 11:28:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2004/05/07 15:28:31 naddy Exp $
|
2001-08-09 15:35:31 -04:00
|
|
|
|
|
|
|
COMMENT= "automated password generator"
|
|
|
|
|
2003-08-11 21:43:53 -04:00
|
|
|
DISTNAME= apg-2.2.0
|
2001-08-09 15:35:31 -04:00
|
|
|
CATEGORIES= security
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.adel.nursat.kz/apg/
|
|
|
|
|
2002-02-20 11:55:49 -05:00
|
|
|
# BSD
|
2001-08-09 15:35:31 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-01-25 12:38:50 -05:00
|
|
|
MASTER_SITES= http://www.adel.nursat.kz/apg/download/ \
|
2002-05-13 05:06:08 -04:00
|
|
|
${MASTER_SITE_PACKETSTORM:=UNIX/misc/}
|
2001-08-09 15:35:31 -04:00
|
|
|
|
2002-02-20 11:55:49 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS}" \
|
|
|
|
LIBS="" USE_SHA=APG_USE_SHA
|
2001-08-09 15:35:31 -04:00
|
|
|
FAKE_FLAGS= INSTALL_PREFIX=${WRKINST}${PREFIX}
|
|
|
|
|
2002-01-24 14:35:16 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2003-08-19 16:01:03 -04:00
|
|
|
post-extract:
|
|
|
|
@find ${WRKDIST} -type d -print0 | xargs -0 chmod 0755
|
|
|
|
|
2001-08-09 15:35:31 -04:00
|
|
|
post-install:
|
2002-02-20 11:55:49 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli
|
|
|
|
.for prog in bin/apg bin/apgbfm sbin/apgd
|
|
|
|
${STRIP} ${PREFIX}/${prog}
|
|
|
|
.endfor
|
2001-08-09 15:35:31 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|