98519f32f7
leave it writable, so the built files cannot be written out. much input from jolan@, ok brad@ and jolan@, thanks guys.
37 lines
850 B
Makefile
37 lines
850 B
Makefile
# $OpenBSD: Makefile,v 1.8 2003/08/19 20:01:03 jose Exp $
|
|
|
|
COMMENT= "automated password generator"
|
|
|
|
DISTNAME= apg-2.2.0
|
|
CATEGORIES= security
|
|
|
|
HOMEPAGE= http://www.adel.nursat.kz/apg/
|
|
|
|
MAINTAINER= Jose Nazario <jose@crimelabs.net>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.adel.nursat.kz/apg/download/ \
|
|
${MASTER_SITE_PACKETSTORM:=UNIX/misc/}
|
|
|
|
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS}" \
|
|
LIBS="" USE_SHA=APG_USE_SHA
|
|
FAKE_FLAGS= INSTALL_PREFIX=${WRKINST}${PREFIX}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-extract:
|
|
@find ${WRKDIST} -type d -print0 | xargs -0 chmod 0755
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli
|
|
.for prog in bin/apg bin/apgbfm sbin/apgd
|
|
${STRIP} ${PREFIX}/${prog}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|