pkgsrc/textproc/py-cmTemplate/Makefile

31 lines
967 B
Makefile
Raw Normal View History

2008-06-12 04:14:13 +02:00
# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:52 joerg Exp $
#
DISTNAME= cmTemplate-0.3.2
PKGNAME= ${PYPKGPREFIX}-cmTemplate-0.3.2
CATEGORIES= textproc python
MASTER_SITES= http://www.bouncingchairs.net/oss/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.bouncingchairs.net/oss/
COMMENT= Simple and fast Python template engine
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
PY_PATCHPLIST= # empty
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
2008-06-12 04:14:13 +02:00
INSTALLATION_DIRS= ${PYSITELIB} share/doc/${PYPKGPREFIX}-cmTemplate
do-build:
${PYTHONBIN} ${PYCOMPILEALL} -l ${WRKSRC}
do-install:
2008-06-12 04:14:13 +02:00
${INSTALL_DATA} ${WRKSRC}/cmTemplate.py ${DESTDIR}${PREFIX}/${PYSITELIB}
${INSTALL_DATA} ${WRKSRC}/cmTemplate.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
${INSTALL_DATA} ${WRKSRC}/doc/cmTemplate.html ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-cmTemplate
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"