aboutsummaryrefslogtreecommitdiff
path: root/audio/libmikmod/Makefile
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2014-03-08 07:42:51 +0000
committerThomas Zander <riggs@FreeBSD.org>2014-03-08 07:42:51 +0000
commit99d500db80ff7168b025e6ad24988e21da777461 (patch)
tree61e050eb04d4ef8420c40d828c11b0259370bd5a /audio/libmikmod/Makefile
parent3bf6745ab6c1685b5c18ff8363cd5fcbb4562cb8 (diff)
downloadports-99d500db80ff7168b025e6ad24988e21da777461.tar.gz
ports-99d500db80ff7168b025e6ad24988e21da777461.zip
Notes
Diffstat (limited to 'audio/libmikmod/Makefile')
-rw-r--r--audio/libmikmod/Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/audio/libmikmod/Makefile b/audio/libmikmod/Makefile
index d3f2a8b9ef3e..ea33004bb52d 100644
--- a/audio/libmikmod/Makefile
+++ b/audio/libmikmod/Makefile
@@ -2,23 +2,34 @@
# $FreeBSD$
PORTNAME= libmikmod
-PORTVERSION= 3.1.12
-PORTREVISION= 2
+PORTVERSION= 3.1.16
CATEGORIES= audio
-MASTER_SITES= SF/mikmod/libmikmod%20%28source%29/${PORTVERSION}/
+MASTER_SITES= SF/mikmod/${PORTNAME}/${PORTVERSION}/
MAINTAINER= neuroworker@gmail.com
COMMENT= MikMod Sound Library
+LICENSE= LGPL21
+
+USE_AUTOTOOLS= libtool
WANT_GNOME= yes
-USES= gmake libtool
+USE_GNOME= lthack
+USES= gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
-CONFIGURE_ARGS= --disable-esd
USE_LDCONFIG= yes
INFO= mikmod
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME+= esound
+CONFIGURE_ARGS+= --enable-esd
+.else
+CONFIGURE_ARGS+= --disable-esd
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/docs/mikmod.info-*
@@ -31,4 +42,4 @@ post-patch:
-e 's|-lc_r|${PTHREAD_LIBS:S/"//g}|g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>