1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Convert to cmake framework

PR:		124327
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2008-06-20 16:51:27 +00:00
parent 60684e64d5
commit 9a2d9a2a1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215370
3 changed files with 9 additions and 39 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>