File:  [cvs.NetBSD.org] / pkgsrc / textproc / py-cmTemplate / Makefile
Revision 1.2: download - view: text, annotated - select for diffs
Thu Feb 22 19:27:16 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $NetBSD: Makefile,v 1.2 2007/02/22 19:27:16 wiz 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

PY_PATCHPLIST=	# empty
PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}
PYCOMPILEALL=	${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py

do-build:
	${PYTHONBIN} ${PYCOMPILEALL} -l ${WRKSRC}

do-install:
	${INSTALL_DATA} ${WRKSRC}/cmTemplate.py ${PREFIX}/${PYSITELIB}
	${INSTALL_DATA} ${WRKSRC}/cmTemplate.pyc ${PREFIX}/${PYSITELIB}
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PYPKGPREFIX}-cmTemplate
	${INSTALL_DATA} ${WRKSRC}/doc/cmTemplate.html ${PREFIX}/share/doc/${PYPKGPREFIX}-cmTemplate

.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>