Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
6dac191c
Commit
6dac191c
authored
May 15, 2015
by
olgeni
Browse files
Add devel/erlang-getopt, a getopt-like engine for Erlang.
parent
f3ecca46
Changes
6
Hide whitespace changes
Inline
Side-by-side
devel/Makefile
View file @
6dac191c
...
...
@@ -409,6 +409,7 @@
SUBDIR
+=
eric4
SUBDIR
+=
eric6
SUBDIR
+=
eris
SUBDIR
+=
erlang-getopt
SUBDIR
+=
erlang-msgpack
SUBDIR
+=
erlang-mustache
SUBDIR
+=
erlang-protobuffs
...
...
devel/erlang-getopt/Makefile
0 → 100644
View file @
6dac191c
# $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>
devel/erlang-getopt/distinfo
0 → 100644
View file @
6dac191c
SHA256 (jcomellas-getopt-v0.8.2_GH0.tar.gz) = bfeab0aeb3e515b1c2912874d6e644849561971d8d947ec4adc7c9ff4c394ea8
SIZE (jcomellas-getopt-v0.8.2_GH0.tar.gz) = 151272
devel/erlang-getopt/files/patch-Makefile
0 → 100644
View file @
6dac191c
--- 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
devel/erlang-getopt/pkg-descr
0 → 100644
View file @
6dac191c
Command line parsing module that uses a syntax similar to that of
GNU getopt.
WWW: https://github.com/jcomellas/getopt
devel/erlang-getopt/pkg-plist
0 → 100644
View file @
6dac191c
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment