openbsd-ports/www/py-tempita/Makefile
2010-11-22 08:36:47 +00:00

37 lines
754 B
Makefile

# $OpenBSD: Makefile,v 1.6 2010/11/22 08:36:53 espie Exp $
COMMENT = very small text templating language
MODPY_EGG_VERSION = 0.4
DISTNAME = Tempita-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
REVISION = 0
CATEGORIES = www
HOMEPAGE = http://pythonpaste.org/tempita/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=T/Tempita/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
REGRESS_DEPENDS = devel/py-nose
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-tempita
${INSTALL_DATA} ${WRKSRC}/docs/index.txt \
${PREFIX}/share/doc/py-tempita
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests lib tests
.include <bsd.port.mk>