summaryrefslogtreecommitdiff
path: root/security/CSP/Makefile
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/CSP/Makefile
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/CSP/Makefile')
-rw-r--r--security/CSP/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/CSP/Makefile b/security/CSP/Makefile
index a6f2599fbfc..c3dec6f1d98 100644
--- a/security/CSP/Makefile
+++ b/security/CSP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= CSP-0.32
@@ -11,6 +11,8 @@ MAINTAINER= cube@cubidou.net
HOMEPAGE= http://devel.it.su.se/pub/jsp/polopoly.jsp?d=1026&a=3290
COMMENT= Simple PKI Toolkit
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Date-Calc>=5.4:../../devel/p5-Date-Calc
DEPENDS+= p5-IPC-Run>=0.79:../../devel/p5-IPC-Run
DEPENDS+= p5-Term-Prompt>=1.03:../../devel/p5-Term-Prompt
@@ -37,8 +39,8 @@ SUBST_SED.csp= -e s,@@CSPHOME@@,${CSPHOME}, \
SUBST_STAGE.csp= post-patch
post-install:
- cd ${WRKSRC}/ca && ${FIND} . -type f | pax -rw ${CSPHOME}
- ${INSTALL_DATA} ${DISTDIR}/${CSPGUIDE} ${PREFIX}/share/doc/csp
+ cd ${WRKSRC}/ca && ${FIND} . -type f | pax -rw ${DESTDIR}${CSPHOME}
+ ${INSTALL_DATA} ${DISTDIR}/${CSPGUIDE} ${DESTDIR}${PREFIX}/share/doc/csp
.include "../../lang/perl5/module.mk"
.include "../../security/openssl/buildlink3.mk"