1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

audio/surge-synthesizer-lv2: Fix resource path; Install resources

This commit is contained in:
Yuri Victorovich 2020-06-10 05:53:35 +00:00
parent b90863c551
commit 58e964bb94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538371
2 changed files with 2330 additions and 6 deletions

View File

@ -4,6 +4,7 @@ PORTNAME= surge-synthesizer
DISTVERSIONPREFIX= release_
DISTVERSION= 1.6.6-58
DISTVERSIONSUFFIX= -g3dbd1be
PORTREVISION= 1
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
@ -37,14 +38,11 @@ GH_TUPLE= \
BINARY_ALIAS= python=${PYTHON_CMD}
PLIST_FILES= lib/lv2/Surge.lv2/Surge.so \
lib/lv2/Surge.lv2/Surge_dsp.ttl \
lib/lv2/Surge.lv2/Surge_ui.ttl \
lib/lv2/Surge.lv2/manifest.ttl \
lib/vst/Surge.so
PORTSCOUT= limit:^\d+\. # prevent alpha-numeric strings
post-patch:
@${REINPLACE_CMD} -e 's|"/usr/share/Surge/"|"${DATADIR}/"|' ${WRKSRC}/src/common/SurgeStorage.cpp
do-install:
# LV2 plugin
${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2
@ -53,5 +51,7 @@ do-install:
# VST plugin
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst
${INSTALL_LIB} ${WRKSRC}/products/Surge.vst3/Contents/*/Surge.so ${STAGEDIR}${PREFIX}/lib/vst
# data
cd ${WRKSRC}/resources/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff