freebsd-ports/audio/sc3-plugins/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

39 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= sc3-plugins
DISTVERSIONPREFIX= Version-
DISTVERSION= 3.9.0
PORTREVISION= 8
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Extension plugins for the SuperCollider3 audio synthesis server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
BUILD_DEPENDS= ${LOCALBASE}/include/SuperCollider/SCVersion.txt:audio/supercollider \
${LOCALBASE}/include/boost/intrusive/unordered_set.hpp:devel/boost-libs \
${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libstk.so:audio/stk
OPTIONS_DEFINE= SUPERNOVA
OPTIONS_DEFAULT= SUPERNOVA
SUPERNOVA_DESC= Build plugins for supernova
OPTIONS_SUB= yes
USES= compiler:c++11-lang cmake localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= supercollider
GH_TUPLE= timblechmann:nova-simd:3140689:n/external_libraries/nova-simd
CMAKE_ARGS+= -DSYSTEM_STK:BOOL=ON
CMAKE_ARGS+= -DSC_PATH:STRING=${LOCALBASE}/include/SuperCollider/ # see https://github.com/supercollider/sc3-plugins/issues/170
SUPERNOVA_CMAKE_BOOL= SUPERNOVA
post-patch:
@${REINPLACE_CMD} -e ' \
s|/usr/local|${PREFIX}|' \
${WRKSRC}/cmake_modules/*.cmake
.include <bsd.port.mk>