openbsd-ports/www/py-jinja2/Makefile

35 lines
745 B
Makefile
Raw Normal View History

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