diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-06-27 12:54:11 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-06-27 12:54:11 +0000 |
commit | 683f16618521c66911dd06539b9e9435270de4fb (patch) | |
tree | 7d61b3e1ed0576b122e72f1a7f9244ea99379aba /www/erlang-mochiweb-basho | |
parent | 721e168e9d060422da130abce2fc6e8b20781eed (diff) | |
download | ports-683f16618521c66911dd06539b9e9435270de4fb.tar.gz ports-683f16618521c66911dd06539b9e9435270de4fb.zip |
Sorting out some Erlang stuff:
- Rename a few Erlang-related ports using the erlang- prefix; it will avoid
confusion with elixir- ports.
- Remove DOCS and EXAMPLES where not actually useful.
- Simplify RUN_DEPENDS where possible.
- Move textproc/exmpp to devel/erlang-exmpp.
- Add missing R18 compatibility fix for devel/erlang-oserl.
- Upgrade erlang-cuttlefish to 2.0.3.
The idea is that libraries ("deps") have the "erlang-" prefix, while larger
projects (rabbitmq, yaws, couchdb, etc) keep their usual names.
Notes
Notes:
svn path=/head/; revision=390698
Diffstat (limited to 'www/erlang-mochiweb-basho')
-rw-r--r-- | www/erlang-mochiweb-basho/Makefile | 40 | ||||
-rw-r--r-- | www/erlang-mochiweb-basho/distinfo | 2 | ||||
-rw-r--r-- | www/erlang-mochiweb-basho/pkg-descr | 5 | ||||
-rw-r--r-- | www/erlang-mochiweb-basho/pkg-plist | 89 |
4 files changed, 136 insertions, 0 deletions
diff --git a/www/erlang-mochiweb-basho/Makefile b/www/erlang-mochiweb-basho/Makefile new file mode 100644 index 000000000000..b58188677c31 --- /dev/null +++ b/www/erlang-mochiweb-basho/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= mochiweb +PORTVERSION= 2.9.0p1 +CATEGORIES= www devel +PKGNAMEPREFIX= erlang- +PKGNAMESUFFIX= -basho + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Erlang library for building lightweight HTTP servers (Basho fork) + +LICENSE= MIT + +BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang +RUN_DEPENDS:= ${BUILD_DEPENDS} + +CONFLICTS= mochiweb-[0-9]* + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= basho +GH_TAGNAME= ade2a9b # required + +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + for FILE in CHANGES.md README.md; do \ + ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \ + done + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + +.include <bsd.port.mk> diff --git a/www/erlang-mochiweb-basho/distinfo b/www/erlang-mochiweb-basho/distinfo new file mode 100644 index 000000000000..0b1fbab89d22 --- /dev/null +++ b/www/erlang-mochiweb-basho/distinfo @@ -0,0 +1,2 @@ +SHA256 (basho-mochiweb-2.9.0p1-ade2a9b_GH0.tar.gz) = d1a06a2df9635178c90569c44e3feed6886ec8e4e4e61111f571b30c98457f9f +SIZE (basho-mochiweb-2.9.0p1-ade2a9b_GH0.tar.gz) = 283483 diff --git a/www/erlang-mochiweb-basho/pkg-descr b/www/erlang-mochiweb-basho/pkg-descr new file mode 100644 index 000000000000..6143fd5821e6 --- /dev/null +++ b/www/erlang-mochiweb-basho/pkg-descr @@ -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 diff --git a/www/erlang-mochiweb-basho/pkg-plist b/www/erlang-mochiweb-basho/pkg-plist new file mode 100644 index 000000000000..3a7eb6b8f5ac --- /dev/null +++ b/www/erlang-mochiweb-basho/pkg-plist @@ -0,0 +1,89 @@ +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_records.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochifmt_std.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiglobal.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochihex.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochijson2.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilists.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochilogfile2.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochinum.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochitemp.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiutf8.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.app +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_acceptor.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_app.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_base64url.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_charref.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cookies.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_cover.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_echo.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_headers.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_html.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_http.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_io.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_mime.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_multipart.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_request.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_response.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_session.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_skel.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_socket_server.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_sup.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_util.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/mochiweb_websocket.beam +lib/erlang/lib/mochiweb-%%VERSION%%/ebin/reloader.beam +lib/erlang/lib/mochiweb-%%VERSION%%/include/internal.hrl +lib/erlang/lib/mochiweb-%%VERSION%%/src/Makefile +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_records.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_std.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiglobal.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochihex.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochijson.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochijson2.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochilists.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochilogfile2.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochinum.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochitemp.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiutf8.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.app +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.app.src +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_acceptor.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_app.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_base64url.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_charref.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cookies.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_cover.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_echo.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_headers.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_html.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_http.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_io.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_mime.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_multipart.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_request.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_response.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_session.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_skel.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket_server.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_sup.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_util.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_websocket.erl +lib/erlang/lib/mochiweb-%%VERSION%%/src/reloader.erl +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.md +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%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 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/index.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/websocket.erl |