diff --git a/editors/amp/Makefile b/editors/amp/Makefile index ca346b681b9f..6f4ccd80b6f4 100644 --- a/editors/amp/Makefile +++ b/editors/amp/Makefile @@ -1,22 +1,25 @@ PORTNAME= amp DISTVERSION= 0.7.1 +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 -BUILD_DEPENDS= git>0:devel/git LIB_DEPENDS= libgit2.so:devel/libgit2 \ libonig.so:devel/oniguruma USES= cargo USE_GITHUB= yes GH_ACCOUNT= jmacdonald +_GIT_HEAD= dae913c +CARGO_ENV= BUILD_REVISION=${_GIT_HEAD} + PLIST_FILES= bin/${PORTNAME} .include