Commit 1d2c90fe authored by olgeni's avatar olgeni
Browse files

Add devel/elixir-decimal, arbitrary precision decimal arithmetic

for Elixir.
parent 162ed5e8
......@@ -410,6 +410,7 @@
SUBDIR += elfsh
SUBDIR += elftoaout
SUBDIR += elixir-conform
SUBDIR += elixir-decimal
SUBDIR += elixir-exrm
SUBDIR += elixir-plug
SUBDIR += elixir-poison
......
# $FreeBSD$
PORTNAME= decimal
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= elixir-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Arbitrary precision decimal arithmetic for Elixir
LICENSE= APACHE20
BUILD_DEPENDS= elixir:${PORTSDIR}/lang/elixir
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= ericmj
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 (ericmj-decimal-v1.1.0_GH0.tar.gz) = dd0bb6a4f27d543abae947a0e9acc2244f4f5f0a9bfad913506cf2c4dee26a25
SIZE (ericmj-decimal-v1.1.0_GH0.tar.gz) = 13928
--- mix.exs.orig 2015-07-01 10:24:04 UTC
+++ mix.exs
@@ -21,8 +21,7 @@ defmodule Decimal.Mixfile do
end
defp deps do
- [{:ex_doc, only: :dev},
- {:earmark, only: :dev}]
+ []
end
defp description do
Arbitrary precision decimal arithmetic for Elixir.
WWW: https://github.com/ericmj/decimal
lib/elixir/lib/decimal/ebin/Elixir.Decimal.Context.beam
lib/elixir/lib/decimal/ebin/Elixir.Decimal.Error.beam
lib/elixir/lib/decimal/ebin/Elixir.Decimal.beam
lib/elixir/lib/decimal/ebin/Elixir.Inspect.Decimal.beam
lib/elixir/lib/decimal/ebin/Elixir.String.Chars.Decimal.beam
lib/elixir/lib/decimal/ebin/decimal.app
lib/elixir/lib/decimal/lib/decimal.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