From owner-svn-ports-all@FreeBSD.ORG Tue Apr 23 20:16:20 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A5FD8A0D for ; Tue, 23 Apr 2013 20:16:20 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-da0-x22a.google.com (mail-da0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3B41CE0 for ; Tue, 23 Apr 2013 20:16:20 +0000 (UTC) Received: by mail-da0-f42.google.com with SMTP id n15so509797dad.29 for ; Tue, 23 Apr 2013 13:16:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to:x-gm-message-state; bh=qa1y9Q/SfnEbv2uuipyVl2P1lweKvKqfUR0/HjoY53U=; b=O8j5KSfpINzh9a+clqq6zhPBzO5nls9vdAtbVUqrZ9yRxptP6r98b8RnLgZjG4bVUI I1mOiRSdJQrXToDT5juGV9NdcLfziaDXBUYgjBvFo37W/6vqwlubaVcTPpAyU/ZK2o7B dYpfh2Q3gaGFv6o8fFcoFkDnBACpePwqNzcoVUkxyCIgxitcySjkhaBxhZkI7HtjXnK+ 12FlY16IJgVSdOCo4UD3WIIyIfojPr4tu7TK0dq+NLNPkZ+/yo+QaF1IS1x7roWIrUnE jYGPMDcCMrpZxC72GNzRxiqAljcGJT2HmP1W1S5fRwvJd3DzqDfsx+dMX5hYxvoQsTPk +a1A== X-Received: by 10.66.227.228 with SMTP id sd4mr15267559pac.38.1366748180268; Tue, 23 Apr 2013 13:16:20 -0700 (PDT) Received: from [192.168.1.140] (adsl-64-161-57-202.dsl.snlo01.pacbell.net. [64.161.57.202]) by mx.google.com with ESMTPS id b3sm30783479pbw.4.2013.04.23.13.16.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Apr 2013 13:16:19 -0700 (PDT) References: <201304231752.r3NHqNil028918@svn.freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: <201304231752.r3NHqNil028918@svn.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPad Mail (10B329) From: Jason Helfman Subject: Re: svn commit: r316384 - in head/www: . webmachine webmachine/files Date: Tue, 23 Apr 2013 13:16:18 -0700 To: Jimmy Olgeni X-Gm-Message-State: ALoCoQmjoQ8WUeUEGdRr5r3uO90lfD/he0hX9ZAJam6TLrycQ1M9MQ9vVz/KcSUrsKQsIrjNQsow Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" 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 20:16:20 -0000 Is including pre really necessary here? Why is PORTDOCS conditional? Regardless, thanks for your work! Thanks -jgh On Apr 23, 2013, at 10:52 AM, Jimmy Olgeni wrote: > Author: olgeni > Date: Tue Apr 23 17:52:23 2013 > New Revision: 316384 > URL: http://svnweb.freebsd.org/changeset/ports/316384 >=20 > Log: > Add www/webmachine, an application layer that adds HTTP semantic > awareness on top of mochiweb. >=20 > 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 >=20 > Modified: head/www/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- 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 +=3D webkit-sharp > SUBDIR +=3D weblint > SUBDIR +=3D weblint++ > + SUBDIR +=3D webmachine > SUBDIR +=3D webobjects > SUBDIR +=3D webpy > SUBDIR +=3D webreport >=20 > Added: head/www/webmachine/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- /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=3D webmachine > +PORTVERSION=3D 1.10.1 > +CATEGORIES=3D www devel > +MASTER_SITES=3D GH > + > +MAINTAINER=3D olgeni@FreeBSD.org > +COMMENT=3D HTTP semantic awareness on top mochiweb > + > +LICENSE=3D AL2 > + > +BUILD_DEPENDS=3D erlc:${PORTSDIR}/lang/erlang \ > + mochiweb-basho>=3D0:${PORTSDIR}/www/mochiweb-basho > +RUN_DEPENDS=3D erl:${PORTSDIR}/lang/erlang \ > + mochiweb-basho>=3D0:${PORTSDIR}/www/mochiweb-basho > + > +PLIST_SUB=3D VERSION=3D"${PORTVERSION}" > + > +USE_GITHUB=3D yes > +GH_ACCOUNT=3D basho > +GH_PROJECT=3D webmachine > +GH_COMMIT=3D d600c0e > +GH_TAGNAME=3D ${PORTVERSION} > + > +.include > + > +.if ${PORT_OPTIONS:MDOCS} > +PORTDOCS=3D * > +.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/webmach= ine-${PORTVERSION}/include > + @${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/webmachine-= ${PORTVERSION}/src > + @cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${PREFIX}/lib/erlang/lib/w= ebmachine-${PORTVERSION}/priv > + > +.include >=20 > Added: head/www/webmachine/distinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- /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) =3D cb0ce4822dfc4cb2d03c933d6c731a8dcc5= d265054240a10b2a3a718bfd3cd3d > +SIZE (webmachine-1.10.1.tar.gz) =3D 1582684 >=20 > Added: head/www/webmachine/files/patch-rebar.config > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- /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 20= 13 (r316384) > @@ -0,0 +1,13 @@ > + > +$FreeBSD$ > + > +--- rebar.config.orig > ++++ rebar.config > +@@ -4,6 +4,5 @@ > + {edoc_opts, [{preprocess, true}]}. > +=20 > + {deps, [ > +- {mochiweb, "1.5.1*", {git, "git://github.com/basho/mochiweb", > +- {tag, "1.5.1p5"}}} > ++ {mochiweb, "1.5.1*"} > + ]}. >=20 > Added: head/www/webmachine/pkg-descr > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- /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/ >=20 > Added: head/www/webmachine/pkg-plist > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- /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_c= ore.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_hand= ler.beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_log.beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_log_handle= r.beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_logger_wat= cher.beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_logger_wat= cher_sup.beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_mochiweb.b= eam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_multipart.= beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_perf_log_h= andler.beam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_request.be= am > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_resource.b= eam > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/ebin/webmachine_router.bea= m > +%%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/dispat= ch.conf > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/templates/rebar.confi= g > +%%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.temp= late > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/priv/trace/http-headers-st= atus-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_co= re.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_handl= er.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_watc= her.erl > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_logger_watc= her_sup.erl > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_mochiweb.er= l > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_multipart.e= rl > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_perf_log_ha= ndler.erl > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_request.erl= > +%%LIB32DIR%%/erlang/lib/webmachine-%%VERSION%%/src/webmachine_resource.er= l > +%%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%% >=20