Date: Fri, 15 May 2015 17:51:36 +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: r386443 - in head/devel: . erlang-getopt erlang-getopt/files Message-ID: <201505151751.t4FHpaoi079969@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> + +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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505151751.t4FHpaoi079969>