summaryrefslogtreecommitdiff
path: root/security/pgp5
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/pgp5
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/pgp5')
-rw-r--r--security/pgp5/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/security/pgp5/Makefile b/security/pgp5/Makefile
index c203133d0c4..d0838ab0abc 100644
--- a/security/pgp5/Makefile
+++ b/security/pgp5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2007/12/02 11:35:41 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pgp50i-unix-src
@@ -14,6 +14,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pgpi.org/
COMMENT= Public-key encryption and digital signature utilities (v5)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl
CONFLICTS= pgraf-[0-9]* # Both have a `pgps' executable
@@ -27,11 +29,12 @@ LICENSE= fee-based-commercial-use
PGPLIB= ${PREFIX}/share/pgp5
+INSTALLATION_DIRS= bin ${PGPLIB}
+
post-patch:
${MV} ${WRKSRC}/man/pgp.1 ${WRKSRC}/man/pgp5.1
post-install:
- ${INSTALL_DATA_DIR} ${PGPLIB}
- ${INSTALL_DATA} ${WRKSRC}/language50.txt ${PGPLIB}
+ ${INSTALL_DATA} ${WRKSRC}/language50.txt ${DESTDIR}${PGPLIB}
.include "../../mk/bsd.pkg.mk"