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 PORTNAME= django
PORTVERSION= 1.1.4 PORTVERSION= 1.1.4
PORTREVISION= 1
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= http://media.djangoproject.com/releases/${PORTVERSION}/ \ MASTER_SITES= http://media.djangoproject.com/releases/${PORTVERSION}/ \
CHEESESHOP CHEESESHOP
@ -17,6 +18,9 @@ DIST_SUBDIR= python
MAINTAINER= lwhsu@FreeBSD.org MAINTAINER= lwhsu@FreeBSD.org
COMMENT= High-level Python Web framework 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 LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}django11
USE_GETTEXT= yes USE_GETTEXT= yes
@ -24,12 +28,11 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Django 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 DOCSDIR= ${PREFIX}/share/doc/py-django
OPTIONS= MOD_PYTHON3 "Install Apache2 with mod_python3" off \ OPTIONS= POSTGRESQL "PostgreSQL support" off \
POSTGRESQL "PostgreSQL support" off \
MYSQL "MySQL support" off \ MYSQL "MySQL support" off \
SQLITE "SQLite support" off \ SQLITE "SQLite support" off \
FASTCGI "FastCGI support" off \ FASTCGI "FastCGI support" off \
@ -42,10 +45,6 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.pre.mk> .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) .if defined(WITH_POSTGRESQL)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
.endif .endif