36 lines
757 B
Makefile
36 lines
757 B
Makefile
# $OpenBSD: Makefile,v 1.7 2010/08/30 22:02:34 sthen Exp $
|
|
|
|
COMMENT = fast, optionally sandboxed, Python template engine
|
|
|
|
MODPY_EGG_VERSION = 2.5
|
|
DISTNAME = Jinja2-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME:L}
|
|
REVISION = 0
|
|
|
|
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>
|