mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
ebf29acc6c
PR: 270080
28 lines
582 B
Makefile
28 lines
582 B
Makefile
PORTNAME= amp
|
|
DISTVERSION= 0.6.2-27
|
|
DISTVERSIONSUFFIX= -g71df483
|
|
PORTREVISION= 1
|
|
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>
|