summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-10-09 12:52:34 +0000
committerjoerg <joerg@pkgsrc.org>2006-10-09 12:52:34 +0000
commitf75176b39cb7d35a6a241e5e0a0e934d21742e72 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /security/apg
parent297e6be4e8b8c4b86d2b7a7bd42139bbdf64d2ad (diff)
downloadpkgsrc-f75176b39cb7d35a6a241e5e0a0e934d21742e72.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"