blob: 7246f2dc61a146239c29225ca2374e0c1930ca58 (
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
31
32
|
# $NetBSD: Makefile,v 1.1.1.1 2009/02/25 09:16:06 imil Exp $
#
DISTNAME= pytemplate-1.5.1
PKGNAME= py-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= http://www.bulot.org/downloads/
MAINTAINER= imil@gcu.info
HOMEPAGE= http://bulot.org/wiki/doku.php?id=projects:python:pytemplate
COMMENT= Pytemplate gives python developpers a starting framework
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 25 24
REPLACE_PYTHON= ${WRKSRC}/*.py
EGDIR= ${PREFIX}/share/examples/pytemplate
INSTALLATION_DIRS+= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/example.py ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/daemonexample.py ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/threadexample.py ${DESTDIR}${EGDIR}
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|