Commit aa6c626b authored by olgeni's avatar olgeni
Browse files

Add devel/elixir-conform, easy release configuration for Elixir apps.

parent c217de13
......@@ -409,6 +409,7 @@
SUBDIR += elfrc
SUBDIR += elfsh
SUBDIR += elftoaout
SUBDIR += elixir-conform
SUBDIR += embb
SUBDIR += epl.el
SUBDIR += epm
......
# $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>
SHA256 (bitwalker-conform-0.14.4_GH0.tar.gz) = ed11091d296b3787d5aadd429eced1c8c1f747437322c4008a994b0fad0cc93a
SIZE (bitwalker-conform-0.14.4_GH0.tar.gz) = 28344
--- 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."
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
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
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