aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz4/Makefile
blob: 8ca7497369dab99982d0339f13c7470d0f1499b9 (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
29
30
31
32
33
34
35
36
# New ports collection makefile for:    libmusicbrainz3
# Date Created:             2007-05-17
# Whom:                 Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   libmusicbrainz3
PORTVERSION=    3.0.3
PORTREVISION=   1
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.27:${PORTSDIR}/www/neon29

USE_CMAKE=  yes
USE_GNOME=  pkgconfig
USE_LDCONFIG=   yes

MAKE_JOBS_SAFE= yes

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING.txt

post-patch:
    ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
        -e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>