From owner-svn-ports-head@FreeBSD.ORG Tue Apr 23 15:15:50 2013 Return-Path: Delivered-To: svn-ports-head@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 CD9225E7; Tue, 23 Apr 2013 15:15:50 +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 BCE511A6E; Tue, 23 Apr 2013 15:15:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3NFFoMa072397; Tue, 23 Apr 2013 15:15:50 GMT (envelope-from olgeni@svn.freebsd.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3NFFnwW072388; Tue, 23 Apr 2013 15:15:49 GMT (envelope-from olgeni@svn.freebsd.org) Message-Id: <201304231515.r3NFFnwW072388@svn.freebsd.org> From: Jimmy Olgeni Date: Tue, 23 Apr 2013 15:15:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316362 - in head/www: . mochiweb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 15:15:50 -0000 Author: olgeni Date: Tue Apr 23 15:15:49 2013 New Revision: 316362 URL: http://svnweb.freebsd.org/changeset/ports/316362 Log: Add www/mochiweb, an Erlang library for building lightweight HTTP servers. This is the original version from Mochi Media, Inc. Added: head/www/mochiweb/ head/www/mochiweb/Makefile (contents, props changed) head/www/mochiweb/distinfo (contents, props changed) head/www/mochiweb/pkg-descr (contents, props changed) head/www/mochiweb/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Apr 23 15:08:08 2013 (r316361) +++ head/www/Makefile Tue Apr 23 15:15:49 2013 (r316362) @@ -448,6 +448,7 @@ SUBDIR += mkapachepw SUBDIR += mknmz-wwwoffle SUBDIR += mnogosearch + SUBDIR += mochiweb SUBDIR += mod_amazon_proxy SUBDIR += mod_antiloris SUBDIR += mod_asn Added: head/www/mochiweb/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mochiweb/Makefile Tue Apr 23 15:15:49 2013 (r316362) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= mochiweb +PORTVERSION= 2.6.0 +CATEGORIES= www devel +MASTER_SITES= GH + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Erlang library for building lightweight HTTP servers + +LICENSE= MIT + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= mochi +GH_PROJECT= mochiweb +GH_COMMIT= 92b8f5b +GH_TAGNAME= v${PORTVERSION} + +.include + +.if ${PORT_OPTIONS:MDOCS} +PORTDOCS= * +.endif + +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + @for FILE in CHANGES.md README; do \ + ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \ + done +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR} +.endif + @${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION} + @${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin + @${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include + @${MKDIR} ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src + @${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin + @${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include + @${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src + +.include Added: head/www/mochiweb/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mochiweb/distinfo Tue Apr 23 15:15:49 2013 (r316362) @@ -0,0 +1,2 @@ +SHA256 (mochiweb-2.6.0.tar.gz) = e0805c1bda2e0bf0ef7f198a0bf5b4cf322c64d9c01ed674fe0ec4e6459c65a7 +SIZE (mochiweb-2.6.0.tar.gz) = 205598 Added: head/www/mochiweb/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mochiweb/pkg-descr Tue Apr 23 15:15:49 2013 (r316362) @@ -0,0 +1,4 @@ +MochiWeb is an Erlang library for building lightweight HTTP servers, +from Mochi Media, Inc. + +WWW: https://github.com/mochi/mochiweb Added: head/www/mochiweb/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mochiweb/pkg-plist Tue Apr 23 15:15:49 2013 (r316362) @@ -0,0 +1,85 @@ +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_records.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_std.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiglobal.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochihex.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson2.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilists.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilogfile2.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochinum.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochitemp.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiutf8.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.app +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_acceptor.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_base64url.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_charref.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cookies.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cover.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_echo.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_headers.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_html.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_http.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_io.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_mime.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_multipart.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request_tests.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_response.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_session.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket_server.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_util.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin/reloader.beam +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/include/internal.hrl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_records.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_std.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiglobal.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochihex.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochijson.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochijson2.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochilists.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochilogfile2.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochinum.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochitemp.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiutf8.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.app.src +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_acceptor.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_base64url.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_charref.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cookies.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cover.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_echo.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_headers.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_html.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_http.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_io.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_mime.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_multipart.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request_tests.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_response.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_session.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket_server.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_util.erl +%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/reloader.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hmac_api/README +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hmac_api/hmac_api.hrl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hmac_api/hmac_api_client.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hmac_api/hmac_api_lib.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/https_store.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/server_cert.pem +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/server_key.pem +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keepalive/keepalive.erl +@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src +@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/include +@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin +@dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/keepalive +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/https +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/hmac_api +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%