summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg>2009-08-03 15:19:17 +0000
committerjoerg <joerg>2009-08-03 15:19:17 +0000
commit28882c66cfe51db1e99c914408b2f0365aedb267 (patch)
treee7ba74fb7b12ccc0fe08d1eddac5cab86a6daa05 /comms
parentff45faa64da88d0e2e3b5ef146166ba427c8c575 (diff)
downloadpkgsrc-28882c66cfe51db1e99c914408b2f0365aedb267.tar.gz
Fix DESTDIR installation.
Diffstat (limited to 'comms')
-rw-r--r--comms/p5-Asterisk/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/comms/p5-Asterisk/Makefile b/comms/p5-Asterisk/Makefile
index fa04ff8035a..a77aa0fab8c 100644
--- a/comms/p5-Asterisk/Makefile
+++ b/comms/p5-Asterisk/Makefile
@@ -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 @@ EXAMPLE_FILES+= tts-bofh.agi tts-line.agi tts-ping.agi
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"