summaryrefslogtreecommitdiff
path: root/security/gnu-crypto
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /security/gnu-crypto
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/gnu-crypto')
-rw-r--r--security/gnu-crypto/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/security/gnu-crypto/Makefile b/security/gnu-crypto/Makefile
index a2bbc51295b..153778bb5b6 100644
--- a/security/gnu-crypto/Makefile
+++ b/security/gnu-crypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/03/19 16:40:28 tv Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:33 joerg Exp $
#
DISTNAME= gnu-crypto-2.0.1-bin
@@ -12,16 +12,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gnu-crypto/
COMMENT= GPL implementation of the Java Crypto Extensions
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_JAVA2= yes
-INSTALLATION_DIRS= info
+INSTALLATION_DIRS= lib/java/gnu-crypto ${PKGINFODIR}
-do-build: # do nothing
+NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/java/gnu-crypto
- ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${PREFIX}/lib/java/gnu-crypto/
- ${INSTALL_MAN} ${WRKSRC}/docs/*.info* ${PREFIX}/info/
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/lib/java/gnu-crypto/
+ ${INSTALL_MAN} ${WRKSRC}/docs/*.info* ${DESTDIR}${PREFIX}/${PKGINFODIR}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"