blob: bd0a47c941ffb192afeb116a0bbae1de5652c8d6 (
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
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.11 2010/06/14 17:54:16 tonio Exp $
DISTNAME= urwid-0.9.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://excess.org/urwid/
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://excess.org/urwid/
COMMENT= Curses-based Python user interface library
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 26 25 24
REPLACE_PYTHON= *.py */*.py
FILESEXAMPLES= bigtext.py \
browse.py \
calc.py \
dialog.py \
edit.py \
fib.py \
graph.py \
input_test.py \
test_urwid.py \
tour.py
DOCDIR= ${PREFIX}/share/doc/py-urwid
EGDIR= ${PREFIX}/share/examples/py-urwid
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/tutorial.html ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/reference.html ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${FILESEXAMPLES:S,^,${WRKSRC}/,} ${DESTDIR}${EGDIR}
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|