blob: 1b27796417072ff3ce6c33c740ac5ae345007189 (
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.11 2018/07/03 05:03:12 adam Exp $
DISTNAME= pytemplate-1.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
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
USE_LANGUAGES= # none
REPLACE_PYTHON= ${WRKSRC}/*.py
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 1.5.1
EGDIR= ${PREFIX}/share/examples/${PYPKGPREFIX}-pytemplate
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
PRINT_PLIST_AWK+= { gsub(/${PYPKGPREFIX:S|/|\\/|g}/, "$${PYPKGPREFIX}") }
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/distutils.mk"
.include "../../mk/bsd.pkg.mk"
|