svn commit: r386618 - in head/devel: . neotoma neotoma/files
Jimmy Olgeni
olgeni at FreeBSD.org
Sun May 17 14:57:55 UTC 2015
Author: olgeni
Date: Sun May 17 14:57:53 2015
New Revision: 386618
URL: https://svnweb.freebsd.org/changeset/ports/386618
Log:
Add devel/neotoma, an Erlang library and packrat parser-generator
for parsing expression grammars.
Added:
head/devel/neotoma/
head/devel/neotoma/Makefile (contents, props changed)
head/devel/neotoma/distinfo (contents, props changed)
head/devel/neotoma/files/
head/devel/neotoma/files/patch-src_neotoma.app.src (contents, props changed)
head/devel/neotoma/pkg-descr (contents, props changed)
head/devel/neotoma/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun May 17 14:44:25 2015 (r386617)
+++ head/devel/Makefile Sun May 17 14:57:53 2015 (r386618)
@@ -1375,6 +1375,7 @@
SUBDIR += ndesk-dbus
SUBDIR += ndesk-dbus-glib
SUBDIR += ndesk-options
+ SUBDIR += neotoma
SUBDIR += netscape-java40
SUBDIR += newfile
SUBDIR += newt
Added: head/devel/neotoma/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/neotoma/Makefile Sun May 17 14:57:53 2015 (r386618)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= neotoma
+PORTVERSION= 1.7.2
+CATEGORIES= devel
+
+MAINTAINER= olgeni at FreeBSD.org
+COMMENT= Erlang library and packrat parser-generator
+
+LICENSE= MIT
+
+BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PLIST_SUB= VERSION="${PORTVERSION}"
+
+USE_GITHUB= yes
+GH_ACCOUNT= seancribbs
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/neotoma.app.src
+ @${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
+
+do-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.textile ${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/neotoma/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/neotoma/distinfo Sun May 17 14:57:53 2015 (r386618)
@@ -0,0 +1,2 @@
+SHA256 (seancribbs-neotoma-1.7.2_GH0.tar.gz) = 73c356991b9685e86cd142d3b09e808dc9ef300bd7261113a0463c74de81a6ea
+SIZE (seancribbs-neotoma-1.7.2_GH0.tar.gz) = 181946
Added: head/devel/neotoma/files/patch-src_neotoma.app.src
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/neotoma/files/patch-src_neotoma.app.src Sun May 17 14:57:53 2015 (r386618)
@@ -0,0 +1,11 @@
+--- src/neotoma.app.src.orig 2015-05-14 15:21:25 UTC
++++ src/neotoma.app.src
+@@ -1,7 +1,7 @@
+ {application, neotoma,
+ [
+ {description, "PEG/Packrat toolkit and parser-generator."},
+- {vsn, git},
++ {vsn, "%%PORTVERSION%%"},
+ {applications, [kernel, stdlib]}
+ ]
+ }.
Added: head/devel/neotoma/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/neotoma/pkg-descr Sun May 17 14:57:53 2015 (r386618)
@@ -0,0 +1,4 @@
+Erlang library and packrat parser-generator for parsing expression
+grammars.
+
+WWW: https://github.com/seancribbs/neotoma
Added: head/devel/neotoma/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/neotoma/pkg-plist Sun May 17 14:57:53 2015 (r386618)
@@ -0,0 +1,8 @@
+lib/erlang/lib/neotoma-%%VERSION%%/ebin/neotoma.app
+lib/erlang/lib/neotoma-%%VERSION%%/ebin/neotoma.beam
+lib/erlang/lib/neotoma-%%VERSION%%/ebin/neotoma_parse.beam
+lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma.app.src
+lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma.erl
+lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma_parse.erl
+lib/erlang/lib/neotoma-%%VERSION%%/src/neotoma_parse.erl.safe
+%%PORTDOCS%%%%DOCSDIR%%/README.textile
More information about the svn-ports-all
mailing list