pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/asterisk-sounds-native Fix installation due to m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd87c04045c5
branches: trunk
changeset: 530408:dd87c04045c5
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jun 29 22:54:06 2007 +0000
description:
Fix installation due to missing directories and add DESTDIR support.
diffstat:
comms/asterisk-sounds-native/Makefile | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r 4451bf19e0c0 -r dd87c04045c5 comms/asterisk-sounds-native/Makefile
--- a/comms/asterisk-sounds-native/Makefile Fri Jun 29 22:53:21 2007 +0000
+++ b/comms/asterisk-sounds-native/Makefile Fri Jun 29 22:54:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2007/06/28 18:52:18 mjl Exp $
+# $NetBSD: Makefile,v 1.2 2007/06/29 22:54:06 joerg Exp $
#
PKGNAME= asterisk-sounds-native-20060209
@@ -13,20 +13,26 @@
HOMEPAGE= http://www.astlinux.org/index.php
COMMENT= Asterisk sound files in higher quality formats
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/sounds
USE_LANGUAGES= # none
NO_BUILD= yes
+INSTALLATION_DIRS= libdata/asterisk/sounds/dictate \
+ libdata/asterisk/sounds/digits \
+ libdata/asterisk/sounds/letters \
+ libdata/asterisk/sounds/phonetic
+
# work around bogosity in distfile: tarred with non-x directories
post-extract:
find ${WRKSRC} -type d -exec chmod a+x {} \;
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/asterisk
cd ${WRKDIR} && \
for f in `find sounds -type f -name \\*.?law` ; do \
- ${INSTALL_DATA} $$f ${PREFIX}/libdata/asterisk/$$f; \
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/libdata/asterisk/$$f; \
done
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index