openbsd-ports/www/py-jinja2/Makefile
2010-11-22 08:36:47 +00:00

35 lines
743 B
Makefile

# $OpenBSD: Makefile,v 1.9 2010/11/22 08:36:53 espie Exp $
COMMENT = fast, optionally sandboxed, Python template engine
MODPY_EGG_VERSION = 2.5.2
DISTNAME = Jinja2-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www devel
HOMEPAGE = http://jinja.pocoo.org/2/
MAINTAINER = Damien Miller <djm@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=J/Jinja2/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
REGRESS_DEPENDS = devel/py-nose
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-jinja2
cd ${WRKSRC}/docs/_build/html && \
pax -rw * ${PREFIX}/share/doc/py-jinja2
.include <bsd.port.mk>