summaryrefslogtreecommitdiff
path: root/audio/esound
diff options
context:
space:
mode:
authorjlam <jlam>2002-02-17 21:55:43 +0000
committerjlam <jlam>2002-02-17 21:55:43 +0000
commitbb9b8d70daace2e8d1cf93a60e95da620242b214 (patch)
treecc31da458f547d092b1a2c54be6fd274701857b4 /audio/esound
parent17ccdc9a15f166826eab0aa63b31ecb35d2b9ab7 (diff)
downloadpkgsrc-bb9b8d70daace2e8d1cf93a60e95da620242b214.tar.gz
Honor PKG_SYSCONFDIR.
Diffstat (limited to 'audio/esound')
-rw-r--r--audio/esound/Makefile10
-rw-r--r--audio/esound/PLIST7
-rw-r--r--audio/esound/distinfo3
-rw-r--r--audio/esound/patches/patch-aa13
4 files changed, 27 insertions, 6 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile
index b5007e80675..b873c2ed004 100644
--- a/audio/esound/Makefile
+++ b/audio/esound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2001/10/03 22:36:37 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2002/02/17 21:55:43 jlam Exp $
DISTNAME= esound-0.2.23
CATEGORIES= audio
@@ -9,9 +9,15 @@ HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html
COMMENT= the Enlightened sound daemon
USE_BUILDLINK_ONLY= YES
-GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/esound
+CONF_FILES= ${EGDIR}/esd.conf ${PKG_SYSCONFDIR}/esd.conf
+
.include "../../audio/libaudiofile/buildlink.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/esound/PLIST b/audio/esound/PLIST
index 1553f65105f..51efe8658f8 100644
--- a/audio/esound/PLIST
+++ b/audio/esound/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:28 skrll Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/02/17 21:55:44 jlam Exp $
bin/esd
bin/esd-config
bin/esdcat
@@ -9,7 +9,6 @@ bin/esdloop
bin/esdplay
bin/esdrec
bin/esdsample
-etc/esd.conf
include/esd.h
lib/libesd.a
lib/libesd.la
@@ -18,4 +17,6 @@ lib/libesd.so.2
lib/libesd.so.2.23
lib/pkgconfig/esound.pc
share/aclocal/esd.m4
-@unexec ${RMDIR} %D/lib/pkgconfig 2>/dev/null || true
+share/examples/esound/esd.conf
+@dirrm share/examples/esound
+@unexec ${RMDIR} %D/lib/pkgconfig 2>/dev/null || ${TRUE}
diff --git a/audio/esound/distinfo b/audio/esound/distinfo
index baa1ce90a19..391a07714de 100644
--- a/audio/esound/distinfo
+++ b/audio/esound/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2001/09/13 18:11:35 wiz Exp $
+$NetBSD: distinfo,v 1.4 2002/02/17 21:55:44 jlam Exp $
SHA1 (esound-0.2.23.tar.gz) = 9d9f6d7b7e4fc7eeb1f91cdc0f366229369a3459
Size (esound-0.2.23.tar.gz) = 294603 bytes
+SHA1 (patch-aa) = c4dbfa7116f9ce760b4dc23aa335868a0728a8e8
SHA1 (patch-ab) = e10a9ecc1b3c2d906e0be60375ae95b2fc8aa318
SHA1 (patch-ac) = 3f42e4438282e9b31e191fcf985b2334ff656525
diff --git a/audio/esound/patches/patch-aa b/audio/esound/patches/patch-aa
new file mode 100644
index 00000000000..b8da1b2a69c
--- /dev/null
+++ b/audio/esound/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2002/02/17 21:55:45 jlam Exp $
+
+--- Makefile.in.orig Sun Feb 17 16:45:44 2002
++++ Makefile.in
+@@ -178,7 +178,7 @@
+ m4datadir = $(datadir)/aclocal
+ m4data_DATA = esd.m4
+
+-esdconfdir = $(sysconfdir)
++esdconfdir = $(datadir)/examples/@PACKAGE@
+ esdconf_DATA = esd.conf
+
+ CLEANFILES = esound.spec esound.pc