blob: 4cbe3de90e6d6a220cfee69db2fb58d1d2db7093 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= lapce
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.8 # remove openssl-src-* from CARGO-CRATES each update
PORTREVISION= 2
CATEGORIES= editors
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Lightning-fast and Powerful Code Editor
WWW= https://lapce.dev/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON_i386= doesn't build: [zstd-sys 2.0.1+zstd.1.5.2] AR_i686_unknown_freebsd = None
BUILD_DEPENDS= p5-Cairo-GObject>0:devel/p5-Cairo-GObject \
p5-FindBin-libs>0:devel/p5-FindBin-libs
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libgit2.so:devel/libgit2 \
libssh2.so:security/libssh2
USES= cargo gmake gnome localbase:ldflags perl5 pkgconfig ssl
USE_GITHUB= yes
USE_GNOME= atk gdkpixbuf2 gtk30 pango
PLIST_FILES= bin/lapce \
bin/lapce-proxy
#patch druid manually since it's not yet patched upstream
post-patch:
@${FIND} ${WRKSRC}/../druid-0b9c00fcda238e392e758382f25166cd748fd305 \
-name "*.toml" -o -name "*.rs" | ${XARGS} ${REINPLACE_CMD} -i '' -e 's|openbsd|freebsd|g'
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lapce
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lapce-proxy
.include <bsd.port.mk>
|