1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

Update the remaining Erlang ports to use erlang.mk.

A few mistakes in plists came up, so these ports get a PORTREVISION bump.

Some of the older ports are still left out.
This commit is contained in:
Jimmy Olgeni 2015-07-06 22:34:11 +00:00
parent a0b3668460
commit 37893c2bae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391484
24 changed files with 94 additions and 246 deletions

View File

@ -2,8 +2,8 @@
PORTNAME= eredis
PORTVERSION= 1.0.8
PORTREVISION= 1
DISTVERSIONPREFIX=v
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= databases
PKGNAMEPREFIX= erlang-
@ -12,24 +12,8 @@ COMMENT= Non-blocking Redis client for Erlang
LICENSE= MIT
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= wooga
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
@${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>

View File

@ -1,3 +1,5 @@
lib/erlang/lib/eredis-%%VERSION%%/ebin/basho_bench_driver_eredis.beam
lib/erlang/lib/eredis-%%VERSION%%/ebin/basho_bench_driver_erldis.beam
lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis.app
lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis.beam
lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_client.beam
@ -6,6 +8,9 @@ lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_sub.beam
lib/erlang/lib/eredis-%%VERSION%%/ebin/eredis_sub_client.beam
lib/erlang/lib/eredis-%%VERSION%%/include/eredis.hrl
lib/erlang/lib/eredis-%%VERSION%%/include/eredis_sub.hrl
lib/erlang/lib/eredis-%%VERSION%%/priv/basho_bench_eredis.config
lib/erlang/lib/eredis-%%VERSION%%/priv/basho_bench_eredis_pipeline.config
lib/erlang/lib/eredis-%%VERSION%%/priv/basho_bench_erldis.config
lib/erlang/lib/eredis-%%VERSION%%/src/basho_bench_driver_eredis.erl
lib/erlang/lib/eredis-%%VERSION%%/src/basho_bench_driver_erldis.erl
lib/erlang/lib/eredis-%%VERSION%%/src/eredis.app.src

View File

@ -2,6 +2,7 @@
PORTNAME= cuttlefish
PORTVERSION= 2.0.3
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
@ -10,31 +11,14 @@ COMMENT= Configuration library for Erlang
LICENSE= APACHE20
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
erlang-lager>=2.1.1:${PORTSDIR}/devel/erlang-lager \
erlang-getopt>=0.8.2:${PORTSDIR}/devel/erlang-getopt \
erlang-neotoma>=1.7.2:${PORTSDIR}/devel/erlang-neotoma
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= basho
post-patch:
@${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
@${REINPLACE_CMD} -e "s@%%LOCALBASE%%@${LOCALBASE}@" ${WRKSRC}/src/cuttlefish_escript.erl
@${RM} ${WRKSRC}/src/*.orig
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
@${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}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
${INSTALL_SCRIPT} ${WRKSRC}/cuttlefish ${STAGEDIR}${PREFIX}/bin
REBAR_TARGETS= compile escriptize
ERL_BUILD_DEPS= devel/erlang-lager \
devel/erlang-getopt \
devel/erlang-neotoma
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
.include <bsd.port.mk>

View File

@ -24,6 +24,7 @@ lib/erlang/lib/cuttlefish-%%VERSION%%/ebin/cuttlefish_validator.beam
lib/erlang/lib/cuttlefish-%%VERSION%%/ebin/cuttlefish_variable.beam
lib/erlang/lib/cuttlefish-%%VERSION%%/ebin/cuttlefish_vmargs.beam
lib/erlang/lib/cuttlefish-%%VERSION%%/ebin/lager_stderr_backend.beam
lib/erlang/lib/cuttlefish-%%VERSION%%/priv/erlang_vm.schema
lib/erlang/lib/cuttlefish-%%VERSION%%/src/conf_parse.erl
lib/erlang/lib/cuttlefish-%%VERSION%%/src/conf_parse.peg
lib/erlang/lib/cuttlefish-%%VERSION%%/src/cuttlefish.app.src

View File

@ -2,39 +2,21 @@
PORTNAME= gen_leader
PORTVERSION= 2014.10.20
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Leader election behavior for Erlang
BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= garret-smith
GH_PROJECT= gen_leader_revival
GH_TAGNAME= a12a4e3
post-patch:
@${REINPLACE_CMD} -i '' -e 's/{ *vsn, .*}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/ebin/*.app
do-build:
@cd ${WRKSRC} && ./rebar compile
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/skeleton.erl ${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}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,7 +1,6 @@
lib/erlang/lib/gen_leader-%%VERSION%%/ebin/gen_leader.app
lib/erlang/lib/gen_leader-%%VERSION%%/ebin/gen_leader.beam
lib/erlang/lib/gen_leader-%%VERSION%%/include/gen_leader.app
lib/erlang/lib/gen_leader-%%VERSION%%/include/gen_leader.beam
lib/erlang/lib/gen_leader-%%VERSION%%/include/gen_leader_specs.hrl
lib/erlang/lib/gen_leader-%%VERSION%%/src/Makefile
lib/erlang/lib/gen_leader-%%VERSION%%/src/gen_leader.erl
%%PORTDOCS%%%%DOCSDIR%%/README.markdown

View File

@ -2,6 +2,7 @@
PORTNAME= gproc
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
@ -13,29 +14,10 @@ LICENSE_NAME= Erlang Public License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= uwiger
post-patch:
@${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
do-build:
@cd ${WRKSRC} && ./rebar compile
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
@${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}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
ERL_DOCS= doc/*
.include <bsd.port.mk>

View File

@ -11,19 +11,10 @@ lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_pool.beam
lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_ps.beam
lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_pt.beam
lib/erlang/lib/gproc-%%VERSION%%/ebin/gproc_sup.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc.app
lib/erlang/lib/gproc-%%VERSION%%/include/gproc.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_app.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_bcast.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_dist.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_info.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_init.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_lib.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_monitor.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_pool.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_ps.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_pt.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc_sup.beam
lib/erlang/lib/gproc-%%VERSION%%/include/gproc.hrl
lib/erlang/lib/gproc-%%VERSION%%/priv/check_edown.script
lib/erlang/lib/gproc-%%VERSION%%/priv/remove_deps.script
lib/erlang/lib/gproc-%%VERSION%%/priv/sys.config
lib/erlang/lib/gproc-%%VERSION%%/src/Makefile
lib/erlang/lib/gproc-%%VERSION%%/src/gproc.app.src
lib/erlang/lib/gproc-%%VERSION%%/src/gproc.erl

View File

@ -2,6 +2,7 @@
PORTNAME= ranch
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= net
PKGNAMEPREFIX= erlang-
@ -10,26 +11,13 @@ COMMENT= Erlang socket acceptor pool for TCP protocols
LICENSE= ISCL
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= ninenines
ERL_DOCS= guide/*
PORTDOCS= *
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/guide/* ${STAGEDIR}${DOCSDIR}
post-install:
@${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}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>

View File

@ -24,6 +24,15 @@ lib/erlang/lib/ranch-%%VERSION%%/src/ranch_ssl.erl
lib/erlang/lib/ranch-%%VERSION%%/src/ranch_sup.erl
lib/erlang/lib/ranch-%%VERSION%%/src/ranch_tcp.erl
lib/erlang/lib/ranch-%%VERSION%%/src/ranch_transport.erl
%%PORTDOCS%%%%DOCSDIR%%/embedded.md
%%PORTDOCS%%%%DOCSDIR%%/internals.md
%%PORTDOCS%%%%DOCSDIR%%/introduction.md
%%PORTDOCS%%%%DOCSDIR%%/listeners.md
%%PORTDOCS%%%%DOCSDIR%%/parsers.md
%%PORTDOCS%%%%DOCSDIR%%/protocols.md
%%PORTDOCS%%%%DOCSDIR%%/ssl_auth.md
%%PORTDOCS%%%%DOCSDIR%%/toc.md
%%PORTDOCS%%%%DOCSDIR%%/transports.md
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp_echo/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp_echo/README.md
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp_echo/relx.config

View File

@ -2,7 +2,7 @@
PORTNAME= xmlrpc
PORTVERSION= 1.13
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= net
MASTER_SITES= http://www.erlang.org/contrib/
PKGNAMEPREFIX= erlang-
@ -11,34 +11,21 @@ DIST_SUBDIR= erlang
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Library for XMLRPC support in Erlang
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake tar:tgz
USES= gmake erlang tar:tgz
WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION}
PORTDOCS= *
ERL_DOCS= doc/xmlrpc.pdf doc/xmlrpc.ps doc/xmlrpc.txt
do-build:
cd ${WRKSRC}/src && ${GMAKE}
post-patch:
@${REINPLACE_CMD} -i '' -e 's|XMERL_PATH=.*|XMERL_PATH=${LOCALBASE}/lib/erlang/lib/xmerl|g' ${WRKSRC}/src/Makefile
@${RM} ${WRKSRC}/src/*.orig
do-build:
@cd ${WRKSRC}/src && ${MAKE_CMD}
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
for FILE in xmlrpc.pdf xmlrpc.ps xmlrpc.txt; do \
${INSTALL_DATA} ${WRKSRC}/doc/$${FILE} ${STAGEDIR}${DOCSDIR}; \
done
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/xmlrpc-${PORTVERSION}/src
${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${STAGEDIR}${MANPREFIX}/man/man3/erlang_xmlrpc.3
.include <bsd.port.mk>

View File

@ -15,6 +15,9 @@ lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_encode.erl
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_http.erl
lib/erlang/lib/xmlrpc-%%VERSION%%/src/xmlrpc_util.erl
man/man3/erlang_xmlrpc.3.gz
%%PORTDOCS%%%%DOCSDIR%%/xmlrpc.pdf
%%PORTDOCS%%%%DOCSDIR%%/xmlrpc.ps
%%PORTDOCS%%%%DOCSDIR%%/xmlrpc.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BankClient.java
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/DateClient.java
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/EchoClient.java

View File

@ -2,6 +2,7 @@
PORTNAME= cowboy
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= erlang-
@ -10,25 +11,16 @@ COMMENT= Small, fast and modular HTTP server written in Erlang
LICENSE= ISCL
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
erlang-cowlib>=1.0.0:${PORTSDIR}/www/erlang-cowlib
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
erlang-cowlib>=1.0.0:${PORTSDIR}/www/erlang-cowlib \
erlang-ranch>=1.0.0:${PORTSDIR}/net/erlang-ranch
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= ninenines
do-install:
ERL_BUILD_DEPS= www/erlang-cowlib
ERL_RUN_DEPS= www/erlang-cowlib \
net/erlang-ranch
post-install:
@${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}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
--- Makefile.orig
+++ Makefile
@@ -12,7 +12,7 @@
# Dependencies.
-DEPS = cowlib ranch
+DEPS =
TEST_DEPS = ct_helper gun
dep_ct_helper = git https://github.com/extend/ct_helper.git master

View File

@ -0,0 +1,7 @@
--- rebar.config.orig 2015-07-06 19:34:28 UTC
+++ rebar.config
@@ -1,4 +1,2 @@
{deps, [
- {cowlib, ".*", {git, "git://github.com/ninenines/cowlib.git", "1.0.0"}},
- {ranch, ".*", {git, "git://github.com/ninenines/ranch.git", "1.0.0"}}
]}.

View File

@ -38,6 +38,7 @@ lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_sub_protocol.erl
lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_sup.erl
lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_websocket.erl
lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_websocket_handler.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.md
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/README.md

View File

@ -2,6 +2,7 @@
PORTNAME= cowlib
PORTVERSION= 1.0.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
PKGNAMEPREFIX= erlang-
@ -11,22 +12,8 @@ COMMENT= Erlang support library for manipulating Web protocols
LICENSE= ISCL
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= ninenines
do-install:
@${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>

View File

@ -21,3 +21,4 @@ lib/erlang/lib/cowlib-%%VERSION%%/src/cow_qs.erl
lib/erlang/lib/cowlib-%%VERSION%%/src/cow_spdy.erl
lib/erlang/lib/cowlib-%%VERSION%%/src/cow_spdy.hrl
lib/erlang/lib/cowlib-%%VERSION%%/src/cowlib.app.src
%%PORTDOCS%%%%DOCSDIR%%/README.md

View File

@ -2,7 +2,8 @@
PORTNAME= ibrowse
PORTVERSION= 4.1.1
DISTVERSIONPREFIX=v
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= erlang-
@ -12,26 +13,8 @@ COMMENT= HTTP client library for Erlang
LICENSE= BSD3CLAUSE LGPL21
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= erlang:rebar
USE_GITHUB= yes
GH_ACCOUNT= cmullaparthi
do-build:
@cd ${WRKSRC} && ./rebar compile
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
@${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}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>

View File

@ -6,15 +6,8 @@ lib/erlang/lib/ibrowse-%%VERSION%%/ebin/ibrowse_lb.beam
lib/erlang/lib/ibrowse-%%VERSION%%/ebin/ibrowse_lib.beam
lib/erlang/lib/ibrowse-%%VERSION%%/ebin/ibrowse_socks5.beam
lib/erlang/lib/ibrowse-%%VERSION%%/ebin/ibrowse_sup.beam
lib/erlang/lib/ibrowse-%%VERSION%%/include/Emakefile.src
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse.app.src
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse_app.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse_http_client.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse_lb.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse_lib.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse_socks5.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse_sup.erl
lib/erlang/lib/ibrowse-%%VERSION%%/include/ibrowse.hrl
lib/erlang/lib/ibrowse-%%VERSION%%/priv/ibrowse.conf
lib/erlang/lib/ibrowse-%%VERSION%%/src/Emakefile.src
lib/erlang/lib/ibrowse-%%VERSION%%/src/ibrowse.app.src
lib/erlang/lib/ibrowse-%%VERSION%%/src/ibrowse.erl

View File

@ -2,6 +2,7 @@
PORTNAME= mochiweb
PORTVERSION= 2.9.0p1
PORTREVISION= 1
CATEGORIES= www devel
PKGNAMEPREFIX= erlang-
PKGNAMESUFFIX= -basho
@ -11,30 +12,15 @@ 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}"
USES= erlang:rebar
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
post-install:
@${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>

View File

@ -36,6 +36,18 @@ 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%%/priv/skel/Makefile
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/priv/www/index.html
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/Makefile
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel.app
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel.erl
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel.hrl
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel_app.erl
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel_deps.erl
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel_sup.erl
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/src/skel_web.erl
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/start-dev.sh
lib/erlang/lib/mochiweb-%%VERSION%%/priv/skel/start.sh
lib/erlang/lib/mochiweb-%%VERSION%%/src/Makefile
lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt.erl
lib/erlang/lib/mochiweb-%%VERSION%%/src/mochifmt_records.erl
@ -75,7 +87,6 @@ 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

View File

@ -3,6 +3,7 @@
PORTNAME= mochiweb
PORTVERSION= 2.12.2
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= www devel
PKGNAMEPREFIX= erlang-
@ -11,32 +12,15 @@ COMMENT= Erlang library for building lightweight HTTP servers
LICENSE= MIT
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFLICTS= mochiweb-basho-[0-9]*
USES= cpe
USES= cpe erlang:rebar
CPE_VENDOR= mochiweb_project
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= mochi
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
for FILE in CHANGES.md README; do \
${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \
done
post-install:
@${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>

View File

@ -67,7 +67,6 @@ lib/erlang/lib/mochiweb-%%VERSION%%/src/mochiweb_socket_server.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
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hmac_api/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hmac_api/hmac_api.hrl