aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz3/Makefile
blob: 32d22cbc8827c60192caf48f7a4ca059075d5eab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $FreeBSD$

PORTNAME=   libmusicbrainz
PORTVERSION=    3.0.3
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
        http://ftp.osuosl.org/pub/musicbrainz/
PKGNAMESUFFIX=  3

MAINTAINER= jhale@FreeBSD.org
COMMENT=    MusicBrainz client library for audio metadata lookup

LICENSE=    LGPL21

LIB_DEPENDS=    libdiscid.so:${PORTSDIR}/audio/libdiscid \
        libneon.so:${PORTSDIR}/www/neon29

USES=       cmake
USE_LDCONFIG=   yes

post-patch:
    ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
        -e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt
    ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
         ${WRKSRC}/cmake/modules/*.cmake

.include <bsd.port.mk>