blob: 82a4638eeb89817df24d281efc24e8ca972c68b9 (
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
|
# $NetBSD: Makefile,v 1.74 2016/07/19 07:32:42 adam Exp $
DISTNAME= Django-1.9.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= http://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.djangoproject.com/
COMMENT= Django, a high-level Python Web framework
LICENSE= modified-bsd
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
USE_LANGUAGES= # empty
REPLACE_PYTHON= ${WRKSRC}/django/bin/django-admin.py
REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/manage.py-tpl
PYTHON_VERSIONED_DEPENDENCIES= flup
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/django-admin \
${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/django-admin.py \
${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX}.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|