Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2013 13:16:18 -0700
From:      Jason Helfman <bsd-src@helfman.org>
To:        Jimmy Olgeni <olgeni@FreeBSD.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r316384 - in head/www: . webmachine webmachine/files
Message-ID:  <B2E29E6A-75C4-4E3D-B586-6FD39C80429A@helfman.org>
In-Reply-To: <201304231752.r3NHqNil028918@svn.freebsd.org>
References:  <201304231752.r3NHqNil028918@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <olgeni@FreeBSD.org> 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 <bsd.port.pre.mk>
> +
> +.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 <bsd.port.post.mk>
>=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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B2E29E6A-75C4-4E3D-B586-6FD39C80429A>