svn commit: r343486 - head/devel/rebar

Kubilay Kocak koobs at FreeBSD.org
Sun Feb 9 12:33:07 UTC 2014


Author: koobs
Date: Sun Feb  9 12:33:06 2014
New Revision: 343486
URL: http://svnweb.freebsd.org/changeset/ports/343486
QAT: https://qat.redports.org/buildarchive/r343486/

Log:
  devel/rebar: Modernise: STAGE, USE_GITHUB
  
  - Enable STAGE support
  - Use USE_GITHUB and GH_* friends
  - Remove indefinite article from COMMENT

Modified:
  head/devel/rebar/Makefile
  head/devel/rebar/distinfo

Modified: head/devel/rebar/Makefile
==============================================================================
--- head/devel/rebar/Makefile	Sun Feb  9 12:31:05 2014	(r343485)
+++ head/devel/rebar/Makefile	Sun Feb  9 12:33:06 2014	(r343486)
@@ -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 at 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>

Modified: head/devel/rebar/distinfo
==============================================================================
--- head/devel/rebar/distinfo	Sun Feb  9 12:31:05 2014	(r343485)
+++ head/devel/rebar/distinfo	Sun Feb  9 12:33:06 2014	(r343486)
@@ -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


More information about the svn-ports-head mailing list