freebsd-ports/audio/libcoverart/Makefile
Mathieu Arnold a8ed171245 Convert most ports using cloud.github.com to GHC.
Convert a couple to github, and use some options helpers on the way.

Sponsored by:	Absolight
2015-09-04 16:02:16 +00:00

31 lines
732 B
Makefile

# $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:${PORTSDIR}/devel/jansson \
libneon.so:${PORTSDIR}/www/neon
USES= cmake
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 '/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>