aboutsummaryrefslogtreecommitdiff
path: root/audio/libcoverart/Makefile
blob: 538371c4014e80b2be499d9957848d5bee79aa7f (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
# $FreeBSD$

PORTNAME=	libcoverart
PORTVERSION=	1.0.0
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	GHC

MAINTAINER=	jhale@FreeBSD.org
COMMENT=	Library for accessing the MusicBrainz cover art archive

LICENSE=	LGPL20

LIB_DEPENDS=	libjansson.so:devel/jansson \
		libneon.so:www/neon

USES=		cmake pathfix
USE_LDCONFIG=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	metabrainz

# {PROJECT_VERSION} is not a variable nor a typo, just part of the directory name
WRKSRC=		${WRKDIR}/${PORTNAME}-{PROJECT_VERSION}

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

.include <bsd.port.mk>