diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2012-07-27 13:29:39 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2012-07-27 13:29:39 +0000 |
commit | dd6f20aa019c488fb8524147db99eef97b521ed1 (patch) | |
tree | 278e4a2331c917c6f99c450e69103b27f11ffacd /audio/libmusicbrainz5/Makefile | |
parent | 9492962850628ea64b1d9412c11407afbca9e0fe (diff) |
- Update to 5.0.1 after repocopy from audio/libmusicbrainz4
- 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/169572
Submitted by: Jason E. Hale (maintainer)
Approved by: maintainer via irc [1]
Notes
Notes:
svn path=/head/; revision=301616
Diffstat (limited to 'audio/libmusicbrainz5/Makefile')
-rw-r--r-- | audio/libmusicbrainz5/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile index a153d6133940..a07baf2fb2e5 100644 --- a/audio/libmusicbrainz5/Makefile +++ b/audio/libmusicbrainz5/Makefile @@ -1,15 +1,14 @@ -# New ports collection makefile for: libmusicbrainz4 -# Date Created: 2007-05-17 +# New ports collection makefile for: libmusicbrainz5 +# Date Created: 2012-07-01 # Whom: Jason E. Hale <bsdkaffee@gmail.com> # # $FreeBSD$ # -PORTNAME= libmusicbrainz4 -PORTVERSION= 4.0.3 +PORTNAME= libmusicbrainz +PORTVERSION= 5.0.1 CATEGORIES= audio -MASTER_SITES= https://cloud.github.com/downloads/metabrainz/${PORTNAME:S/4//}/ -DISTNAME= ${PORTNAME:S/4//}-${PORTVERSION} +MASTER_SITES= https://cloud.github.com/downloads/metabrainz/${PORTNAME}/ MAINTAINER= bsdkaffee@gmail.com COMMENT= MusicBrainz client library for audio metadata lookup @@ -18,8 +17,9 @@ LICENSE= LGPL21 LIB_DEPENDS= neon:${PORTSDIR}/www/neon29 +LATEST_LINK= ${PORTNAME}5 + USE_CMAKE= yes -USE_GNOME= pkgconfig USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes @@ -27,5 +27,7 @@ MAKE_JOBS_SAFE= yes post-patch: ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ ${WRKSRC}/CMakeLists.txt + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/cmake/modules/*.cmake .include <bsd.port.mk> |