diff options
author | abs <abs@pkgsrc.org> | 2009-05-18 22:14:20 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-05-18 22:14:20 +0000 |
commit | a8acc02b8cb5bfb89e7fbb4817410d4a03316621 (patch) | |
tree | 62b1bda2354b65cc5faab88af8f06fed28572b1b /www | |
parent | e585b8ab172ebe7e7bb79d371bd4dc70ae67d5f6 (diff) | |
download | pkgsrc-a8acc02b8cb5bfb89e7fbb4817410d4a03316621.tar.gz |
+PKG_DESTDIR_SUPPORT=
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-CGI/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile index db51b9fa0de..765339effba 100644 --- a/www/p5-CGI/Makefile +++ b/www/p5-CGI/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2009/04/12 11:59:13 sno Exp $ +# $NetBSD: Makefile,v 1.48 2009/05/18 22:14:20 abs Exp $ VERS= 3.43 DISTNAME= CGI.pm-${VERS} @@ -12,6 +12,7 @@ HOMEPAGE= http://search.cpan.org/dist/CGI.pm/ COMMENT= Perl5 module for writing forms-based CGI programs LICENSE= artistic-2.0 +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews USE_LANGUAGES= # empty @@ -27,12 +28,13 @@ post-build: cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl post-install: - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${INSTALL_DATA_DIR} ${HTMLDIR}/examples - cd ${WRKSRC} && ${INSTALL_DATA} *.html ${HTMLDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/examples + cd ${WRKSRC} && ${INSTALL_DATA} *.html ${DESTDIR}${HTMLDIR} cd ${WRKSRC}/examples && \ - ${INSTALL_DATA} *.gif *.html *.txt *.xbm ${HTMLDIR}/examples && \ - ${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples + ${INSTALL_DATA} *.gif *.html *.txt *.xbm \ + ${DESTDIR}${HTMLDIR}/examples && ${INSTALL_SCRIPT} *.cgi \ + ${DESTDIR}${HTMLDIR}/examples .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |