diff options
author | joerg <joerg@pkgsrc.org> | 2009-08-03 15:18:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-08-03 15:18:03 +0000 |
commit | ff3cdfdb53ddb02f165fd0935c68c160422bdaf6 (patch) | |
tree | df27ddbc5a38627e69f0d907cf725f8a514a7c20 /www/p5-Apache-Gallery | |
parent | cdec0db3b638ee7252ee116f0641382b232c9b24 (diff) | |
download | pkgsrc-ff3cdfdb53ddb02f165fd0935c68c160422bdaf6.tar.gz |
Fix DESTDIR installation
Diffstat (limited to 'www/p5-Apache-Gallery')
-rw-r--r-- | www/p5-Apache-Gallery/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile index 3a42d25b5ff..060606549d2 100644 --- a/www/p5-Apache-Gallery/Makefile +++ b/www/p5-Apache-Gallery/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2009/07/07 16:27:33 sno Exp $ +# $NetBSD: Makefile,v 1.40 2009/08/03 15:18:03 joerg Exp $ # DISTNAME= Apache-Gallery-0.9.1 @@ -88,22 +88,18 @@ post-build: done; \ done +INSTALLATION_DIRS= ${AG_SHAREDIR}/htdocs ${AG_SHAREDIR}/templates \ + ${AG_DOCDIR} ${AG_EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${AG_SHAREDIR} - @set +x; \ - for i in htdocs templates; \ - do \ - ${INSTALL_DATA_DIR} ${AG_SHAREDIR}/$$i; \ - cd ${WRKSRC}/$$i && pax -rw . ${AG_SHAREDIR}/$$i; \ - done; \ - ${INSTALL_DATA_DIR} ${AG_DOCDIR}; \ - for i in Changes INSTALL LICENSE README UPGRADE; \ - do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${AG_DOCDIR}; \ - done - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${AG_SHAREDIR}; \ - ${INSTALL_DATA_DIR} ${AG_EGDIR} - ${INSTALL_DATA} ${WRKSRC}/${AG}.conf ${AG_EGDIR} + cd ${WRKSRC}/htdocs && pax -rw . ${DESTDIR}${AG_SHAREDIR}/htdocs + cd ${WRKSRC}/templates && pax -rw . ${DESTDIR}${AG_SHAREDIR}/templates + ${INSTALL_DATA} ${WRKSRC}/Changes ${DESTDIR}${AG_DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${AG_DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${AG_DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${AG_DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DESTDIR}${AG_DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${AG}.conf ${DESTDIR}${AG_EGDIR} .include "../../graphics/imlib2/buildlink3.mk" .include "../../lang/perl5/module.mk" |