7a734f15ba
your code pretty Use styles, color, and maybe a little positioning without necessarily clearing the whole screen first. Leave more than one screenful of scrollback in the buffer after your program exits, like a well-behaved command-line app should. Get rid of all those noisy, C-like calls to tigetstr and tparm, so your code doesn't get crowded out by terminal bookkeeping. Act intelligently when somebody redirects your output to a file, omitting the terminal control codes the user doesn't want to see. WWW: https://github.com/erikrose/blessings
18 lines
351 B
Makefile
18 lines
351 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= blessings
|
|
PORTVERSION= 1.5.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= Thin wrapper around terminal coloring, styling, and positioning
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|