summaryrefslogtreecommitdiff
path: root/audio/rsynth/Makefile
diff options
context:
space:
mode:
authorabs <abs>2009-12-17 22:08:09 +0000
committerabs <abs>2009-12-17 22:08:09 +0000
commit5dce58b23fc63fc780c23c5f19c19d4ab6eb023c (patch)
tree972a49198ae8e28c50bb74c83093a6d87ce1c2c3 /audio/rsynth/Makefile
parent17c131d77bbfcb831a7602c07b03411fc3884c04 (diff)
downloadpkgsrc-5dce58b23fc63fc780c23c5f19c19d4ab6eb023c.tar.gz
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'audio/rsynth/Makefile')
-rw-r--r--audio/rsynth/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/rsynth/Makefile b/audio/rsynth/Makefile
index b3a63d08aaf..31bea5e75aa 100644
--- a/audio/rsynth/Makefile
+++ b/audio/rsynth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/12/01 23:46:59 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2009/12/17 22:08:09 abs Exp $
DISTNAME= rsynth-2.0
PKGREVISION= 2
@@ -17,17 +17,21 @@ DIST_SUBDIR= rsynth
GNU_CONFIGURE= YES
CONFIGURE_HAS_MANDIR= NO
+USE_TOOLS+= gzcat
+
CONFIGURE_ARGS+=--with-aDict="${WRKDIR}/cmudict.0.4"
CONFIGURE_ARGS+=--without-bDict
CONFIGURE_ENV+= ac_cv_lib_audio=yes XLIBS=-lXt
+INSTALLATION_DIRS+= bin share/rsynth
+PKG_DESTDIR_SUPPORT= user-destdir
+
pre-configure:
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/cmudict.0.4.Z > ${WRKDIR}/cmudict.0.4
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/rsynth/
cd ${DISTDIR}/${DIST_SUBDIR} && \
- ${INSTALL_DATA} ${DICT_FILES} ${PREFIX}/share/rsynth/
+ ${INSTALL_DATA} ${DICT_FILES} ${DESTDIR}${PREFIX}/share/rsynth/
.include "../../audio/nas/buildlink3.mk"
.include "../../databases/gdbm/buildlink3.mk"