707c6bf295
Ports that build out of source now simply can use "USES=cmake" instead of "USES=cmake:outsource". Ports that fail to build out of source now need to specify "USES=cmake:insource". I tried to only set insource where explictely needed. PR: 232038 Exp-run by: antoine
33 lines
764 B
Makefile
33 lines
764 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libcoverart
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://github.com/metabrainz/${PORTNAME}/releases/download/release-${PORTVERSION}/
|
|
|
|
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= compiler:c11 cmake:insource pathfix
|
|
USE_CSTD= c99
|
|
USE_CXXSTD= c++98
|
|
USE_LDCONFIG= yes
|
|
|
|
CXXFLAGS+= -Wno-implicit-fallthrough
|
|
|
|
.if exists(/usr/lib/libstdc++.so)
|
|
CXXFLAGS+= -Wno-unused-function -Wno-class-memaccess -Wno-catch-value
|
|
CFLAGS+= -Wno-format-overflow
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
${WRKSRC}/cmake/modules/*.cmake
|
|
|
|
.include <bsd.port.mk>
|