aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-django13/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-django13/Makefile')
-rw-r--r--www/py-django13/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/www/py-django13/Makefile b/www/py-django13/Makefile
index 217298e9879f..ad37e28fe7cb 100644
--- a/www/py-django13/Makefile
+++ b/www/py-django13/Makefile
@@ -7,27 +7,32 @@
PORTNAME?= django
PORTVERSION?= 0.95.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= www python
MASTER_SITES?= http://media.djangoproject.com/releases/${PORTVERSION:R}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Django-${PORTVERSION}
+DIST_SUBDIR= python
MAINTAINER?= python@FreeBSD.org
COMMENT= High-level Python Web framework
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${BUILD_DEPENDS}
-DIST_SUBDIR= python
-USE_PYTHON= 2.3+
USE_GETTEXT= yes
+USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
-NO_BUILD= yes
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+
DOCSDIR= ${PREFIX}/share/doc/py-django
-DJANGOVER?= ${PORTVERSION}
-PYTHONVER?= ${_PYTHON_VERSION}
-PLIST_SUB= DJANGOVER=${DJANGOVER} \
- PYTHONVER=${PYTHONVER}
+
+PYDJANGO_EGG= Django-${PORTVERSION}-py${PYTHON_VER}.egg
+
+PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ PYDJANGO_EGG=${PYDJANGO_EGG} \
+ PYDJANGO_EGG_VER="Django==${PORTVERSION}"
OPTIONS= MOD_PYTHON3 "Install Apache2 with mod_python3" off \
POSTGRESQL "PostgreSQL support" off \