openbsd-ports/www/py-flask/Makefile
fgsch 1450f2352d update to flask 0.8.
from wen heping (wenheping-at-gmail-dot-com)
2011-10-05 08:36:58 +00:00

36 lines
757 B
Makefile

# $OpenBSD: Makefile,v 1.6 2011/10/05 08:36:58 fgsch Exp $
COMMENT = microframework based on Werkzeug and Jinja 2
MODPY_EGG_VERSION = 0.8
DISTNAME = Flask-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www devel
HOMEPAGE = http://flask.pocoo.org/
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=F/Flask/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = www/py-jinja2>=2.4 \
www/py-werkzeug>=0.6.1 \
${MODPY_JSON}
REGRESS_DEPENDS = ${RUN_DEPENDS}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-flask
cd ${WRKSRC}/examples && \
pax -rw * ${PREFIX}/share/examples/py-flask
.include <bsd.port.mk>