- use ${INSTALL_*} macros.
- don't strip binaries by default. - bump PKGNAME. "much better" alek@
This commit is contained in:
parent
1774a832ba
commit
d2abd65b28
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2005/05/11 05:09:27 kevlo Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2006/05/08 07:27:04 aanriot Exp $
|
||||
|
||||
COMMENT= "automated password generator"
|
||||
|
||||
DISTNAME= apg-2.2.3
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= security
|
||||
|
||||
HOMEPAGE= http://www.adel.nursat.kz/apg/
|
||||
@ -19,17 +20,17 @@ MASTER_SITES= http://www.adel.nursat.kz/apg/download/ \
|
||||
|
||||
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
|
||||
do-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/apg.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/apgbfm.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/apgd.8 ${PREFIX}/man/man8
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli
|
||||
.for prog in bin/apg bin/apgbfm sbin/apgd
|
||||
${STRIP} ${PREFIX}/${prog}
|
||||
.endfor
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/apg ${PREFIX}/bin/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/apgbfm ${PREFIX}/bin/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/apgd ${PREFIX}/sbin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user