From owner-svn-ports-all@FreeBSD.ORG Fri May 15 17:51:38 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C0BE59A; Fri, 15 May 2015 17:51:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A50C1CE9; Fri, 15 May 2015 17:51:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4FHpcsY079981; Fri, 15 May 2015 17:51:38 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4FHpaoi079969; Fri, 15 May 2015 17:51:36 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505151751.t4FHpaoi079969@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Fri, 15 May 2015 17:51:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386443 - in head/devel: . erlang-getopt erlang-getopt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 17:51:38 -0000 Author: olgeni Date: Fri May 15 17:51:36 2015 New Revision: 386443 URL: https://svnweb.freebsd.org/changeset/ports/386443 Log: Add devel/erlang-getopt, a getopt-like engine for Erlang. Added: head/devel/erlang-getopt/ head/devel/erlang-getopt/Makefile (contents, props changed) head/devel/erlang-getopt/distinfo (contents, props changed) head/devel/erlang-getopt/files/ head/devel/erlang-getopt/files/patch-Makefile (contents, props changed) head/devel/erlang-getopt/pkg-descr (contents, props changed) head/devel/erlang-getopt/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri May 15 17:47:19 2015 (r386442) +++ head/devel/Makefile Fri May 15 17:51:36 2015 (r386443) @@ -409,6 +409,7 @@ SUBDIR += eric4 SUBDIR += eric6 SUBDIR += eris + SUBDIR += erlang-getopt SUBDIR += erlang-msgpack SUBDIR += erlang-mustache SUBDIR += erlang-protobuffs Added: head/devel/erlang-getopt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-getopt/Makefile Fri May 15 17:51:36 2015 (r386443) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= getopt +PORTVERSION= 0.8.2 +DISTVERSIONPREFIX=v +CATEGORIES= devel +PKGNAMEPREFIX= erlang- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Command line parsing library for Erlang + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PLIST_SUB= VERSION="${PORTVERSION}" + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= jcomellas + +.include + +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} +.endif + @${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}/src + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + +.include Added: head/devel/erlang-getopt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-getopt/distinfo Fri May 15 17:51:36 2015 (r386443) @@ -0,0 +1,2 @@ +SHA256 (jcomellas-getopt-v0.8.2_GH0.tar.gz) = bfeab0aeb3e515b1c2912874d6e644849561971d8d947ec4adc7c9ff4c394ea8 +SIZE (jcomellas-getopt-v0.8.2_GH0.tar.gz) = 151272 Added: head/devel/erlang-getopt/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-getopt/files/patch-Makefile Fri May 15 17:51:36 2015 (r386443) @@ -0,0 +1,10 @@ +--- Makefile.orig 2015-05-12 14:40:03 UTC ++++ Makefile +@@ -1,6 +1,6 @@ + APPLICATION := getopt + +-REBAR=$(shell which rebar || echo ./rebar) ++REBAR=./rebar + ERL := erl + EPATH := -pa ebin + Added: head/devel/erlang-getopt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-getopt/pkg-descr Fri May 15 17:51:36 2015 (r386443) @@ -0,0 +1,4 @@ +Command line parsing module that uses a syntax similar to that of +GNU getopt. + +WWW: https://github.com/jcomellas/getopt Added: head/devel/erlang-getopt/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-getopt/pkg-plist Fri May 15 17:51:36 2015 (r386443) @@ -0,0 +1,5 @@ +lib/erlang/lib/getopt-%%VERSION%%/ebin/getopt.app +lib/erlang/lib/getopt-%%VERSION%%/ebin/getopt.beam +lib/erlang/lib/getopt-%%VERSION%%/src/getopt.app.src +lib/erlang/lib/getopt-%%VERSION%%/src/getopt.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md