blob: af7c5c933d9e15998f3b8b3595a112e3efcf5c77 (
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
|
PORTNAME= amp
DISTVERSION= 0.6.2-27
DISTVERSIONSUFFIX= -g71df483
CATEGORIES= editors
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Complete text editor for your terminal
WWW= https://amp.rs/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo localbase:ldflags python:build xorg
USE_GITHUB= yes
GH_ACCOUNT= jmacdonald
USE_XORG= xcb
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} 's|python3|python${PYTHON_VER}|' ${WRKSRC}/cargo-crates/xcb-0.8.2/build.rs
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|