summaryrefslogtreecommitdiff
path: root/security/apg/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 09:07:30 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 09:07:30 +0000
commitc9280515c9bb8b4be8188fe561b258c76bb8bc6a (patch)
tree17634655a2456b2222d7979f986ac4329f77697a /security/apg/Makefile
parent19b966f9e997972a0b23efa4f56767a616609cca (diff)
downloadpkgsrc-c9280515c9bb8b4be8188fe561b258c76bb8bc6a.tar.gz
Use custom install rules to get user-destdir ready and most likely
also fix unprivileged builds in general.
Diffstat (limited to 'security/apg/Makefile')
-rw-r--r--security/apg/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index e4daf95da46..8252ce89069 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/10/09 12:52:36 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2006/11/03 09:07:30 joerg Exp $
#
DISTNAME= apg-2.2.3
@@ -9,7 +9,7 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://www.adel.nursat.kz/apg/
COMMENT= Tool set for random password generation
-PKG_DESTDIR_SUPPORT= destdir
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_ENV+= FLAGS=${CFLAGS:M*:Q} INSTALL_PREFIX=${DESTDIR:Q}${PREFIX:Q}
@@ -21,6 +21,8 @@ CS_LIBS.Linux+= -lnsl
CS_LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= CS_LIBS=${CS_LIBS:Q}
+INSTALLATION_DIRS+= bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli