summaryrefslogtreecommitdiff
path: root/security/CSP
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/CSP
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/CSP')
-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"