1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/audio/stk/Makefile
Yuri Victorovich 612a32c77d audio/stk: Update 5.0.0 → 5.0.1
Reported by:	portscout
2023-08-11 01:11:16 -07:00

44 lines
1.1 KiB
Makefile

PORTNAME= stk
DISTVERSION= 5.0.1
CATEGORIES= audio
MASTER_SITES= http://ccrma.stanford.edu/software/stk/release/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Synthesis ToolKit in C++
WWW= https://ccrma.stanford.edu/software/stk
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++11-lang dos2unix gmake localbase pkgconfig
USE_LDCONFIG= yes
DOS2UNIX_GLOB= *.cpp *.h
GNU_CONFIGURE= yes
MAKE_ARGS= RAWWAVES=${DATADIR}/rawwaves/
LDFLAGS+= -pthread
OPTIONS_RADIO= BACKEND
OPTIONS_RADIO_BACKEND= JACK OSS
OPTIONS_DEFAULT= JACK
BACKEND_DESC= Audio Backend
JACK_CONFIGURE_WITH= jack
JACK_LIB_DEPENDS= libjack.so:audio/jack
OSS_CONFIGURE_WITH= oss
# OSS option appears to make real-time functionality in STK broken
# (example https://www.music.mcgill.ca/~gary/618/week2/node16.html),
# also see https://github.com/thestk/stk/issues/141#issuecomment-1673488078
post-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} rawwaves ${STAGEDIR}${DATADIR}
@${RM} ${STAGEDIR}${DATADIR}/rawwaves/._* ${STAGEDIR}${DATADIR}/rawwaves/*.c
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libstk-5.0.0.so
.include <bsd.port.mk>