4ca6024ca2
ok rpointel@
41 lines
753 B
Makefile
41 lines
753 B
Makefile
# $OpenBSD: Makefile,v 1.16 2014/09/29 07:02:03 jasper Exp $
|
|
|
|
COMMENT = super-fast templating language
|
|
|
|
MODPY_EGG_VERSION = 0.9.1
|
|
DISTNAME = Mako-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME:L}
|
|
|
|
REVISION = 1
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://www.makotemplates.org/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=M/Mako/}
|
|
|
|
MODULES = lang/python
|
|
|
|
FLAVORS= python3
|
|
FLAVOR?=
|
|
|
|
RUN_DEPENDS = textproc/py-MarkupSafe${MODPY_FLAVOR} \
|
|
www/py-beaker${MODPY_FLAVOR}
|
|
|
|
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \
|
|
devel/py-babel${MODPY_FLAVOR} \
|
|
${RUN_DEPENDS}
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
.if ${FLAVOR:Mpython3}
|
|
post-install:
|
|
mv ${PREFIX}/bin/mako-render \
|
|
${PREFIX}/bin/mako-render${MODPY_BIN_SUFFIX}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|