From 7933e6d482b57b4f493341c9a668948d163e63fd Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 11 Sep 2006 11:38:33 +0000 Subject: Import Django 0.95 from pkgsrc-wip: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Django was designed to make common Web-development tasks fast and easy. --- www/py-django/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 www/py-django/Makefile (limited to 'www/py-django/Makefile') diff --git a/www/py-django/Makefile b/www/py-django/Makefile new file mode 100644 index 00000000000..a78cfcbd081 --- /dev/null +++ b/www/py-django/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/09/11 11:38:33 joerg Exp $ + +DISTNAME= Django-0.95 +PKGNAME= ${PYPKGPREFIX}-django-0.95 +CATEGORIES= www python +MASTER_SITES= http://www.djangoproject.com/download/ + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= http://www.djangoproject.com/ +COMMENT= Django, a high-level Python Web framework + +PYDISTUTILSPKG= # yes +PYBINMODULE= # yes +PYTHON_VERSIONS_ACCEPTED= 24 +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} + +DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py24-setuptools +DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup + +.include "options.mk" + +post-extract: + rm -r ${WRKSRC}/django/db/backends/ado_mssql + rm -r ${WRKSRC}/django/db/backends/oracle +.if empty(PKG_OPTIONS:Mmysql) + rm -r ${WRKSRC}/django/db/backends/mysql +.endif +.if empty(PKG_OPTIONS:Mpsycopg1) + rm -r ${WRKSRC}/django/db/backends/postgresql +.endif +.if empty(PKG_OPTIONS:Mpsycopg2) + rm -r ${WRKSRC}/django/db/backends/postgresql_psycopg2 +.endif +.if empty(PKG_OPTIONS:Msqlite) + rm -r ${WRKSRC}/django/db/backends/sqlite3 +.endif + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3