From ea3320f105e9f7c29a9584f8a7c0985d810be84b Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 3 Aug 2009 15:18:03 +0000 Subject: Fix DESTDIR installation --- databases/p5-AddressBook/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'databases/p5-AddressBook') 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" -- cgit v1.2.3