aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libmusicbrainz3/Makefile')
-rw-r--r--audio/libmusicbrainz3/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/audio/libmusicbrainz3/Makefile b/audio/libmusicbrainz3/Makefile
index 4356a88455a2..dc20a40cb744 100644
--- a/audio/libmusicbrainz3/Makefile
+++ b/audio/libmusicbrainz3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libmusicbrainz3
PORTVERSION= 3.0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
http://uk.musicbrainz.org/pub/musicbrainz/ \
@@ -17,7 +17,8 @@ DISTNAME= ${PORTNAME:S/3//}-${PORTVERSION}
MAINTAINER= bsdkaffee@gmail.com
COMMENT= MusicBrainz client library for audio metadata lookup
-LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid
+LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
+ neon.27:${PORTSDIR}/www/neon29
USE_CMAKE= yes
USE_GNOME= pkgconfig
@@ -25,18 +26,8 @@ USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-.include <bsd.port.pre.mk>
-
-.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}
-
pre-configure:
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
-e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>