# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD: head/www/py-django/Makefile 468878 2018-05-02 20:36:48Z sunpoet $

PORTNAME=	django
CATEGORIES=	www python
PORTVERSION=	1.11.13
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	python@FreeBSD.org
COMMENT=	High-level Python Web Framework (meta port)

LICENSE=	BSD3CLAUSE

OPTIONS_SINGLE=	DJANGO
OPTIONS_SINGLE_DJANGO=	DJANGO20 DJANGO111 DJANGO18
OPTIONS_DEFAULT=DJANGO111
DJANGO18_DESC=	Use Django 1.8.x
DJANGO111_DESC=	Use Django 1.11.x
DJANGO20_DESC=	Use Django 2.0

PORTSCOUT=	ignore:1

USES=		cpe metaport python:run
USE_PYTHON=	flavors

CPE_VENDOR=	djangoproject

DJANGO18_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${FLAVOR}
DJANGO111_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${FLAVOR}
DJANGO20_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django20>=0:www/py-django20@${FLAVOR}

.include <bsd.port.mk>
