From owner-svn-ports-all@FreeBSD.ORG Tue Apr 23 17:52:24 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A9B7BA04; Tue, 23 Apr 2013 17:52:24 +0000 (UTC) (envelope-from olgeni@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8A14613C9; Tue, 23 Apr 2013 17:52:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3NHqOfM028924; Tue, 23 Apr 2013 17:52:24 GMT (envelope-from olgeni@svn.freebsd.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3NHqNil028918; Tue, 23 Apr 2013 17:52:23 GMT (envelope-from olgeni@svn.freebsd.org) Message-Id: <201304231752.r3NHqNil028918@svn.freebsd.org> From: Jimmy Olgeni Date: Tue, 23 Apr 2013 17:52:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316384 - in head/www: . webmachine webmachine/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.14 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: Tue, 23 Apr 2013 17:52:24 -0000 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@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 + +.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 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 +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/www +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/trace +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/src +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/priv +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/include +@dirrm %%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/src +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/priv +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%