1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/libmusicbrainz5/Makefile
Dima Panov fc174ba6d4 - [MAINTAINER][UNBREAK] audio/libmusicbrainz3: Fails to build with neon28
PR:		145684
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
2010-04-14 00:28:44 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: libmusicbrainz3
# Date Created: 2007-05-17
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libmusicbrainz3
PORTVERSION= 3.0.2
PORTREVISION= 3
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
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid
USE_CMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
.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}
pre-configure:
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
-e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.post.mk>