1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/audio/poly-lv2/Makefile
Mark Linimon 03d9c411b6 audio/poly-lv2: add compiler:c11 to USES to fix build on GCC-based systems
chorus.cpp:203: error: 'nullptr' was not declared in this scope
2021-04-11 11:00:15 +00:00

44 lines
1022 B
Makefile

PORTNAME= poly
DISTVERSION= g20210408
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of LV2 plugins designed for modular/eurorack style use
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2 \
${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs
USES= compiler:c11 gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= polyeffects
GH_PROJECT= PolyLV2
GH_TAGNAME= a363599
do-build:
@cd ${WRKSRC} && for d in $$(ls); do \
if [ -d $${d} ]; then \
echo "==> Building for sub-directory $${d}" && ( \
cd $${d} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} \
) \
fi \
done
do-install:
@cd ${WRKSRC} && for d in $$(ls); do \
if [ -d $${d} ]; then \
echo "==> Staging for sub-directory $${d}" && ( \
cd $${d} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET} \
) \
fi \
done
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/basic_modular.lv2/maths.so
.include <bsd.port.mk>