blob: 59374c788334fbd58cc439d4e7068e5a3c75de62 (
plain) (
blame)
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
|
# New ports collection makefile for: py-urwid
# Date created: 7 December 2004
# Whom: Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= urwid
PORTVERSION= 0.9.9.1
CATEGORIES= devel python
MASTER_SITES= http://excess.org/urwid/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Curses-based user interface library for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PORTEXAMPLES= bigtext.py \
browse.py \
calc.py \
dialog.py \
edit.py \
fib.py \
graph.py \
input_test.py \
test_urwid.py \
tour.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-patch:
@# disable setuptools for now
${REINPLACE_CMD} 's/setuptools/xxsetuptools/g' ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|