1
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2
|
# $FreeBSD: head/www/py-django15/Makefile 356441 2014-06-04 06:47:40Z lwhsu $
|
3
|
|
4
|
PORTNAME= django
|
5
|
PORTVERSION= 1.5.8
|
6
|
CATEGORIES= www python
|
7
|
MASTER_SITES= https://www.djangoproject.com/m/releases/${PORTVERSION:R}/ \
|
8
|
CHEESESHOP
|
9
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
10
|
PKGNAMESUFFIX= 15
|
11
|
DISTNAME= Django-${PORTVERSION}
|
12
|
DIST_SUBDIR= python
|
13
|
|
14
|
MAINTAINER= lwhsu@FreeBSD.org
|
15
|
COMMENT= High-level Python Web framework
|
16
|
|
17
|
LICENSE= BSD3CLAUSE
|
18
|
|
19
|
USE_PYTHON= yes
|
20
|
USE_PYDISTUTILS= yes
|
21
|
PYDISTUTILS_AUTOPLIST= yes
|
22
|
|
23
|
CONFLICTS= py[23][0-9]-django-devel-[0-9]* py[23][0-9]-django-1.[0-46-9].*
|
24
|
|
25
|
DOCSDIR= ${PREFIX}/share/doc/py-django
|
26
|
|
27
|
# bypass infrastructure bug
|
28
|
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
29
|
OPTIONS_DEFINE= FASTCGI
|
30
|
OPTIONS_DEFAULT=SQLITE
|
31
|
OPTIONS_GROUP= DATABASE
|
32
|
OPTIONS_GROUP_DATABASE= SQLITE
|
33
|
HTMLDOCS_DESC= Install the HTML documentation (requires Sphinx)
|
34
|
|
35
|
.include <bsd.port.options.mk>
|
36
|
|
37
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
|
38
|
|
39
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
|
40
|
|
41
|
.include <bsd.port.mk>
|