Add a new USES elixir.mk (from lang/elixir/bsd.elixir.mk) and

adjust all Elixir ports.
This commit is contained in:
Jimmy Olgeni 2015-07-03 13:59:45 +00:00
parent e2de40bbc7
commit 708b7d3bf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391241
22 changed files with 40 additions and 23 deletions

View file

@ -1,6 +1,12 @@
# $FreeBSD$
#
# bsd.elixir.mk - Helper for Elixir applications
# Handle Elixir related ports
#
# Feature: elixir
# Usage: USES=elixir
# Valid ARGS: does not require args
#
# Additional variables:
#
# ELIXIR_APP_NAME - Elixir app name as installed in Elixir's lib directory
# ELIXIR_APP_ROOT - Root directory for this Elixir app
@ -9,7 +15,7 @@
# MIX_CMD - The "mix" command
# MIX_COMPILE - The "mix" command used to compile an Elixir app
# MIX_BUILD_DEPS - List of BUILD_DEPENDS in category/portname format
# (commonly referenced to as "deps" in Erlang and Elixir)
# (commonly referenced to as "deps" in Erlang and Elixir)
# MIX_RUN_DEPS - List of RUN_DEPENDS in category/portname format
# MIX_DOC_DIRS - Extra doc directories to be installed in DOCSDIR
# MIX_DOC_FILES - Extra doc files to be installed in DOCSDIR (usually README.md)
@ -18,6 +24,15 @@
# MIX_EXTRA_APPS - List of sub-applications to be built, if any
# MIX_EXTRA_DIRS - List of extra directories to be installed in ELIXIR_APP_ROOT
# MIX_EXTRA_FILES - List of extra files to be installed in ELIXIR_APP_ROOT
#
# MAINTAINER: olgeni@FreeBSD.org
.if !defined(_INCLUDE_USES_ELIXIR_MK)
_INCLUDE_USES_ELIXIR_MK=yes
.if !empty(elixir_ARGS)
IGNORE= USES=elixir does not require args
.endif
ELIXIR_APP_NAME?= ${PORTNAME}
ELIXIR_APP_ROOT?= ${PREFIX}/lib/elixir/lib/${ELIXIR_APP_NAME}
@ -93,3 +108,5 @@ do-install-elixir:
${INSTALL_DATA} ${WRKSRC}/${app}/_build/${MIX_BUILD_NAME}/lib/*/ebin/* \
${STAGEDIR}${ELIXIR_APP_ROOT}/ebin
.endfor
.endif #!defined(_INCLUDE_USES_ELIXIR_MK)

View file

@ -11,6 +11,7 @@ COMMENT= Database wrapper and language integrated query for Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= elixir-lang
@ -19,5 +20,4 @@ MIX_BUILD_DEPS= devel/elixir-decimal \
devel/erlang-poolboy
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,11 +11,11 @@ COMMENT= Database driver for MariaDB and MySQL written in Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= xerions
MIX_BUILD_DEPS= devel/elixir-decimal
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,6 +11,7 @@ COMMENT= Database driver for PostgreSQL written in Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= ericmj
@ -18,5 +19,4 @@ MIX_BUILD_NAME= shared
MIX_BUILD_DEPS= devel/elixir-decimal
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -12,11 +12,11 @@ COMMENT= Easy release configuration for Elixir apps
LICENSE= APACHE20 MIT
LICENSE_COMB= multi
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= bitwalker
MIX_BUILD_DEPS= devel/erlang-neotoma
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,8 +11,8 @@ COMMENT= Arbitrary precision decimal arithmetic for Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= ericmj
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,8 +11,8 @@ COMMENT= Mix dialyzer task
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= fishcakez
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,11 +11,11 @@ COMMENT= JSON library for Elixir
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= talentdeficit
MIX_BUILD_DEPS= devel/erlang-jsx
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -10,6 +10,7 @@ COMMENT= Automatically generate releases for Elixir projects
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= bitwalker
@ -17,5 +18,4 @@ MIX_BUILD_DEPS= devel/relx \
devel/elixir-conform
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,8 +11,8 @@ COMMENT= Lager backend for Elixir's Logger
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= PSPDFKit-labs
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,8 +11,8 @@ COMMENT= Composable modules for Elixir web applications
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= elixir-lang
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -10,8 +10,8 @@ COMMENT= Pure Elixir JSON library
LICENSE= ISCL
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= devinus
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -10,6 +10,7 @@ COMMENT= Date/time interval library for Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= bitwalker
@ -17,5 +18,4 @@ ELIXIR_APP_NAME=timex_interval
MIX_BUILD_DEPS= devel/elixir-timex
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -10,11 +10,11 @@ COMMENT= Complete date/time library for Elixir
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= bitwalker
MIX_BUILD_DEPS= devel/elixir-tzdata
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,8 +11,8 @@ COMMENT= Time zone data for Elixir
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= lau
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,9 +11,9 @@ COMMENT= Markdown parser for Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= pragdave
GH_TAGNAME= 07914f5
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -12,11 +12,11 @@ COMMENT= Tool to generate documentation for Elixir projects
LICENSE= APACHE20 MIT
LICENSE_COMB= multi
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= elixir-lang
MIX_BUILD_DEPS= textproc/elixir-earmark
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,6 +11,7 @@ COMMENT= Elixir RESTful framework
LICENSE= BSD3CLAUSE
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= falood
@ -20,5 +21,4 @@ MIX_BUILD_DEPS= devel/elixir-plug \
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_DOC_DIRS= guide
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -12,6 +12,7 @@ COMMENT= Web framework for Elixir
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= phoenixframework
@ -29,5 +30,4 @@ MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_EXTRA_APPS= installer
MIX_EXTRA_DIRS= installer/lib installer/templates
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,6 +11,7 @@ COMMENT= Ecto integration for the Phoenix framework
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= phoenixframework
@ -19,5 +20,4 @@ MIX_BUILD_DEPS= databases/elixir-ecto \
devel/elixir-poison
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,11 +11,11 @@ COMMENT= Functions for working with HTML from Phoenix
LICENSE= MIT
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= phoenixframework
MIX_BUILD_DEPS= devel/elixir-plug
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>

View file

@ -11,8 +11,8 @@ COMMENT= DSL for creating HTML structure straight with Elixir blocks.
LICENSE= BSD2CLAUSE
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= herenowcoder
.include "${.CURDIR}/../../lang/elixir/bsd.elixir.mk"
.include <bsd.port.mk>