aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wsoundserver/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 13:19:38 +0800
committerreg <reg@FreeBSD.org>2000-10-05 13:19:38 +0800
commitbeba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d (patch)
tree1e786433e645b4de5a179c0f51f422bc7b2c9d97 /audio/wsoundserver/Makefile
parent64f41b5a83d18d5fbac5a1c3ea69760b9a826dd7 (diff)
downloadfreebsd-ports-gnome-beba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d.tar.gz
freebsd-ports-gnome-beba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d.tar.zst
freebsd-ports-gnome-beba42d8732df07a6d0dcd3ff5ab1cd916bd8b6d.zip
Implement WANT_ESOUND, USE_ESOUND.
Diffstat (limited to 'audio/wsoundserver/Makefile')
-rw-r--r--audio/wsoundserver/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile
index 0bfa0f1ee90d..33abdf8fd177 100644
--- a/audio/wsoundserver/Makefile
+++ b/audio/wsoundserver/Makefile
@@ -16,21 +16,14 @@ MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \
audiofile.0:${PORTSDIR}/audio/libaudiofile \
- dockapp.1:${PORTSDIR}/x11-wm/libdockapp \
- ${ESD_DEPENDS}
+ dockapp.1:${PORTSDIR}/x11-wm/libdockapp
RUN_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
USE_X_PREFIX= yes
+WANT_ESOUND= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-.if defined(WITH_ESD)
-ESD_DEPENDS= esd.2:${PORTSDIR}/audio/esound
-CONFIGURE_ARGS+=--enable-esd
-.else
-ESD_DEPENDS=
-.endif
-
MAN1= get-wsound-flags.1x getsoundset.1x setsoundset.1x \
wsoundplay.1x wsoundserver.1x
@@ -40,4 +33,11 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/WMSound \
${PREFIX}/etc/WindowMaker/WMSound
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+CONFIGURE_ARGS+=--enable-esd
+.endif
+
+.include <bsd.port.post.mk>