2011-09-16 08:00:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2011/09/16 12:00:08 espie Exp $
|
2011-03-27 20:20:20 -04:00
|
|
|
|
|
|
|
COMMENT = microframework based on Werkzeug and Jinja 2
|
|
|
|
|
2011-07-14 18:34:02 -04:00
|
|
|
MODPY_EGG_VERSION = 0.7.2
|
2011-03-27 20:20:20 -04:00
|
|
|
DISTNAME = Flask-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME:L}
|
2011-09-16 08:00:05 -04:00
|
|
|
REVISION= 0
|
2011-03-27 20:20:20 -04:00
|
|
|
|
|
|
|
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>
|