aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz4/Makefile
blob: 9c8a794d0c8a5bd6f043037b20de273c58d78471 (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
# New ports collection makefile for:    libmusicbrainz4
# Date Created:             2007-05-17
# Whom:                 Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   libmusicbrainz
PORTVERSION=    4.0.3
CATEGORIES= audio
MASTER_SITES=   https://cloud.github.com/downloads/metabrainz/${PORTNAME}/

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

LICENSE=    LGPL21

LIB_DEPENDS=    neon:${PORTSDIR}/www/neon29

LATEST_LINK=    ${PORTNAME}4

USES=       cmake
USE_LDCONFIG=   yes


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

.include <bsd.port.mk>