# $NetBSD: Makefile,v 1.84 2017/04/05 17:08:48 adam Exp $ DISTNAME= Django-1.11 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= www python MASTER_SITES= http://www.djangoproject.com/m/releases/${PKGVERSION_NOREV}/ MAINTAINER= joerg@NetBSD.org HOMEPAGE= http://www.djangoproject.com/ COMMENT= Django, a high-level Python Web framework LICENSE= modified-bsd USE_LANGUAGES= # empty REPLACE_PYTHON= ${WRKSRC}/django/bin/django-admin.py REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/manage.py-tpl DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz post-install: ${MV} ${DESTDIR}${PREFIX}/bin/django-admin \ ${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX} || ${TRUE} ${MV} ${DESTDIR}${PREFIX}/bin/django-admin.py \ ${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX}.py || ${TRUE} .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"