1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add devel/relx, a release creation tool for Erlang.

This commit is contained in:
Jimmy Olgeni 2015-05-17 18:31:46 +00:00
parent 6d2ca25189
commit 63438fdc87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386641
5 changed files with 63 additions and 0 deletions

View File

@ -4351,6 +4351,7 @@
SUBDIR += rebar3
SUBDIR += regexx
SUBDIR += regexxer
SUBDIR += relx
SUBDIR += remake
SUBDIR += renpy
SUBDIR += replay

38
devel/relx/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $FreeBSD$
PORTNAME= relx
PORTVERSION= 2.0.0
DISTVERSIONPREFIX=v
CATEGORIES= devel
MASTER_SITES+= http://olgeni.olgeni.com/~olgeni/distfiles/:deps \
LOCAL/olgeni:deps
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} relx-deps-1.tar.gz:deps
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Sane, simple release creation for Erlang
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang \
${LOCALBASE}/bin/git:${PORTSDIR}/devel/git
RUN_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
USE_GITHUB= yes
GH_ACCOUNT= erlware
PLIST_FILES= bin/${PORTNAME}
post-extract:
@${CP} -R ${WRKDIR}/_build ${WRKSRC}/
post-patch:
@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/relx.app.src
@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
do-build:
@cd ${WRKSRC} && ./rebar3 escriptize
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/_build/default/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

4
devel/relx/distinfo Normal file
View File

@ -0,0 +1,4 @@
SHA256 (erlware-relx-v2.0.0_GH0.tar.gz) = 449e6394414af6d7aa9810dea441b8146eab878148489197a3751e4b70c79fc9
SIZE (erlware-relx-v2.0.0_GH0.tar.gz) = 1446671
SHA256 (relx-deps-1.tar.gz) = 1a730e88a1399579f2b16a8296ced0c4a68bf66de7d3ca901b139ab666271bda
SIZE (relx-deps-1.tar.gz) = 2287874

View File

@ -0,0 +1,11 @@
--- src/relx.app.src.orig 2015-05-17 16:12:26 UTC
+++ src/relx.app.src
@@ -20,7 +20,7 @@
{application, relx,
[{description, "Release assembler for Erlang/OTP Releases"},
- {vsn, "semver"},
+ {vsn, "%%PORTVERSION%%"},
{modules, []},
{registered, []},
{applications, [kernel, stdlib, getopt, erlware_commons, providers]}]}.

9
devel/relx/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
Relx assembles releases for an Erlang/OTP release. Given a release
specification and a list of directories in which to search for OTP
applications it will generate a release output.
That output depends heavily on what plugins available and what
options are defined, but usually it is simply a well configured
release directory.
WWW: https://github.com/erlware/relx