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:
parent
b90863c551
commit
58e964bb94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538371
@ -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>
|
||||
|
2324
audio/surge-synthesizer-lv2/pkg-plist
Normal file
2324
audio/surge-synthesizer-lv2/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user