summaryrefslogtreecommitdiff
path: root/audio/wsoundserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/wsoundserver/Makefile')
-rw-r--r--audio/wsoundserver/Makefile13
1 files changed, 10 insertions, 3 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"