summaryrefslogtreecommitdiff
path: root/www/django/Makefile
blob: 6e85c715d468d83fdead6638cb3b7dd05d10b6b4 (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
# $NetBSD: Makefile,v 1.2 2007/11/06 14:13:35 rillig Exp $
#

DISTNAME=	Django-0.96.1
PKGNAME=	django-0.96.1
CATEGORIES=	www
MASTER_SITES=	http://media.djangoproject.com/releases/0.96/

MAINTAINER=	rillig@NetBSD.org
HOMEPAGE=	http://www.djangoproject.com/
COMMENT=	Python web development framework

USE_LANGUAGES=	# only Python
PYTHON_VERSIONS_INCOMPATIBLE=	15 20 21 22
PY_PATCHPLIST=	yes
INSTALLATION_DIRS=	share/doc/django share/examples/django

do-build:
	cd ${WRKSRC} && env ${MAKE_ENV} ${PYTHONBIN} setup.py build

do-install:
	cd ${WRKSRC} && env ${INSTALL_ENV} ${MAKE_ENV} ${PYTHONBIN} setup.py install
	cd ${WRKSRC}/docs && pax -wr *.txt ${PREFIX}/share/doc/django
	cd ${WRKSRC}/examples && pax -wr * ${PREFIX}/share/examples/django
	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS LICENSE README ${PREFIX}/share/doc/django

.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"