openbsd-ports/www/py-jinja2/Makefile

35 lines
745 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/04/21 22:35:38 fgsch Exp $
COMMENT = fast, optionally sandboxed, Python template engine
MODPY_EGG_VERSION = 2.4.1
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>