29 lines
1.2 KiB
Makefile
29 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2014/05/03 01:40:24 rodent Exp $
|
|
|
|
DISTNAME= Flask-DebugToolbar-0.9.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= python www
|
|
MASTER_SITES= https://pypi.python.org/packages/source/F/Flask-DebugToolbar/
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
HOMEPAGE= http://flask-debugtoolbar.rtfd.org/
|
|
COMMENT= Port of the Django debug toolbar to Flask
|
|
LICENSE= apache-2.0 AND gnu-gpl-v3 AND gnu-lgpl-v2.1 AND mit AND modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-flask>0.8:../../www/py-flask
|
|
DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
|
|
DEPENDS+= ${PYPKGPREFIX}-itsdangerous-[0-9]*:../../security/py-itsdangerous
|
|
DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
EGG_NAME= ${DISTNAME:S/-/_/1}
|
|
|
|
post-install:
|
|
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_debugtoolbar/static/codemirror/mode/properties/index.html
|
|
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_debugtoolbar/static/codemirror/mode/properties/properties.js
|
|
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_debugtoolbar/static/img/tick-red.png
|
|
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_debugtoolbar/static/img/tick.png
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|