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 | ea3320f105e9f7c29a9584f8a7c0985d810be84b (patch) | |
tree | df27ddbc5a38627e69f0d907cf725f8a514a7c20 /databases | |
parent | 694d09772e819425e55c34cdaffb3c24516fabbb (diff) | |
download | pkgsrc-ea3320f105e9f7c29a9584f8a7c0985d810be84b.tar.gz |
Fix DESTDIR installation
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-AddressBook/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/p5-AddressBook/Makefile b/databases/p5-AddressBook/Makefile index 1666be17b7c..230a273a8c7 100644 --- a/databases/p5-AddressBook/Makefile +++ b/databases/p5-AddressBook/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/07/07 15:46:47 sno Exp $ +# $NetBSD: Makefile,v 1.18 2009/08/03 15:18:35 joerg Exp $ DISTNAME= AddressBook-0.16 PKGNAME= p5-${DISTNAME} @@ -26,12 +26,11 @@ REPLACE_PERL+= examples/abook.palm REPLACE_PERL+= examples/phonelist.cgi EGDIR= ${PREFIX}/share/examples/${PKGBASE} +INSTALLATION_DIRS= ${EGDIR} post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC}; \ for file in ${REPLACE_PERL} examples/ldap-abook.conf; do \ - ${INSTALL_DATA} $${file} ${EGDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$${file} ${DESTDIR}${EGDIR}; \ done .include "../../lang/perl5/module.mk" |