diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-06-29 20:38:56 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-06-29 20:38:56 +0000 |
commit | d5ee79ae16c7a63f0ff720bc21c978c5bd1c21bc (patch) | |
tree | e51216fcfd29ef6d04c5f576b3f27e31a6854557 /devel | |
parent | 79f85557ffe938cacedfa2ab19641f360385bf9b (diff) | |
download | ports-d5ee79ae16c7a63f0ff720bc21c978c5bd1c21bc.tar.gz ports-d5ee79ae16c7a63f0ff720bc21c978c5bd1c21bc.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/elixir-conform/Makefile | 39 | ||||
-rw-r--r-- | devel/elixir-conform/distinfo | 2 | ||||
-rw-r--r-- | devel/elixir-conform/files/patch-mix.exs | 10 | ||||
-rw-r--r-- | devel/elixir-conform/pkg-descr | 16 | ||||
-rw-r--r-- | devel/elixir-conform/pkg-plist | 28 |
6 files changed, 96 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0dabc6d10541..9c54575dfd2a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -409,6 +409,7 @@ SUBDIR += elfrc SUBDIR += elfsh SUBDIR += elftoaout + SUBDIR += elixir-conform SUBDIR += embb SUBDIR += epl.el SUBDIR += epm diff --git a/devel/elixir-conform/Makefile b/devel/elixir-conform/Makefile new file mode 100644 index 000000000000..6c61833e70a9 --- /dev/null +++ b/devel/elixir-conform/Makefile @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= conform +PORTVERSION= 0.14.4 +CATEGORIES= devel +PKGNAMEPREFIX= elixir- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Easy release configuration for Elixir apps + +LICENSE= APACHE20 MIT +LICENSE_COMB= multi + +BUILD_DEPENDS= elixir:${PORTSDIR}/lang/elixir \ + erlang-neotoma>=0:${PORTSDIR}/devel/erlang-neotoma +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PLIST_SUB= VERSION="${PORTVERSION}" + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= bitwalker + +do-build: + @cd ${WRKSRC} && MIX_ENV=prod mix compile + +post-build: + @${LN} -s ${WRKSRC}/_build/prod/lib/${PORTNAME}/ebin ${WRKSRC}/ebin + +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/ebin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/lib + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/ebin + cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/lib + +.include <bsd.port.mk> diff --git a/devel/elixir-conform/distinfo b/devel/elixir-conform/distinfo new file mode 100644 index 000000000000..fcbd22eee440 --- /dev/null +++ b/devel/elixir-conform/distinfo @@ -0,0 +1,2 @@ +SHA256 (bitwalker-conform-0.14.4_GH0.tar.gz) = ed11091d296b3787d5aadd429eced1c8c1f747437322c4008a994b0fad0cc93a +SIZE (bitwalker-conform-0.14.4_GH0.tar.gz) = 28344 diff --git a/devel/elixir-conform/files/patch-mix.exs b/devel/elixir-conform/files/patch-mix.exs new file mode 100644 index 000000000000..6bcd8b797801 --- /dev/null +++ b/devel/elixir-conform/files/patch-mix.exs @@ -0,0 +1,10 @@ +--- mix.exs.orig 2015-06-29 10:03:33 UTC ++++ mix.exs +@@ -25,7 +25,6 @@ defmodule Conform.Mixfile do + defp compilers(true), do: [:peg, :erlang, :elixir, :app] + defp compilers(_), do: nil + +- defp deps(true), do: [{:neotoma, github: "seancribbs/neotoma"}] + defp deps(_), do: [] + + defp description, do: "Easy release configuration for Elixir apps." diff --git a/devel/elixir-conform/pkg-descr b/devel/elixir-conform/pkg-descr new file mode 100644 index 000000000000..86abd29a62bc --- /dev/null +++ b/devel/elixir-conform/pkg-descr @@ -0,0 +1,16 @@ +The definition of conform is "Adapt or conform oneself to new or +different conditions". As this library is used to adapt your +application to its deployed environment, I think it's rather fitting. +It's also a play on the word configuration, and the fact that Conform +uses an init-style configuration, maintained in a .conf file. + +Conform is a library for Elixir applications. Its original intended +use is in exrm as means of providing a simplified configuration +file for deployed releases, but is flexible enough to work for any +use case where you want init-style configuration translated to +Elixir/Erlang terms. It is inspired directly by basho/cuttlefish, +and in fact uses its .conf parser. Beyond that, you can look at +conform as a reduced (but growing!) implementation of cuttlefish +in Elixir. + +WWW: https://github.com/bitwalker/conform diff --git a/devel/elixir-conform/pkg-plist b/devel/elixir-conform/pkg-plist new file mode 100644 index 000000000000..902b869e5679 --- /dev/null +++ b/devel/elixir-conform/pkg-plist @@ -0,0 +1,28 @@ +lib/elixir/lib/conform/ebin/Elixir.Conform.Config.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Options.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Parse.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Schema.SchemaError.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Schema.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Translate.TranslateError.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Translate.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Utils.Code.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.Utils.beam +lib/elixir/lib/conform/ebin/Elixir.Conform.beam +lib/elixir/lib/conform/ebin/Elixir.Mix.Tasks.Conform.Configure.beam +lib/elixir/lib/conform/ebin/Elixir.Mix.Tasks.Conform.Effective.beam +lib/elixir/lib/conform/ebin/Elixir.Mix.Tasks.Conform.New.beam +lib/elixir/lib/conform/ebin/Elixir.Mix.Tasks.Conform.Release.beam +lib/elixir/lib/conform/ebin/conf_parse.beam +lib/elixir/lib/conform/ebin/conform.app +lib/elixir/lib/conform/lib/conform.ex +lib/elixir/lib/conform/lib/conform/config.ex +lib/elixir/lib/conform/lib/conform/parse.ex +lib/elixir/lib/conform/lib/conform/schema.ex +lib/elixir/lib/conform/lib/conform/translate.ex +lib/elixir/lib/conform/lib/conform/utils/code.ex +lib/elixir/lib/conform/lib/conform/utils/utils.ex +lib/elixir/lib/conform/lib/mix/tasks/conform.configure.ex +lib/elixir/lib/conform/lib/mix/tasks/conform.effective.ex +lib/elixir/lib/conform/lib/mix/tasks/conform.new.ex +lib/elixir/lib/conform/lib/mix/tasks/conform.release.ex +%%PORTDOCS%%%%DOCSDIR%%/README.md |