blob: 687c898c608ffdda6ae0d51045e88e80a0cd01c6 (
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
44
45
46
47
|
# $NetBSD: Makefile,v 1.19 2014/04/11 18:03:13 wiz Exp $
DISTNAME= urwid-1.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= https://pypi.python.org/packages/source/u/urwid/
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://urwid.org/
COMMENT= Curses-based Python user interface library
LICENSE= gnu-lgpl-v2.1 # or later
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
REPLACE_PYTHON= *.py */*.py
FILESEXAMPLES= \
bigtext.py \
browse.py \
calc.py \
dialog.py \
edit.py \
fib.py \
graph.py \
input_test.py \
lcd_cf635.py \
palette_test.py \
pop_up.py \
subproc.py \
subproc2.py \
terminal.py \
tour.py \
treesample.py \
twisted_serve_ssh.py \
twisted_serve_ssh.tac
DOCDIR= ${PREFIX}/share/doc/py-urwid
EGDIR= ${PREFIX}/share/examples/py-urwid
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
post-install:
${INSTALL_DATA} ${FILESEXAMPLES:S,^,${WRKSRC}/examples/,} ${DESTDIR}${EGDIR}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|