Commit 099bcd87 authored by olgeni's avatar olgeni
Browse files

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.
parent 2b760f8d
......@@ -3,6 +3,7 @@
PORTNAME= oserl
PORTVERSION= 3.2.4
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= SMPP library for Erlang
......@@ -10,7 +11,7 @@ COMMENT= SMPP library for Erlang
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
txt2tags:${PORTSDIR}/textproc/txt2tags
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
common_lib>=3.3.4:${PORTSDIR}/devel/common_lib
erlang-common_lib>=3.3.4:${PORTSDIR}/devel/erlang-common_lib
PLIST_SUB= VERSION="${PORTVERSION}"
......
--- rebar.config.orig 2013-05-10 18:52:27 UTC
+++ rebar.config
@@ -1,10 +1,7 @@
@@ -1,9 +1,6 @@
-{lib_dirs, ["deps"]}.
-
-{erl_opts, [warnings_as_errors, debug_info]}.
+{lib_dirs, ["deps", ".."]}.
{erl_opts, [warnings_as_errors, debug_info]}.
-{deps, [{common_lib, "3.3.4",
- {git, "git://github.com/iamaleksey/common_lib.git", {tag, "3.3.4"}}}]}.
-
+{erl_opts, [debug_info]}.
{erl_first_files, ["src/gen_esme_session.erl",
"src/gen_mc_session.erl",
"src/gen_esme.erl",
......@@ -4,14 +4,15 @@ PORTNAME= poolboy
PORTVERSION= 1.5.1
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Pooling library for Erlang
LICENSE= ISCL
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
......@@ -19,15 +20,9 @@ USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= devinus
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.endif
@${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
......
......@@ -16,10 +16,9 @@ LICENSE_NAME= Wings 3D License # similar to TclTk license
LICENSE_FILE= ${WRKSRC}/license.terms
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
esdl>0:${PORTSDIR}/devel/esdl
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
esdl>0:${PORTSDIR}/devel/esdl
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
erlang-esdl>0:${PORTSDIR}/devel/erlang-esdl
RUN_DEPENDS:= ${BUILD_DEPENDS}
MAKE_ENV= ESDL_PATH=${LOCALBASE}/lib/erlang/lib/esdl
PLIST_SUB= VERSION="${PORTVERSION}"
......
......@@ -117,7 +117,8 @@
SUBDIR += echoping
SUBDIR += empty
SUBDIR += enet
SUBDIR += erlang_xmlrpc
SUBDIR += erlang-ranch
SUBDIR += erlang-xmlrpc
SUBDIR += etrace
SUBDIR += exabgp
SUBDIR += exaddos
......@@ -997,7 +998,6 @@
SUBDIR += radsecproxy
SUBDIR += radvd
SUBDIR += raggle
SUBDIR += ranch
SUBDIR += rdapper
SUBDIR += rdesktop
SUBDIR += rdist6
......
......@@ -4,14 +4,15 @@ PORTNAME= ranch
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= net
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang socket acceptor pool for TCP protocols
LICENSE= ISCL
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
......
# $FreeBSD$
PORTNAME= erlang_xmlrpc
PORTNAME= xmlrpc
PORTVERSION= 1.13
PORTREVISION= 12
CATEGORIES= net
MASTER_SITES= http://www.erlang.org/contrib/
DISTNAME= xmlrpc-${PORTVERSION}
PKGNAMEPREFIX= erlang-
DIST_SUBDIR= erlang
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Library for XMLRPC support in Erlang
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
......@@ -21,8 +21,6 @@ WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION}
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|XMERL_PATH=.*|XMERL_PATH=${LOCALBASE}/lib/erlang/lib/xmerl|g' ${WRKSRC}/src/Makefile
@${RM} ${WRKSRC}/src/Makefile.bak ${WRKSRC}/src/*.orig
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment