openbsd-ports/www/py-mako/Makefile
2011-09-16 12:00:05 +00:00

36 lines
753 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/09/16 12:00:08 espie Exp $
COMMENT = super-fast templating language
MODPY_EGG_VERSION = 0.4.1
DISTNAME = Mako-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
REVISION = 1
CATEGORIES = www
HOMEPAGE = http://www.makotemplates.org/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}/downloads/
MODULES = lang/python
RUN_DEPENDS = textproc/py-MarkupSafe>=0.9.2 \
www/py-beaker>=1.1
REGRESS_DEPENDS = devel/py-nose>=0.11 \
${RUN_DEPENDS}
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-mako
cd ${WRKSRC}/doc && pax -rw *.html _static ${PREFIX}/share/doc/py-mako
.include <bsd.port.mk>