Commit 55301e29 authored by olgeni's avatar olgeni
Browse files

Add devel/erlang-rebar3_hex, the rebar3 Hex plugin.

parent aa6c626b
......@@ -442,6 +442,7 @@
SUBDIR += erlang-poolboy
SUBDIR += erlang-protobuffs
SUBDIR += erlang-providers
SUBDIR += erlang-rebar3_hex
SUBDIR += erlang-recon
SUBDIR += erlang-ssl_verify_hostname
SUBDIR += erlang-syslog
......
# $FreeBSD$
PORTNAME= rebar3_hex
PORTVERSION= 0.1.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Rebar3 Hex library
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang \
rebar:${PORTSDIR}/devel/rebar \
erlang-erlware_commons>=0:${PORTSDIR}/devel/erlang-erlware_commons \
erlang-ssl_verify_hostname>=0:${PORTSDIR}/devel/erlang-ssl_verify_hostname \
erlang-jsx>=0:${PORTSDIR}/devel/erlang-jsx \
erlang-providers>=0:${PORTSDIR}/devel/erlang-providers
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
erlang-erlware_commons>=0:${PORTSDIR}/devel/erlang-erlware_commons \
erlang-ssl_verify_hostname>=0:${PORTSDIR}/devel/erlang-ssl_verify_hostname \
erlang-jsx>=0:${PORTSDIR}/devel/erlang-jsx \
erlang-providers>=0:${PORTSDIR}/devel/erlang-providers
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= hexpm
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}/priv
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/priv/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>
SHA256 (hexpm-rebar3_hex-v0.1.0_GH0.tar.gz) = 5cab98de1301b445c9986eb1ecac95ba581276cd23b7f9b6622f5f6f5700a9e9
SIZE (hexpm-rebar3_hex-v0.1.0_GH0.tar.gz) = 290539
--- rebar.config.orig 2015-06-29 12:59:06 UTC
+++ rebar.config
@@ -1,9 +1,5 @@
{erl_opts, [debug_info]}.
{deps, [
- {erlware_commons, "0.12.0"},
- {ssl_verify_hostname, "1.0.4"},
- {jsx, "2.6.1"},
- {providers, "1.3.1"}
]}.
{overrides, [{override, erlware_commons, [{plugins, []}]}]}.
Providers for interacting with the Erlang package manager hex.pm.
WWW: https://github.com/hexpm/rebar3_hex
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex.app
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_cacerts.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_config.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_docs.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_http.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_info.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_key.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_owner.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_pkg.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_search.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_tar.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_user.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/ebin/rebar3_hex_utils.beam
lib/erlang/lib/rebar3_hex-%%VERSION%%/priv/ca-bundle.crt
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex.app.src
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex.hrl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_cacerts.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_config.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_docs.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_http.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_info.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_key.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_owner.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_pkg.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_search.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_tar.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_user.erl
lib/erlang/lib/rebar3_hex-%%VERSION%%/src/rebar3_hex_utils.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md
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