aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz4/Makefile
diff options
context:
space:
mode:
authorfluffy <fluffy@FreeBSD.org>2010-04-13 07:01:44 +0800
committerfluffy <fluffy@FreeBSD.org>2010-04-13 07:01:44 +0800
commite3e4fb26178d2c016767e989ade6dd633be37e47 (patch)
treecd16eb659ce0808fecbb28f51fe1bf214e502541 /audio/libmusicbrainz4/Makefile
parent9efc0935f76a392467af0f592f3f410672371bfd (diff)
downloadfreebsd-ports-gnome-e3e4fb26178d2c016767e989ade6dd633be37e47.tar.gz
freebsd-ports-gnome-e3e4fb26178d2c016767e989ade6dd633be37e47.tar.zst
freebsd-ports-gnome-e3e4fb26178d2c016767e989ade6dd633be37e47.zip
- Update audio/libmusicbrainz3 to compile with www/neon29
PR: 145201 Submitted by: loader <loader@freebsdmall.com Approved by: Jason E. Hale (maintainer, with minor changes)
Diffstat (limited to 'audio/libmusicbrainz4/Makefile')
-rw-r--r--audio/libmusicbrainz4/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile
index 0821ba484f8f..1e895d03b02a 100644
--- a/audio/libmusicbrainz4/Makefile
+++ b/audio/libmusicbrainz4/Makefile
@@ -7,18 +7,25 @@
PORTNAME= libmusicbrainz3
PORTVERSION= 3.0.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
- http://uk.musicbrainz.org/pub/musicbrainz/ \
+ http://uk.musicbrainz.org/pub/musicbrainz/ \
http://ftp.osuosl.org/pub/musicbrainz/
DISTNAME= ${PORTNAME:S/3//}-${PORTVERSION}
MAINTAINER= bsdkaffee@gmail.com
COMMENT= MusicBrainz client library for audio metadata lookup
-LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
- neon.28:${PORTSDIR}/www/neon28
+LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid
+
+.if exists(${LOCALBASE}/bin/neon-config)
+NEON_VER!= ${LOCALBASE}/bin/neon-config --version | \
+ ${SED} -n -E 's/^neon [0-9]+\.([0-9]+)\..*$$/\1/p'
+.else
+NEON_VER= 29
+.endif
+LIB_DEPENDS+= neon.${NEON_VER}:${PORTSDIR}/www/neon${NEON_VER}
USE_CMAKE= yes
USE_GNOME= pkgconfig