1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Add LATEST_LINK

- Correct CONFLICTS
- Remove mod_python3 option, this is not Django really depends on
- Set DEPRECATED and EXPIRATION_DATE
This commit is contained in:
Li-Wen Hsu 2011-03-27 15:03:29 +00:00
parent b52ab885cc
commit 7c0ab55426
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271893

View File

@ -7,6 +7,7 @@
PORTNAME= django
PORTVERSION= 1.1.4
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://media.djangoproject.com/releases/${PORTVERSION}/ \
CHEESESHOP
@ -17,6 +18,9 @@ DIST_SUBDIR= python
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= High-level Python Web framework
DEPRECATED= Unsupported (no longer receive security updates or bugfixes)
EXPIRATION_DATE= 2011-05-01
LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}django11
USE_GETTEXT= yes
@ -24,12 +28,11 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Django
CONFLICTS= py2[0-9]-django-devel-[0-9]*
CONFLICTS= py2[0-9]-django-devel-[0-9]* py2[0-9]-django-1.[23]*
DOCSDIR= ${PREFIX}/share/doc/py-django
OPTIONS= MOD_PYTHON3 "Install Apache2 with mod_python3" off \
POSTGRESQL "PostgreSQL support" off \
OPTIONS= POSTGRESQL "PostgreSQL support" off \
MYSQL "MySQL support" off \
SQLITE "SQLite support" off \
FASTCGI "FastCGI support" off \
@ -42,10 +45,6 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.pre.mk>
.if defined(WITH_MOD_PYTHON3)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/mod_python/_psp.so:${PORTSDIR}/www/mod_python3
.endif
.if defined(WITH_POSTGRESQL)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
.endif