pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/p5-Asterisk Fix DESTDIR installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b64d2dfa8bb7
branches:  trunk
changeset: 562644:b64d2dfa8bb7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Aug 03 15:19:17 2009 +0000

description:
Fix DESTDIR installation.

diffstat:

 comms/p5-Asterisk/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 849720a9a84d -r b64d2dfa8bb7 comms/p5-Asterisk/Makefile
--- a/comms/p5-Asterisk/Makefile        Mon Aug 03 15:18:03 2009 +0000
+++ b/comms/p5-Asterisk/Makefile        Mon Aug 03 15:19:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/07/07 15:42:13 sno Exp $
+# $NetBSD: Makefile,v 1.5 2009/08/03 15:19:17 joerg Exp $
 #
 
 DISTNAME=              asterisk-perl-1.01
@@ -26,10 +26,11 @@
 REPLACE_PERL+=         ${WRKSRC}/examples/${file}
 .endfor
 
+INSTALLATION_DIRS=     ${EXAMPLES_DIR}
+
 post-install:
-       ${INSTALL_SCRIPT_DIR} ${EXAMPLES_DIR}
 .for file in ${EXAMPLE_FILES}
-       ${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${EXAMPLES_DIR}
+       ${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${DESTDIR}${EXAMPLES_DIR}
 .endfor
 
 .include "../../lang/perl5/module.mk"



Home | Main Index | Thread Index | Old Index