aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz5
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2010-04-14 00:28:44 +0000
committerDima Panov <fluffy@FreeBSD.org>2010-04-14 00:28:44 +0000
commitfc174ba6d44ed2bad96b90d2c37978234afa3be5 (patch)
tree88a9840981a31ca4b61d0426d4405074b4837050 /audio/libmusicbrainz5
parentb9ec1236e6941ad034848bd2201c1b8565ee6915 (diff)
downloadports-fc174ba6d44ed2bad96b90d2c37978234afa3be5.tar.gz
ports-fc174ba6d44ed2bad96b90d2c37978234afa3be5.zip
Notes
Diffstat (limited to 'audio/libmusicbrainz5')
-rw-r--r--audio/libmusicbrainz5/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile
index 1e895d03b02a..4356a88455a2 100644
--- a/audio/libmusicbrainz5/Makefile
+++ b/audio/libmusicbrainz5/Makefile
@@ -19,14 +19,6 @@ COMMENT= MusicBrainz client library for audio metadata lookup
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
USE_LDCONFIG= yes
@@ -35,6 +27,14 @@ 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