blob: f9e878dabb7101c9d31c7a25312e24a204ee7c28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.4 2008/08/29 14:56:59 joerg Exp $
DISTNAME= Django-1.0-beta_2
PKGNAME= ${PYPKGPREFIX}-django-1.0beta2
CATEGORIES= www python
MASTER_SITES= http://media.djangoproject.com/releases/1.0/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.djangoproject.com/
COMMENT= Django, a high-level Python Web framework
PYDISTUTILSPKG= # yes
PYBINMODULE= # yes
PYTHON_VERSIONS_ACCEPTED= 25 24
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup
.include "options.mk"
post-extract:
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) && empty(PKG_OPTIONS:Mpsycopg2)
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"
|