summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-09 12:52:34 +0000
committerjoerg <joerg>2006-10-09 12:52:34 +0000
commitb1ec6efee6277c88c10f4d514f1b9ce28d77ef67 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /security/apg
parentf0da24841ebace4418bbe664263b9415e23a1837 (diff)
downloadpkgsrc-b1ec6efee6277c88c10f4d514f1b9ce28d77ef67.tar.gz
Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index 587e0b34287..e4daf95da46 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/12/05 20:50:54 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2006/10/09 12:52:36 joerg Exp $
#
DISTNAME= apg-2.2.3
@@ -9,7 +9,9 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://www.adel.nursat.kz/apg/
COMMENT= Tool set for random password generation
-MAKE_ENV+= FLAGS=${CFLAGS:M*:Q} INSTALL_PREFIX=${PREFIX:Q}
+PKG_DESTDIR_SUPPORT= destdir
+
+MAKE_ENV+= FLAGS=${CFLAGS:M*:Q} INSTALL_PREFIX=${DESTDIR:Q}${PREFIX:Q}
USE_TOOLS+= perl:run
REPLACE_PERL= perl/apgcli.pl
@@ -20,6 +22,6 @@ CS_LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= CS_LIBS=${CS_LIBS:Q}
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli
+ ${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli
.include "../../mk/bsd.pkg.mk"