- Add LATEST_LINK

- Correct CONFLICTS
- Remove mod_python3 option, this is not Django really depends on
This commit is contained in:
Li-Wen Hsu 2011-03-27 15:03:02 +00:00
parent 393c84a8f2
commit b52ab885cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271892

View File

@ -7,6 +7,7 @@
PORTNAME= django
PORTVERSION= 1.2.5
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://media.djangoproject.com/releases/${PORTVERSION:R}/ \
CHEESESHOP
@ -17,17 +18,18 @@ DIST_SUBDIR= python
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= High-level Python Web framework
LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}django12
USE_GETTEXT= yes
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.[13]*
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 \
@ -40,10 +42,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}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2
.endif