aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz5/Makefile
blob: 789f901d3e21c262cf57f7aa0b005e1d2c8e06f0 (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=	1
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 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>