aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libmusicbrainz4/Makefile')
-rw-r--r--audio/libmusicbrainz4/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile
index 7a44c311f3cb..3c3772c97f74 100644
--- a/audio/libmusicbrainz4/Makefile
+++ b/audio/libmusicbrainz4/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= musicbrainz
-PORTVERSION= 1.0.0.pre5
+PORTVERSION= 1.0.0.pre6
CATEGORIES= audio
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/
-DISTNAME= ${PORTNAME}-1.0.0pre5
+DISTNAME= ${PORTNAME}-1.0.0pre6
MAINTAINER= roman@xpert.com
@@ -18,6 +18,17 @@ INSTALLS_SHLIB= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
+
+pre-extract:
+.if !defined(WITHOUT_VORBIS)
+ @${ECHO}
+ @${ECHO} "You can disable Vorbis support by defining WITHOUT_VORBIS"
+ @${ECHO}
+LIB_DEPENDS+= vorbis.0:${PORTSDIR}/audio/libvorbis
+HAVE_VORBIS= yes
+.endif
+
post-extract:
${TOUCH} ${WRKSRC}/stamp-h.in