blob: d51ef2aafeef399277ceba8e65118c22a9986fa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $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
PKG_DESTDIR_SUPPORT= user-destdir
PY_PATCHPLIST= # empty
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
INSTALLATION_DIRS= ${PYSITELIB} share/doc/${PYPKGPREFIX}-cmTemplate
do-build:
${PYTHONBIN} ${PYCOMPILEALL} -l ${WRKSRC}
do-install:
${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"
|