Commit 601bc6eb authored by olgeni's avatar olgeni
Browse files

Add devel/elixir-plug, composable modules for Elixir web applications.

parent ee59de03
...@@ -411,6 +411,7 @@ ...@@ -411,6 +411,7 @@
SUBDIR += elftoaout SUBDIR += elftoaout
SUBDIR += elixir-conform SUBDIR += elixir-conform
SUBDIR += elixir-exrm SUBDIR += elixir-exrm
SUBDIR += elixir-plug
SUBDIR += elixir-poison SUBDIR += elixir-poison
SUBDIR += embb SUBDIR += embb
SUBDIR += epl.el SUBDIR += epl.el
......
# $FreeBSD$
PORTNAME= plug
PORTVERSION= 0.13.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= elixir-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Composable modules for Elixir web applications
LICENSE= APACHE20
BUILD_DEPENDS= elixir:${PORTSDIR}/lang/elixir
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= elixir-lang
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 (elixir-lang-plug-v0.13.0_GH0.tar.gz) = aacb1167da4e29d63f4a99a30ab73a68510a5339202fd090f03405618da6e049
SIZE (elixir-lang-plug-v0.13.0_GH0.tar.gz) = 102150
--- mix.exs.orig 2015-07-01 09:49:57 UTC
+++ mix.exs
@@ -24,11 +24,7 @@ defmodule Plug.Mixfile do
end
def deps do
- [{:cowboy, "~> 1.0", optional: true},
- {:earmark, "~> 0.1", only: :docs},
- {:ex_doc, "~> 0.7", only: :docs},
- {:inch_ex, only: :docs},
- {:hackney, "~> 0.13", only: :test}]
+ []
end
defp package do
A specification for composable modules in between web applications.
WWW: https://github.com/elixir-lang/plug
lib/elixir/lib/plug/ebin/Elixir.Collectable.Plug.Conn.beam
lib/elixir/lib/plug/ebin/Elixir.Inspect.Plug.Conn.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Adapters.Cowboy.Conn.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Adapters.Cowboy.Handler.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Adapters.Cowboy.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Adapters.Test.Conn.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Adapters.Translator.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Builder.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.CSRFProtection.InvalidCSRFTokenError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.CSRFProtection.InvalidCrossOriginRequestError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.CSRFProtection.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.Adapter.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.AlreadySentError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.Cookies.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.InvalidHeaderKeyFormatError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.NotSentError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.Query.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.Status.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.Unfetched.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.Utils.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.WrapperError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Conn.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Crypto.KeyGenerator.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Crypto.MessageEncryptor.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Crypto.MessageVerifier.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Crypto.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Debugger.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.ErrorHandler.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Exception.Any.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Exception.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.HTML.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Head.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Logger.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.MIME.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.MethodOverride.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.BadEncodingError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.JSON.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.MULTIPART.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.ParseError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.RequestTooLargeError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.URLENCODED.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.UnsupportedMediaTypeError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Parsers.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.RequestId.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Router.InvalidSpecError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Router.Utils.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Router.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.SSL.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Session.COOKIE.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Session.ETS.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Session.Store.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Session.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Static.InvalidPathError.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Static.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Supervisor.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Test.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.Upload.beam
lib/elixir/lib/plug/ebin/Elixir.Plug.beam
lib/elixir/lib/plug/ebin/plug.app
lib/elixir/lib/plug/lib/plug.ex
lib/elixir/lib/plug/lib/plug/adapters/cowboy.ex
lib/elixir/lib/plug/lib/plug/adapters/cowboy/conn.ex
lib/elixir/lib/plug/lib/plug/adapters/cowboy/handler.ex
lib/elixir/lib/plug/lib/plug/adapters/test/conn.ex
lib/elixir/lib/plug/lib/plug/adapters/translator.ex
lib/elixir/lib/plug/lib/plug/builder.ex
lib/elixir/lib/plug/lib/plug/conn.ex
lib/elixir/lib/plug/lib/plug/conn/adapter.ex
lib/elixir/lib/plug/lib/plug/conn/cookies.ex
lib/elixir/lib/plug/lib/plug/conn/query.ex
lib/elixir/lib/plug/lib/plug/conn/status.ex
lib/elixir/lib/plug/lib/plug/conn/unfetched.ex
lib/elixir/lib/plug/lib/plug/conn/utils.ex
lib/elixir/lib/plug/lib/plug/conn/wrapper_error.ex
lib/elixir/lib/plug/lib/plug/crypto.ex
lib/elixir/lib/plug/lib/plug/crypto/key_generator.ex
lib/elixir/lib/plug/lib/plug/crypto/message_encryptor.ex
lib/elixir/lib/plug/lib/plug/crypto/message_verifier.ex
lib/elixir/lib/plug/lib/plug/csrf_protection.ex
lib/elixir/lib/plug/lib/plug/debugger.ex
lib/elixir/lib/plug/lib/plug/error_handler.ex
lib/elixir/lib/plug/lib/plug/exceptions.ex
lib/elixir/lib/plug/lib/plug/head.ex
lib/elixir/lib/plug/lib/plug/html.ex
lib/elixir/lib/plug/lib/plug/logger.ex
lib/elixir/lib/plug/lib/plug/method_override.ex
lib/elixir/lib/plug/lib/plug/mime.ex
lib/elixir/lib/plug/lib/plug/mime.types
lib/elixir/lib/plug/lib/plug/parsers.ex
lib/elixir/lib/plug/lib/plug/parsers/json.ex
lib/elixir/lib/plug/lib/plug/parsers/multipart.ex
lib/elixir/lib/plug/lib/plug/parsers/urlencoded.ex
lib/elixir/lib/plug/lib/plug/request_id.ex
lib/elixir/lib/plug/lib/plug/router.ex
lib/elixir/lib/plug/lib/plug/router/utils.ex
lib/elixir/lib/plug/lib/plug/session.ex
lib/elixir/lib/plug/lib/plug/session/cookie.ex
lib/elixir/lib/plug/lib/plug/session/ets.ex
lib/elixir/lib/plug/lib/plug/session/store.ex
lib/elixir/lib/plug/lib/plug/ssl.ex
lib/elixir/lib/plug/lib/plug/static.ex
lib/elixir/lib/plug/lib/plug/supervisor.ex
lib/elixir/lib/plug/lib/plug/templates/debugger.eex
lib/elixir/lib/plug/lib/plug/test.ex
lib/elixir/lib/plug/lib/plug/upload.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