summaryrefslogtreecommitdiff
path: root/www/elixir-phoenix/Makefile
blob: 2246c3d25c37db39e8d598b52a91e151f226eb04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PORTNAME=	phoenix
PORTVERSION=	1.3.3
DISTVERSIONPREFIX=	v
CATEGORIES=	www
PKGNAMEPREFIX=	elixir-

MAINTAINER=	erlang@FreeBSD.org
COMMENT=	Web framework for Elixir

LICENSE=	MIT

USES=		elixir
USE_GITHUB=	yes
GH_ACCOUNT=	phoenixframework

OPTIONS_DEFINE=	COWBOY DOCS
COWBOY_DESC=	Use Cowboy library

COWBOY_BUILD_DEPENDS=	erlang-cowboy>=0:www/erlang-cowboy
COWBOY_RUN_DEPENDS=	erlang-cowboy>=0:www/erlang-cowboy

.include <bsd.port.options.mk>

MIX_BUILD_DEPS=	devel/elixir-plug \
		devel/elixir-poison \
		www/elixir-phoenix_pubsub
MIX_RUN_DEPS:=	${MIX_BUILD_DEPS}
MIX_EXTRA_APPS=	installer
MIX_EXTRA_DIRS=	installer/lib installer/templates
MIX_REWRITE=	yes

.include <bsd.port.mk>