2639467f7a
- Support multiple database in one Django instance - Model validation inspired by the Form validation - Vastly improved protection against Cross-Site Request Forgery - New user "message" framework, incl. support for anonymous users - Hooks for object-level permissions and permissions for anonymous users - Customization of e-mail sending via the new e-mail backend - Smarter if template tag
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2010/06/16 19:08:37 joerg Exp $
|
|
|
|
DJANGOVERS= 1.2.1
|
|
DISTNAME= Django-${DJANGOVERS}
|
|
PKGNAME= ${PYPKGPREFIX}-django-${DJANGOVERS}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://media.djangoproject.com/releases/1.2/
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://www.djangoproject.com/
|
|
COMMENT= Django, a high-level Python Web framework
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
PREV_PKGPATH= www/py-django-devel
|
|
|
|
PYDISTUTILSPKG= # yes
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup
|
|
|
|
.include "options.mk"
|
|
|
|
pre-configure:
|
|
.if empty(PKG_OPTIONS:Moracle)
|
|
rm -r ${WRKSRC}/django/db/backends/oracle
|
|
.endif
|
|
.if empty(PKG_OPTIONS:Mmysql)
|
|
rm -r ${WRKSRC}/django/db/backends/mysql
|
|
.endif
|
|
.if empty(PKG_OPTIONS:Mpgsql)
|
|
rm -r ${WRKSRC}/django/db/backends/postgresql
|
|
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"
|