svn commit: r316367 - in head/www: . mochiweb-basho

Jimmy Olgeni olgeni at FreeBSD.org
Tue Apr 23 16:05:18 UTC 2013


Author: olgeni
Date: Tue Apr 23 16:05:17 2013
New Revision: 316367
URL: http://svnweb.freebsd.org/changeset/ports/316367

Log:
  Add www/mochiweb-basho, the Basho fork of MochiWeb used in the
  Webmachine application.

Added:
  head/www/mochiweb-basho/
  head/www/mochiweb-basho/Makefile   (contents, props changed)
  head/www/mochiweb-basho/distinfo   (contents, props changed)
  head/www/mochiweb-basho/pkg-descr   (contents, props changed)
  head/www/mochiweb-basho/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Apr 23 15:53:14 2013	(r316366)
+++ head/www/Makefile	Tue Apr 23 16:05:17 2013	(r316367)
@@ -449,6 +449,7 @@
     SUBDIR += mknmz-wwwoffle
     SUBDIR += mnogosearch
     SUBDIR += mochiweb
+    SUBDIR += mochiweb-basho
     SUBDIR += mod_amazon_proxy
     SUBDIR += mod_antiloris
     SUBDIR += mod_asn

Added: head/www/mochiweb-basho/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mochiweb-basho/Makefile	Tue Apr 23 16:05:17 2013	(r316367)
@@ -0,0 +1,52 @@
+# $FreeBSD$
+
+PORTNAME=	mochiweb
+PORTVERSION=	1.5.1p5
+CATEGORIES=	www devel
+MASTER_SITES=	GH
+PKGNAMESUFFIX=	-basho
+
+MAINTAINER=	olgeni at FreeBSD.org
+COMMENT=	Erlang library for building lightweight HTTP servers (Basho fork)
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	erlc:${PORTSDIR}/lang/erlang
+RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
+
+CONFLICTS=	mochiweb-[0-9]*
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	basho
+GH_PROJECT=	mochiweb
+GH_COMMIT=	b7c3f8f
+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; 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 <bsd.port.post.mk>

Added: head/www/mochiweb-basho/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mochiweb-basho/distinfo	Tue Apr 23 16:05:17 2013	(r316367)
@@ -0,0 +1,2 @@
+SHA256 (mochiweb-1.5.1p5.tar.gz) = 4faa5dacac887b8b69290f17c3e3a72997e6a4e42940926cafa0d9e20d65840b
+SIZE (mochiweb-1.5.1p5.tar.gz) = 177677

Added: head/www/mochiweb-basho/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mochiweb-basho/pkg-descr	Tue Apr 23 16:05:17 2013	(r316367)
@@ -0,0 +1,5 @@
+MochiWeb is an Erlang library for building lightweight HTTP servers.
+
+This is the Basho fork of MochiWeb.
+
+WWW: https://github.com/mochi/mochiweb

Added: head/www/mochiweb-basho/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mochiweb-basho/pkg-plist	Tue Apr 23 16:05:17 2013	(r316367)
@@ -0,0 +1,82 @@
+%%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_app.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_skel.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_sup.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_app.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_skel.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_sup.erl
+%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_util.erl
+%%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src/reloader.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/https_store.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/server_cert.pem
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/https/server_key.pem
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keepalive/keepalive.erl
+ at dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/src
+ at dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/include
+ at dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%/ebin
+ at dirrm %%LIB32DIR%%/erlang/lib/mochiweb-%%VERSION%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/keepalive
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/https
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%


More information about the svn-ports-all mailing list