aboutsummaryrefslogtreecommitdiff
path: root/audio/libmusicbrainz5/Makefile
blob: 50d8e8b67fd1054181c3479f6b379456559f0615 (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
PORTNAME=	libmusicbrainz
DISTVERSIONPREFIX=	release-
DISTVERSION=	5.1.0-19
PORTREVISION=	2
DISTVERSIONSUFFIX=	-ge29cc9a
CATEGORIES=	audio
PKGNAMESUFFIX=	5

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

LICENSE=	LGPL21+
LICENSE_FILE=	${WRKSRC}/COPYING.txt

LIB_DEPENDS=	libneon.so:www/neon

USES=		cmake compiler:c++11-lang gnome 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>