summaryrefslogtreecommitdiff
path: root/audio/wsoundserver
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-04-30 19:10:32 +0000
committerjmmv <jmmv@pkgsrc.org>2003-04-30 19:10:32 +0000
commitdc0a66a22bafc7f83069c0d1d2e81dd3f4081b59 (patch)
treec118783078fa54ec69fe92fe089b9c5a4cbc6640 /audio/wsoundserver
parent1a99a862f66d62b673b23804c2f3b40d90a011fc (diff)
downloadpkgsrc-dc0a66a22bafc7f83069c0d1d2e81dd3f4081b59.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2.
Diffstat (limited to 'audio/wsoundserver')
-rw-r--r--audio/wsoundserver/Makefile13
-rw-r--r--audio/wsoundserver/PLIST5
2 files changed, 13 insertions, 5 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile
index c8ce9707069..da1dc3e9a6a 100644
--- a/audio/wsoundserver/Makefile
+++ b/audio/wsoundserver/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2003/04/26 09:49:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2003/04/30 19:10:32 jmmv Exp $
#
DISTNAME= WSoundServer-0.4.0
PKGNAME= wsoundserver-0.4.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio wm windowmaker
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
@@ -16,8 +16,14 @@ USE_BUILDLINK2= YES
USE_X11BASE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
+USE_PKGINSTALL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} # not really needed
+PKG_SYSCONFSUBDIR= WindowMaker
+EGDIR= ${PREFIX}/share/examples/wsoundserver
+CONF_FILES= ${EGDIR}/WMSound ${PKG_SYSCONFDIR}/WMSound
+
post-patch:
@cd ${WRKSRC}/doc && for f in *; do \
${SED} "s/1x/1/g" $$f > $$f.tmp && ${MV} $$f.tmp $$f; \
@@ -31,7 +37,8 @@ post-patch:
${FILESDIR}/WMSound > ${WRKSRC}/WMSound
post-install:
- ${INSTALL_DATA} ${WRKSRC}/WMSound ${PREFIX}/etc/WindowMaker
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/WMSound ${EGDIR}
.include "../../audio/libaudiofile/buildlink2.mk"
.include "../../devel/libdockapp/buildlink2.mk"
diff --git a/audio/wsoundserver/PLIST b/audio/wsoundserver/PLIST
index cd6995fa626..8c9e2fe1c27 100644
--- a/audio/wsoundserver/PLIST
+++ b/audio/wsoundserver/PLIST
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:18:12 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/04/30 19:10:32 jmmv Exp $
bin/get-wsound-flags
bin/getsoundset
bin/setsoundset
bin/wsoundplay
bin/wsoundserver
-etc/WindowMaker/WMSound
include/wsound.h
lib/libwsound.a
lib/libwsound.la
@@ -16,3 +15,5 @@ man/man1/getsoundset.1
man/man1/setsoundset.1
man/man1/wsoundplay.1
man/man1/wsoundserver.1
+share/examples/wsoundserver/WMSound
+@dirrm share/examples/wsoundserver