mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
275c65d7c3
- Bump dependent ports as .so version has changed Approved by: portmgr blanket
30 lines
750 B
Makefile
30 lines
750 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libcoverart
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 3
|
|
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= libjansson.so:${PORTSDIR}/devel/jansson \
|
|
libneon.so:${PORTSDIR}/www/neon29
|
|
|
|
USES= cmake
|
|
USE_LDCONFIG= 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>
|