svn commit: r390937 - in head/devel: . erlang-rebar3_hex erlang-rebar3_hex/files

Jimmy Olgeni olgeni at FreeBSD.org
Mon Jun 29 20:42:32 UTC 2015


Author: olgeni
Date: Mon Jun 29 20:42:29 2015
New Revision: 390937
URL: https://svnweb.freebsd.org/changeset/ports/390937

Log:
  Add devel/erlang-rebar3_hex, the rebar3 Hex plugin.

Added:
  head/devel/erlang-rebar3_hex/
  head/devel/erlang-rebar3_hex/Makefile   (contents, props changed)
  head/devel/erlang-rebar3_hex/distinfo   (contents, props changed)
  head/devel/erlang-rebar3_hex/files/
  head/devel/erlang-rebar3_hex/files/patch-rebar.config   (contents, props changed)
  head/devel/erlang-rebar3_hex/pkg-descr   (contents, props changed)
  head/devel/erlang-rebar3_hex/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jun 29 20:38:56 2015	(r390936)
+++ head/devel/Makefile	Mon Jun 29 20:42:29 2015	(r390937)
@@ -442,6 +442,7 @@
     SUBDIR += erlang-poolboy
     SUBDIR += erlang-protobuffs
     SUBDIR += erlang-providers
+    SUBDIR += erlang-rebar3_hex
     SUBDIR += erlang-recon
     SUBDIR += erlang-ssl_verify_hostname
     SUBDIR += erlang-syslog

Added: head/devel/erlang-rebar3_hex/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-rebar3_hex/Makefile	Mon Jun 29 20:42:29 2015	(r390937)
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME=	rebar3_hex
+PORTVERSION=	0.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+PKGNAMEPREFIX=	erlang-
+
+MAINTAINER=	olgeni at FreeBSD.org
+COMMENT=	Rebar3 Hex library
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	erl:${PORTSDIR}/lang/erlang \
+		rebar:${PORTSDIR}/devel/rebar \
+		erlang-erlware_commons>=0:${PORTSDIR}/devel/erlang-erlware_commons \
+		erlang-ssl_verify_hostname>=0:${PORTSDIR}/devel/erlang-ssl_verify_hostname \
+		erlang-jsx>=0:${PORTSDIR}/devel/erlang-jsx \
+		erlang-providers>=0:${PORTSDIR}/devel/erlang-providers
+RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang \
+		erlang-erlware_commons>=0:${PORTSDIR}/devel/erlang-erlware_commons \
+		erlang-ssl_verify_hostname>=0:${PORTSDIR}/devel/erlang-ssl_verify_hostname \
+		erlang-jsx>=0:${PORTSDIR}/devel/erlang-jsx \
+		erlang-providers>=0:${PORTSDIR}/devel/erlang-providers
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hexpm
+
+do-build:
+	@cd ${WRKSRC} && rebar compile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/priv/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+
+.include <bsd.port.mk>

Added: head/devel/erlang-rebar3_hex/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-rebar3_hex/distinfo	Mon Jun 29 20:42:29 2015	(r390937)
@@ -0,0 +1,2 @@
+SHA256 (hexpm-rebar3_hex-v0.1.0_GH0.tar.gz) = 5cab98de1301b445c9986eb1ecac95ba581276cd23b7f9b6622f5f6f5700a9e9
+SIZE (hexpm-rebar3_hex-v0.1.0_GH0.tar.gz) = 290539

Added: head/devel/erlang-rebar3_hex/files/patch-rebar.config
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-rebar3_hex/files/patch-rebar.config	Mon Jun 29 20:42:29 2015	(r390937)
@@ -0,0 +1,12 @@
+--- rebar.config.orig	2015-06-29 12:59:06 UTC
++++ rebar.config
+@@ -1,9 +1,5 @@
+ {erl_opts, [debug_info]}.
+ {deps, [
+-       {erlware_commons, "0.12.0"},
+-       {ssl_verify_hostname, "1.0.4"},
+-       {jsx, "2.6.1"},
+-       {providers, "1.3.1"}
+        ]}.
+ 
+ {overrides, [{override, erlware_commons, [{plugins, []}]}]}.

Added: head/devel/erlang-rebar3_hex/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-rebar3_hex/pkg-descr	Mon Jun 29 20:42:29 2015	(r390937)
@@ -0,0 +1,3 @@
+Providers for interacting with the Erlang package manager hex.pm.
+
+WWW: https://github.com/hexpm/rebar3_hex

Added: head/devel/erlang-rebar3_hex/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-rebar3_hex/pkg-plist	Mon Jun 29 20:42:29 2015	(r390937)
@@ -0,0 +1,31 @@
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex.app
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_cacerts.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_config.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_docs.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_http.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_info.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_key.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_owner.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_pkg.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_search.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_tar.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_user.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_utils.beam
+lib/erlang/lib/rebar3_hex-%%VERSION%%/priv/ca-bundle.crt
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex.app.src
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex.hrl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_cacerts.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_config.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_docs.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_http.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_info.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_key.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_owner.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_pkg.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_search.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_tar.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_user.erl
+lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_utils.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md


More information about the svn-ports-head mailing list