summaryrefslogtreecommitdiff
path: root/audio/timidity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/timidity/Makefile')
-rw-r--r--audio/timidity/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/timidity/Makefile b/audio/timidity/Makefile
index e183bc537a7..b74184c048d 100644
--- a/audio/timidity/Makefile
+++ b/audio/timidity/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2004/10/13 15:23:40 adam Exp $
+# $NetBSD: Makefile,v 1.51 2004/12/03 14:20:03 ben Exp $
DISTNAME= TiMidity++-2.13.2
PKGNAME= ${DISTNAME:S/TiMidity++/timidity/}
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=timidity/}
EXTRACT_SUFX= .tar.bz2
@@ -19,6 +20,13 @@ CONFIGURE_ARGS+= --enable-gtk --enable-wrd --enable-xaw --enable-ncurses
CONFIGURE_ARGS+= --with-libFLAC="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-ogg="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-vorbis="${BUILDLINK_DIR}/include"
+CONFIGURE_ARGS+= --with-default-path="${PKG_SYSCONFDIR}"
+
+SUBST_CLASSES+= confdir
+SUBST_MESSAGE.confdir= "Configuring to use PKG_SYSCONFDIR."
+SUBST_STAGE.confdir= post-patch
+SUBST_FILES.confdir= doc/C/timidity.cfg.5 doc/ja_JP.eucJP/timidity.cfg.5
+SUBST_SED.confdir= -e 's,/usr/local/share/timidity,${PKG_SYSCONFDIR},g'
.include "../../mk/bsd.prefs.mk"