svn commit: r316384 - in head/www: . webmachine webmachine/files
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Apr 23 17:52:24 UTC 2013
Author: olgeni
Date: Tue Apr 23 17:52:23 2013
New Revision: 316384
URL: http://svnweb.freebsd.org/changeset/ports/316384
Log:
Add www/webmachine, an application layer that adds HTTP semantic
awareness on top of mochiweb.
Added:
head/www/webmachine/
head/www/webmachine/Makefile (contents, props changed)
head/www/webmachine/distinfo (contents, props changed)
head/www/webmachine/files/
head/www/webmachine/files/patch-rebar.config (contents, props changed)
head/www/webmachine/pkg-descr (contents, props changed)
head/www/webmachine/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Tue Apr 23 17:43:17 2013 (r316383)
+++ head/www/Makefile Tue Apr 23 17:52:23 2013 (r316384)
@@ -2032,6 +2032,7 @@
SUBDIR += webkit-sharp
SUBDIR += weblint
SUBDIR += weblint++
+ SUBDIR += webmachine
SUBDIR += webobjects
SUBDIR += webpy
SUBDIR += webreport
Added: head/www/webmachine/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/webmachine/Makefile Tue Apr 23 17:52:23 2013 (r316384)
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME= webmachine
+PORTVERSION= 1.10.1
+CATEGORIES= www devel
+MASTER_SITES= GH
+
+MAINTAINER= olgeni at FreeBSD.org
+COMMENT= HTTP semantic awareness on top mochiweb
+
+LICENSE= AL2
+
+BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
+ mochiweb-basho>=0:${PORTSDIR}/www/mochiweb-basho
+RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
+ mochiweb-basho>=0:${PORTSDIR}/www/mochiweb-basho
+
+PLIST_SUB= VERSION="${PORTVERSION}"
+
+USE_GITHUB= yes
+GH_ACCOUNT= basho
+GH_PROJECT= webmachine
+GH_COMMIT= d600c0e
+GH_TAGNAME= ${PORTVERSION}
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+PORTDOCS= *
+.endif
+
+do-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ @for FILE in README.org; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \
+ done
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
+.endif
+ @${MKDIR} ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}
+ @${MKDIR} ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/ebin
+ @${MKDIR} ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/include
+ @${MKDIR} ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/priv
+ @${MKDIR} ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/src
+ @${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/ebin
+ @${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/include
+ @${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/src
+ @cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/priv
+
+.include <bsd.port.post.mk>
Added: head/www/webmachine/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/webmachine/distinfo Tue Apr 23 17:52:23 2013 (r316384)
@@ -0,0 +1,2 @@
+SHA256 (webmachine-1.10.1.tar.gz) = cb0ce4822dfc4cb2d03c933d6c731a8dcc5d265054240a10b2a3a718bfd3cd3d
+SIZE (webmachine-1.10.1.tar.gz) = 1582684
Added: head/www/webmachine/files/patch-rebar.config
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/webmachine/files/patch-rebar.config Tue Apr 23 17:52:23 2013 (r316384)
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- rebar.config.orig
++++ rebar.config
+@@ -4,6 +4,5 @@
+ {edoc_opts, [{preprocess, true}]}.
+
+ {deps, [
+- {mochiweb, "1.5.1*", {git, "git://github.com/basho/mochiweb",
+- {tag, "1.5.1p5"}}}
++ {mochiweb, "1.5.1*"}
+ ]}.
Added: head/www/webmachine/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/webmachine/pkg-descr Tue Apr 23 17:52:23 2013 (r316384)
@@ -0,0 +1,6 @@
+Webmachine is an application layer that adds HTTP semantic awareness
+on top of the excellent bit-pushing and HTTP syntax-management
+provided by mochiweb. It provides a simple and clean way to connect
+that to your application's behavior.
+
+WWW: https://github.com/basho/webmachine/
Added: head/www/webmachine/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/webmachine/pkg-plist Tue Apr 23 17:52:23 2013 (r316384)
@@ -0,0 +1,85 @@
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine.app
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_app.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_decision_core.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_deps.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_dispatcher.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_error_handler.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_log.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_log_handler.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_logger_watcher.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_logger_watcher_sup.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_mochiweb.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_multipart.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_perf_log_handler.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_request.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_resource.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_router.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_sup.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_util.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/wmtrace_resource.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/wrq.beam
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include/webmachine.hrl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include/webmachine_logger.hrl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include/wm_reqdata.hrl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include/wm_reqstate.hrl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include/wm_resource.hrl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/Makefile
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/README
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/priv/dispatch.conf
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/rebar.config
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src/wmskel.app.src
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src/wmskel.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src/wmskel_app.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src/wmskel_resource.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src/wmskel_sup.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/start.sh
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/wmskel.template
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/trace/http-headers-status-v3.png
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/trace/wmtrace.css
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/trace/wmtrace.js
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/www/index.html
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine.app.src
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_app.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_decision_core.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_deps.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_dispatcher.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_error_handler.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_log.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_log_handler.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_logger_watcher.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_logger_watcher_sup.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_mochiweb.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_multipart.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_perf_log_handler.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_request.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_resource.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_router.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_sup.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_util.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/wmtrace_resource.erl
+%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/wrq.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/priv/dispatch.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rebar.config
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/webmachine_demo.app.src
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/webmachine_demo.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/webmachine_demo_app.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/webmachine_demo_fs_resource.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/webmachine_demo_resource.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/webmachine_demo_sup.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/start.sh
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/www
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/trace
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/priv
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include
+ at dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/src
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/priv
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
More information about the svn-ports-all
mailing list