diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /www/ap2-perl | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/ap2-perl')
-rw-r--r-- | www/ap2-perl/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/ap2-perl/Makefile b/www/ap2-perl/Makefile index 4522529c3e3..ee57d427144 100644 --- a/www/ap2-perl/Makefile +++ b/www/ap2-perl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2008/04/25 11:13:31 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:54 joerg Exp $ DISTNAME= mod_perl-2.0.4 PKGREVISION= 1 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://perl.apache.org/ COMMENT= Module that embeds a Perl interpreter into Apache +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-perl-[0-9]* p5-Apache-Test-[0-9]* PKG_APACHE_ACCEPTED= apache2 apache22 @@ -20,10 +22,10 @@ PERL5_PACKLIST= auto/mod_perl2/.packlist MAKE_PARAMS+= MP_APXS=${APXS} MODPERLDOCSDIR= ${PREFIX}/share/doc/mod_perl +INSTALLATION_DIRS= ${MODPERLDOCSDIR} post-install: - ${INSTALL_DATA_DIR} ${MODPERLDOCSDIR} - ${CP} -R ${WRKSRC}/docs/* ${MODPERLDOCSDIR} + ${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${MODPERLDOCSDIR} .include "../../lang/perl5/module.mk" .include "../../mk/apache.mk" |