aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-21 00:51:27 +0800
committermiwi <miwi@FreeBSD.org>2008-06-21 00:51:27 +0800
commit3a71f03a74fe29f1dcd8c127fcf31a850843736c (patch)
tree9c24a77d92bce917ea5ffe4291995365d355d8af /audio
parent333418930820c6951217fa07595b1814b1c8093f (diff)
downloadfreebsd-ports-graphics-3a71f03a74fe29f1dcd8c127fcf31a850843736c.tar.gz
freebsd-ports-graphics-3a71f03a74fe29f1dcd8c127fcf31a850843736c.tar.zst
freebsd-ports-graphics-3a71f03a74fe29f1dcd8c127fcf31a850843736c.zip
- Convert to cmake framework
PR: 124327 Submitted by: Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r--audio/libmusicbrainz3/Makefile16
-rw-r--r--audio/libmusicbrainz4/Makefile16
-rw-r--r--audio/libmusicbrainz5/Makefile16
3 files changed, 9 insertions, 39 deletions
diff --git a/audio/libmusicbrainz3/Makefile b/audio/libmusicbrainz3/Makefile
index 02d56650ab8..24676f7d7d5 100644
--- a/audio/libmusicbrainz3/Makefile
+++ b/audio/libmusicbrainz3/Makefile
@@ -10,22 +10,17 @@ PORTVERSION= 3.0.1
PORTREVISION= 2
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
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
neon.26:${PORTSDIR}/www/neon26
-CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
- -DCMAKE_C_COMPILER:STRING='${CC}' \
- -DCMAKE_CXX_COMPILER:STRING=${CXX} \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_INSTALL_PREFIX=${PREFIX}
-
+USE_CMAKE= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
@@ -33,12 +28,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
pre-configure:
- ${MKDIR} ${WRKSRC}
${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}\/pkgconfig|libdata\/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
-do-configure:
- @(cd ${WRKSRC}; \
- ${LOCALBASE}/bin/cmake ${CMAKE_ARGS})
-
.include <bsd.port.post.mk>
diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile
index 02d56650ab8..24676f7d7d5 100644
--- a/audio/libmusicbrainz4/Makefile
+++ b/audio/libmusicbrainz4/Makefile
@@ -10,22 +10,17 @@ PORTVERSION= 3.0.1
PORTREVISION= 2
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
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
neon.26:${PORTSDIR}/www/neon26
-CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
- -DCMAKE_C_COMPILER:STRING='${CC}' \
- -DCMAKE_CXX_COMPILER:STRING=${CXX} \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_INSTALL_PREFIX=${PREFIX}
-
+USE_CMAKE= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
@@ -33,12 +28,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
pre-configure:
- ${MKDIR} ${WRKSRC}
${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}\/pkgconfig|libdata\/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
-do-configure:
- @(cd ${WRKSRC}; \
- ${LOCALBASE}/bin/cmake ${CMAKE_ARGS})
-
.include <bsd.port.post.mk>
diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile
index 02d56650ab8..24676f7d7d5 100644
--- a/audio/libmusicbrainz5/Makefile
+++ b/audio/libmusicbrainz5/Makefile
@@ -10,22 +10,17 @@ PORTVERSION= 3.0.1
PORTREVISION= 2
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
-BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
neon.26:${PORTSDIR}/www/neon26
-CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
- -DCMAKE_C_COMPILER:STRING='${CC}' \
- -DCMAKE_CXX_COMPILER:STRING=${CXX} \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_INSTALL_PREFIX=${PREFIX}
-
+USE_CMAKE= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
@@ -33,12 +28,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
pre-configure:
- ${MKDIR} ${WRKSRC}
${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}\/pkgconfig|libdata\/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
-do-configure:
- @(cd ${WRKSRC}; \
- ${LOCALBASE}/bin/cmake ${CMAKE_ARGS})
-
.include <bsd.port.post.mk>