aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz3
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2010-04-12 23:01:44 +0000
committerDima Panov <fluffy@FreeBSD.org>2010-04-12 23:01:44 +0000
commit8d496c81f8b46a2dc89fd555484d70b33021d43a (patch)
tree769e88ba7ae8f2a8fdc776aa638142b6790ef1f3 /audio/libmusicbrainz3
parent9d20d70fc99e85b937368f567c9f5deba567d4b3 (diff)
downloadports-8d496c81f8b46a2dc89fd555484d70b33021d43a.tar.gz
ports-8d496c81f8b46a2dc89fd555484d70b33021d43a.zip
Notes
Diffstat (limited to 'audio/libmusicbrainz3')
-rw-r--r--audio/libmusicbrainz3/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/libmusicbrainz3/Makefile b/audio/libmusicbrainz3/Makefile
index 0821ba484f8f..1e895d03b02a 100644
--- a/audio/libmusicbrainz3/Makefile
+++ b/audio/libmusicbrainz3/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