blob: 60932b44e1fef6c6e392d669a86cda5b11136c79 (
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
PORTREVISION= 3
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>
|