freebsd-ports/devel/py-urwid/Makefile
Marcus von Appen 89e07f4a18 - Convert ports of devel/ to USES=python
Approved by:	portmgr (implicit)
2014-10-20 16:04:12 +00:00

45 lines
951 B
Makefile

# Created by: Hye-Shik Chang <perky@FreeBSD.org>
# $FreeBSD$
PORTNAME= urwid
PORTVERSION= 1.2.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Curses-based user interface library for Python
LICENSE= LGPL21
# Bypass ports infrastructure bug
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= EXAMPLES
USES= python
USE_PYTHON= distutils autoplist
PORTEXAMPLES= 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 \
tour.py \
treesample.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
(cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/)
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} -m urwid.tests
.include <bsd.port.mk>