Lines 1-12
Link Here
|
1 |
# New ports collection makefile for: py-urwid |
1 |
# Created by: Hye-Shik Chang <perky@FreeBSD.org> |
2 |
# Date created: 7 December 2004 |
|
|
3 |
# Whom: Hye-Shik Chang <perky@FreeBSD.org> |
4 |
# |
5 |
# $FreeBSD: ports/devel/py-urwid/Makefile,v 1.24 2012/11/17 05:56:51 svnexp Exp $ |
2 |
# $FreeBSD: ports/devel/py-urwid/Makefile,v 1.24 2012/11/17 05:56:51 svnexp Exp $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= urwid |
4 |
PORTNAME= urwid |
9 |
PORTVERSION= 1.0.2 |
5 |
PORTVERSION= 1.1.1 |
10 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
11 |
MASTER_SITES= http://excess.org/urwid/ |
7 |
MASTER_SITES= http://excess.org/urwid/ |
12 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 17-24
Link Here
|
17 |
LICENSE= LGPL21 |
13 |
LICENSE= LGPL21 |
18 |
|
14 |
|
19 |
OPTIONS_DEFINE= EXAMPLES |
15 |
OPTIONS_DEFINE= EXAMPLES |
|
|
16 |
# Bypass ports infrastructure bug |
17 |
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options |
20 |
|
18 |
|
21 |
USE_PYTHON= yes |
19 |
USE_PYTHON= yes |
22 |
USE_PYDISTUTILS= yes |
20 |
USE_PYDISTUTILS= yes |
23 |
|
21 |
|
24 |
PORTEXAMPLES= bigtext.py \ |
22 |
PORTEXAMPLES= bigtext.py \ |
Lines 46-52
Link Here
|
46 |
post-install: |
44 |
post-install: |
47 |
.if ${PORT_OPTIONS:MEXAMPLES} |
45 |
.if ${PORT_OPTIONS:MEXAMPLES} |
48 |
${MKDIR} ${EXAMPLESDIR}/ |
46 |
${MKDIR} ${EXAMPLESDIR}/ |
49 |
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ |
47 |
@cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ |
50 |
.endif |
48 |
.endif |
51 |
|
49 |
|
|
|
50 |
regression-test: build |
51 |
@cd ${WRKSRC} && ${PYTHON_CMD} -m urwid.tests |
52 |
|
52 |
.include <bsd.port.mk> |
53 |
.include <bsd.port.mk> |