summaryrefslogtreecommitdiff
path: root/audio/timidity
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-12-03 14:20:03 +0000
committerben <ben@pkgsrc.org>2004-12-03 14:20:03 +0000
commit65d97fa1e4c4823119b2ca94af6c46ac3a21e167 (patch)
treef661f9e159cc5ad1698e2180774f3f12a49ecdfc /audio/timidity
parente69f1adde8f8f3f61c3bbbc7b3b1c3e57b3c6f9a (diff)
downloadpkgsrc-65d97fa1e4c4823119b2ca94af6c46ac3a21e167.tar.gz
Modify directory structure used by guspatches and eawpatches.
1) install patches into separate directories to eliminate pkgsrc conflict 2) leave timidity configuration up to user, with instructions in MESSAGE 3) make timidity read configuration from PKG_SYSCONFDIR 4) bump PKGREVISION on eawpatches, guspatches, and timidity
Diffstat (limited to 'audio/timidity')
-rw-r--r--audio/timidity/MESSAGE9
-rw-r--r--audio/timidity/Makefile10
2 files changed, 14 insertions, 5 deletions
diff --git a/audio/timidity/MESSAGE b/audio/timidity/MESSAGE
index 16ae9885c4f..7e1ba049fa7 100644
--- a/audio/timidity/MESSAGE
+++ b/audio/timidity/MESSAGE
@@ -1,8 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/12 17:06:59 wiz Exp $
+$NetBSD: MESSAGE,v 1.3 2004/12/03 14:20:03 ben Exp $
- To use this program, you'll have to install either the eawpatches
- or guspatches packages, located in pkgsrc/audio/eawpatches resp.
- pkgsrc/audio/guspatches.
+ To use this program, you'll have to install one of the following:
+ * pkgsrc/audio/eawpatches
+ * pkgsrc/audio/freepats
+ * pkgsrc/audio/guspatches
===========================================================================
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"