freebsd-ports/databases/elixir-ecto/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

41 lines
796 B
Makefile

# $FreeBSD$
PORTNAME= ecto
PORTVERSION= 2.2.10
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= elixir-
MAINTAINER= erlang@FreeBSD.org
COMMENT= Database wrapper and language integrated query for Elixir
LICENSE= APACHE20
USES= elixir
USE_GITHUB= yes
GH_ACCOUNT= elixir-ecto
OPTIONS_DEFINE= POSTGREX MARIAEX DOCS
OPTIONS_SUB= yes
POSTGREX_DESC= PostgreSQL adapter support
MARIAEX_DESC= MySQL adapter support
MIX_BUILD_NAME= shared
MIX_BUILD_DEPS= devel/elixir-decimal \
devel/elixir-poison \
devel/erlang-poolboy
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPOSTGREX}
MIX_BUILD_DEPS+=databases/elixir-postgrex
.endif
.if ${PORT_OPTIONS:MMARIAEX}
MIX_BUILD_DEPS+=databases/elixir-mariaex
.endif
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
MIX_REWRITE= yes
.include <bsd.port.mk>