aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz5/Makefile
blob: ce40f00af6ce18f06707bbad9f283feea287b320 (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
# $FreeBSD$

PORTNAME=   libmusicbrainz
PORTVERSION=    5.1.0
PORTREVISION=   2
DISTVERSIONPREFIX=  release-
CATEGORIES= audio
PKGNAMESUFFIX=  5

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

LICENSE=    LGPL21

LIB_DEPENDS=    libneon.so:www/neon

USES=       cmake compiler:c++11-lang iconv:build pathfix
USE_GNOME=  libxml2
USE_LDCONFIG=   yes

USE_GITHUB= yes
GH_ACCOUNT= metabrainz

post-patch:
    ${REINPLACE_CMD} -e 's|%%ICONV_PREFIX%%|${ICONV_PREFIX}|g' \
         ${WRKSRC}/src/CMakeLists.txt
    ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
         ${WRKSRC}/cmake/modules/*.cmake
    ${RM} ${WRKSRC}/cmake/modules/FindLibXml2.cmake

.include <bsd.port.mk>