Changeset View
Changeset View
Standalone View
Standalone View
audio/sc3-plugins/Makefile
Show All 17 Lines | |||||
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ | LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ | ||||
libstk.so:audio/stk | libstk.so:audio/stk | ||||
OPTIONS_DEFINE= SUPERNOVA | OPTIONS_DEFINE= SUPERNOVA | ||||
OPTIONS_DEFAULT= SUPERNOVA | OPTIONS_DEFAULT= SUPERNOVA | ||||
SUPERNOVA_DESC= Build plugins for supernova | SUPERNOVA_DESC= Build plugins for supernova | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
USES= cmake:outsource localbase pkgconfig | USES= cmake localbase pkgconfig | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= supercollider | GH_ACCOUNT= supercollider | ||||
GH_TUPLE= timblechmann:nova-simd:3140689:n/external_libraries/nova-simd | GH_TUPLE= timblechmann:nova-simd:3140689:n/external_libraries/nova-simd | ||||
CMAKE_ARGS+= -DSYSTEM_STK:BOOL=ON | CMAKE_ARGS+= -DSYSTEM_STK:BOOL=ON | ||||
CMAKE_ARGS+= -DSC_PATH:STRING=${LOCALBASE}/include/SuperCollider/ # see https://github.com/supercollider/sc3-plugins/issues/170 | CMAKE_ARGS+= -DSC_PATH:STRING=${LOCALBASE}/include/SuperCollider/ # see https://github.com/supercollider/sc3-plugins/issues/170 | ||||
SUPERNOVA_CMAKE_BOOL= SUPERNOVA | SUPERNOVA_CMAKE_BOOL= SUPERNOVA | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e ' \ | @${REINPLACE_CMD} -e ' \ | ||||
s|/usr/local|${PREFIX}|' \ | s|/usr/local|${PREFIX}|' \ | ||||
${WRKSRC}/cmake_modules/*.cmake | ${WRKSRC}/cmake_modules/*.cmake | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |