Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 12:38:26 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390894 - in head/devel: . erlang-erlware_commons erlang-erlware_commons/files
Message-ID:  <201506291238.t5TCcQDr004603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Mon Jun 29 12:38:25 2015
New Revision: 390894
URL: https://svnweb.freebsd.org/changeset/ports/390894

Log:
  Add devel/erlang-erlware_commons, a set of reusable components for
  Erlang.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jun 29 12:32:41 2015	(r390893)
+++ head/devel/Makefile	Mon Jun 29 12:38:25 2015	(r390894)
@@ -421,6 +421,7 @@
     SUBDIR += erlang-common_lib
     SUBDIR += erlang-cowlib
     SUBDIR += erlang-cuttlefish
+    SUBDIR += erlang-erlware_commons
     SUBDIR += erlang-esdl
     SUBDIR += erlang-exmpp
     SUBDIR += erlang-folsom

Added: head/devel/erlang-erlware_commons/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-erlware_commons/Makefile	Mon Jun 29 12:38:25 2015	(r390894)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME=	erlware_commons
+PORTVERSION=	0.12.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+PKGNAMEPREFIX=	erlang-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Erlang project focused on all aspects of reusable components
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	erl:${PORTSDIR}/lang/erlang \
+		rebar:${PORTSDIR}/devel/rebar
+RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	erlware
+
+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}/include
+	@${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}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+	${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-erlware_commons/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-erlware_commons/distinfo	Mon Jun 29 12:38:25 2015	(r390894)
@@ -0,0 +1,2 @@
+SHA256 (erlware-erlware_commons-v0.12.0_GH0.tar.gz) = 4d3064bb23e3a8ae762eda312b4f1598fb09aa137fd3ca68d424a513c8d6b5cd
+SIZE (erlware-erlware_commons-v0.12.0_GH0.tar.gz) = 63176

Added: head/devel/erlang-erlware_commons/files/patch-rebar.config
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-erlware_commons/files/patch-rebar.config	Mon Jun 29 12:38:25 2015	(r390894)
@@ -0,0 +1,19 @@
+--- rebar.config.orig	2015-06-29 12:33:01 UTC
++++ rebar.config
+@@ -1,9 +1,7 @@
+ %% -*- mode: Erlang; fill-column: 80; comment-column: 75; -*-
+ 
+ %% Dependencies ================================================================
+-{deps, [{rebar_vsn_plugin, ".*",
+-         {git, "https://github.com/erlware/rebar_vsn_plugin.git",
+-          {branch, "master"}}}]}.
++{deps, []}.
+ 
+ {erl_first_files, ["ec_dictionary", "ec_vsn"]}.
+ 
+@@ -22,4 +20,4 @@
+ {cover_print_enabled, true}.
+ 
+ %% Rebar Plugins ==============================================================
+-{plugins, [rebar_vsn_plugin]}.
++{plugins, []}.

Added: head/devel/erlang-erlware_commons/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-erlware_commons/pkg-descr	Mon Jun 29 12:38:25 2015	(r390894)
@@ -0,0 +1,9 @@
+Erlware commons can best be described as an extension to the stdlib
+application that is distributed with Erlang. These are things that
+we at Erlware have found useful for production applications but are
+not included with the distribution. We hope that as things in this
+library prove themselves useful, they will make their way into the
+main Erlang distribution. However, whether they do or not, we hope
+that this application will prove generally useful.
+
+WWW: https://github.com/erlware/erlware_commons

Added: head/devel/erlang-erlware_commons/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-erlware_commons/pkg-plist	Mon Jun 29 12:38:25 2015	(r390894)
@@ -0,0 +1,41 @@
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_assoc_list.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_cmd_log.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_cnv.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_compile.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_date.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_dict.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_dictionary.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_file.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_gb_trees.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_git_vsn.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_lists.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_orddict.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_plists.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_rbdict.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_semver.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_semver_parser.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_talk.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/ec_vsn.beam
+lib/erlang/lib/erlware_commons-%%VERSION%%/ebin/erlware_commons.app
+lib/erlang/lib/erlware_commons-%%VERSION%%/include/ec_cmd_log.hrl
+lib/erlang/lib/erlware_commons-%%VERSION%%/priv/ec_semver_parser.peg
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_assoc_list.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_cmd_log.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_cnv.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_compile.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_date.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_dict.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_dictionary.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_file.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_gb_trees.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_git_vsn.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_lists.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_orddict.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_plists.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_rbdict.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_semver.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_semver_parser.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_talk.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/ec_vsn.erl
+lib/erlang/lib/erlware_commons-%%VERSION%%/src/erlware_commons.app.src
+%%PORTDOCS%%%%DOCSDIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506291238.t5TCcQDr004603>