freebsd-ports/audio/libcoverart/Makefile
Jason E. Hale 04e708dc76 Libcoverart is a client library for accessing the MusicBrainz cover
art archive.

WWW: http://coverartarchive.org/

Approved by:	makc (mentor)
Feature safe:	yes
2012-10-18 12:40:02 +00:00

30 lines
745 B
Makefile

# $FreeBSD$
PORTNAME= libcoverart
PORTVERSION= 1.0.0
CATEGORIES= audio
MASTER_SITES= https://cloud.github.com/downloads/metabrainz/${PORTNAME}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Library for accessing the MusicBrainz cover art archive
LICENSE= LGPL20
LIB_DEPENDS= jansson:${PORTSDIR}/devel/jansson \
neon:${PORTSDIR}/www/neon29
USE_CMAKE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
# {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 '/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>