aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-02-09 20:33:06 +0800
committerkoobs <koobs@FreeBSD.org>2014-02-09 20:33:06 +0800
commit3417d2d625b3bb00a13474df52f3733f6c149a75 (patch)
tree66a29fc3ac6e08c0920624bdab7eb501d294a20e
parent41bf1c8f4c276c1e484aa67d2850531dd2e3f684 (diff)
downloadfreebsd-ports-gnome-3417d2d625b3bb00a13474df52f3733f6c149a75.tar.gz
freebsd-ports-gnome-3417d2d625b3bb00a13474df52f3733f6c149a75.tar.zst
freebsd-ports-gnome-3417d2d625b3bb00a13474df52f3733f6c149a75.zip
devel/rebar: Modernise: STAGE, USE_GITHUB
- Enable STAGE support - Use USE_GITHUB and GH_* friends - Remove indefinite article from COMMENT
-rw-r--r--devel/rebar/Makefile14
-rw-r--r--devel/rebar/distinfo4
2 files changed, 9 insertions, 9 deletions
diff --git a/devel/rebar/Makefile b/devel/rebar/Makefile
index 8ed11d444f8e..934158b04344 100644
--- a/devel/rebar/Makefile
+++ b/devel/rebar/Makefile
@@ -4,23 +4,23 @@
PORTNAME= rebar
PORTVERSION= 2.0.0
CATEGORIES= devel
-MASTER_SITES= http://github.com/basho/${PORTNAME}/tarball/${GITVERSION}/
-DISTNAME= basho-${PORTNAME}-${GITVERSION}
MAINTAINER= koobs@FreeBSD.org
-COMMENT= A build-tool for Erlang that follows OTP principles
+COMMENT= Build-tool for Erlang that follows OTP principles
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/bin/escript:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
-PLIST_FILES= bin/${PORTNAME}
+USE_GITHUB= yes
+GH_ACCOUNT= basho
+GH_PROJECT= ${PORTNAME}
+GH_COMMIT= 1c98f6c
-GITVERSION= 1c98f6c
+PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/devel/rebar/distinfo b/devel/rebar/distinfo
index 936b7f0e4a5a..08744f5ff65a 100644
--- a/devel/rebar/distinfo
+++ b/devel/rebar/distinfo
@@ -1,2 +1,2 @@
-SHA256 (basho-rebar-1c98f6c.tar.gz) = 237561ee22e221924edbe7364b556151d1be89a3c661a1d8983c7b99384ea978
-SIZE (basho-rebar-1c98f6c.tar.gz) = 120821
+SHA256 (rebar-2.0.0.tar.gz) = 237561ee22e221924edbe7364b556151d1be89a3c661a1d8983c7b99384ea978
+SIZE (rebar-2.0.0.tar.gz) = 120821