summaryrefslogtreecommitdiff
path: root/editors/lapce/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lapce/Makefile')
-rw-r--r--editors/lapce/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/editors/lapce/Makefile b/editors/lapce/Makefile
index 92fda6499227..9e5aa15b4438 100644
--- a/editors/lapce/Makefile
+++ b/editors/lapce/Makefile
@@ -1,6 +1,6 @@
PORTNAME= lapce
DISTVERSIONPREFIX= v
-DISTVERSION= 0.4.4 # Cargo.lock patched: `make patch cargo-crates`
+DISTVERSION= 0.4.5 # Cargo.lock patched: `make patch cargo-crates`
PORTREVISION= 1
CATEGORIES= editors
@@ -16,7 +16,8 @@ NOT_FOR_ARCHS_REASON_i386= doesn't build: [zstd-sys 2.0.1+zstd.1.5.2] AR_i686_un
LIB_DEPENDS= libssh2.so:security/libssh2 \
libgit2.so:devel/libgit2
-RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal
+RUN_DEPENDS= tree-sitter-grammars>0:textproc/tree-sitter-grammars \
+ xdg-desktop-portal>0:deskutils/xdg-desktop-portal
USES= cargo desktop-file-utils dos2unix gmake localbase:ldflags perl5 pkgconfig ssl xorg
USE_GITHUB= yes
@@ -44,5 +45,7 @@ post-install:
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cargo-crates/fontdb-0.16.2/src/lib.rs
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cargo-crates/fontdb-0.23.0/src/lib.rs
+ @${REINPLACE_CMD} -e 's|%%DATADIR%%|${PREFIX}/share|g' ${WRKSRC}/lapce-core/src/directory.rs
.include <bsd.port.mk>