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= lager_syslog
PORTVERSION= 2.1.1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Syslog backend for Lager
......@@ -10,7 +11,7 @@ COMMENT= Syslog backend for Lager
LICENSE= APACHE20
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
lager>=2.1.1:${PORTSDIR}/devel/lager \
erlang-lager>=2.1.1:${PORTSDIR}/devel/erlang-lager \
erlang-syslog>=1.0.3:${PORTSDIR}/devel/erlang-syslog
RUN_DEPENDS:= ${BUILD_DEPENDS}
......
......@@ -3,6 +3,7 @@
PORTNAME= meck
PORTVERSION= 0.8.3
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang library for building mock modules
......@@ -18,8 +19,6 @@ USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= eproxus
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
......
......@@ -4,6 +4,7 @@ PORTNAME= neotoma
PORTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang library and packrat parser-generator
......@@ -22,17 +23,13 @@ PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= seancribbs
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/neotoma.app.src
@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.textile ${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}/priv
......
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