aboutsummaryrefslogtreecommitdiff
path: root/audio/libmikmod
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-16 19:51:41 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-16 19:51:41 +0000
commit13cc890dfb55917a8465e8c7021b45524ca69284 (patch)
tree415f56fddf53289ee2c41866eed874e8710c9a91 /audio/libmikmod
parentf897259afcdbb7c7bce9888ceb11746bd8b58a83 (diff)
downloadports-13cc890dfb55917a8465e8c7021b45524ca69284.tar.gz
ports-13cc890dfb55917a8465e8c7021b45524ca69284.zip
Notes
Diffstat (limited to 'audio/libmikmod')
-rw-r--r--audio/libmikmod/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile
index 6f740b58ef14..a2d13a60fd8b 100644
--- a/audio/libmikmod/Makefile
+++ b/audio/libmikmod/Makefile
@@ -15,14 +15,22 @@ MASTER_SITE_SUBDIR= apps/sound/libs
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
-USE_ESOUND= yes
-USE_GMAKE= yes
+WANT_ESOUND= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
INSTALLS_SHLIB= yes
MAN1= libmikmod-config.1
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+CONFIGURE_ARGS+= --enable-esd
+.else
+CONFIGURE_ARGS+= --disable-esd
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/docs/mikmod.info-*
@@ -32,4 +40,4 @@ post-patch:
s|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \
s|-lc_r|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>