aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz3
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2012-07-27 21:28:20 +0800
committermakc <makc@FreeBSD.org>2012-07-27 21:28:20 +0800
commitd75da2609ef6faa17ad73e666a06994a71fb2ae9 (patch)
treebce124ef5909aa09913ecfbbdadb6623537ce26c /audio/libmusicbrainz3
parentb108770a8dfe025a6418e3fa45574be0d9faa39b (diff)
downloadfreebsd-ports-gnome-d75da2609ef6faa17ad73e666a06994a71fb2ae9.tar.gz
freebsd-ports-gnome-d75da2609ef6faa17ad73e666a06994a71fb2ae9.tar.zst
freebsd-ports-gnome-d75da2609ef6faa17ad73e666a06994a71fb2ae9.zip
- Use LATEST_LINK instead of defining the version in PORTNAME
- Fix LICENSE - it's LGPL21 not GPLv2 - Remove shlib version from LIB_DEPENDS - while I'm here, respect LOCALBASE and thus remove needless dependency on pkg-config. pkg-config is often used by cmake as auxiliary tool to populate search paths. Until stuff is located at standard location, there is no need for pkg-config utility. [1] PR: ports/169573 Submitted by: Jason E. Hale (maintainer) Approved by: maintainer via irc [1]
Diffstat (limited to 'audio/libmusicbrainz3')
-rw-r--r--audio/libmusicbrainz3/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/libmusicbrainz3/Makefile b/audio/libmusicbrainz3/Makefile
index 8ca7497369da..c18b8c961cd9 100644
--- a/audio/libmusicbrainz3/Makefile
+++ b/audio/libmusicbrainz3/Makefile
@@ -5,32 +5,33 @@
# $FreeBSD$
#
-PORTNAME= libmusicbrainz3
+PORTNAME= libmusicbrainz
PORTVERSION= 3.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.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
+LICENSE= LGPL21
+
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
- neon.27:${PORTSDIR}/www/neon29
+ neon:${PORTSDIR}/www/neon29
+
+LATEST_LINK= ${PORTNAME}3
USE_CMAKE= yes
-USE_GNOME= pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING.txt
-
post-patch:
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
-e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/cmake/modules/*.cmake
.include <bsd.port.mk>