2007-06-10 12:24:52 +02:00
|
|
|
# New ports collection makefile for: libmusicbrainz3
|
|
|
|
# Date Created: 2007-05-17
|
|
|
|
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
|
2000-10-28 09:30:46 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2007-06-10 12:24:52 +02:00
|
|
|
PORTNAME= libmusicbrainz3
|
2008-10-19 17:48:16 +02:00
|
|
|
PORTVERSION= 3.0.2
|
2010-04-13 01:01:44 +02:00
|
|
|
PORTREVISION= 3
|
2000-10-28 09:30:46 +02:00
|
|
|
CATEGORIES= audio
|
2006-01-27 10:42:29 +01:00
|
|
|
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
|
2010-04-13 01:01:44 +02:00
|
|
|
http://uk.musicbrainz.org/pub/musicbrainz/ \
|
2008-06-20 18:51:27 +02:00
|
|
|
http://ftp.osuosl.org/pub/musicbrainz/
|
2007-06-10 12:24:52 +02:00
|
|
|
DISTNAME= ${PORTNAME:S/3//}-${PORTVERSION}
|
2000-10-28 09:30:46 +02:00
|
|
|
|
2006-01-27 10:42:29 +01:00
|
|
|
MAINTAINER= bsdkaffee@gmail.com
|
2007-06-10 12:24:52 +02:00
|
|
|
COMMENT= MusicBrainz client library for audio metadata lookup
|
2000-10-28 09:30:46 +02:00
|
|
|
|
2010-04-13 01:01:44 +02:00
|
|
|
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid
|
|
|
|
|
2008-06-20 18:51:27 +02:00
|
|
|
USE_CMAKE= yes
|
2007-06-10 12:24:52 +02:00
|
|
|
USE_GNOME= pkgconfig
|
2007-06-06 07:59:19 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-10-28 09:30:46 +02:00
|
|
|
|
2009-05-31 12:30:50 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2007-06-10 12:24:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2000-10-28 09:30:46 +02:00
|
|
|
|
2010-04-14 02:28:44 +02:00
|
|
|
.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}
|
|
|
|
|
2007-06-10 12:24:52 +02:00
|
|
|
pre-configure:
|
2009-05-31 12:30:50 +02:00
|
|
|
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
|
|
|
|
-e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt
|
2007-06-10 12:24:52 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|