526d39bb84
they use an obsolete module that doesn't seem to work anymore. As a result, the scripts fall back on the hard-coded paths. I have reworked the scripts so they don't use pkg-config or hard-coded paths and fixed build with custom PREFIX/LOCALBASE [1] - mark MAKE_JOB_SAFE Submitted by: maintainer Reported by: QATty [1]
35 lines
859 B
Makefile
35 lines
859 B
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= 2
|
|
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 \
|
|
neon.28:${PORTSDIR}/www/neon28
|
|
|
|
USE_CMAKE= yes
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
|
|
-e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.post.mk>
|