mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
p5-Term-ANSIColor version 1.01
Color screen output using ANSI escape sequences. PR: 15203 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
This commit is contained in:
parent
55faf4942d
commit
6e46c42a7c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24054
@ -134,6 +134,7 @@
|
||||
SUBDIR += p5-Resources
|
||||
SUBDIR += p5-Sort-Versions
|
||||
SUBDIR += p5-Storable
|
||||
SUBDIR += p5-Term-ANSIColor
|
||||
SUBDIR += p5-Term-Query
|
||||
SUBDIR += p5-Term-ReadKey
|
||||
SUBDIR += p5-Time
|
||||
|
26
devel/p5-Term-ANSIColor/Makefile
Normal file
26
devel/p5-Term-ANSIColor/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: ANSIColor
|
||||
# Version required: 1.01
|
||||
# Date created: 1 December 1999
|
||||
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= ANSIColor-1.01
|
||||
PKGNAME= p5-Term-ANSIColor-1.01
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Term
|
||||
|
||||
MAINTAINER= dsh@vlink.ru
|
||||
|
||||
USE_PERL5= YES
|
||||
CONFIGURE_ARGS= PREFIX=${PREFIX}
|
||||
|
||||
MAN3= Term::ANSIColor.3
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
do-configure:
|
||||
@ cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/p5-Term-ANSIColor/distinfo
Normal file
1
devel/p5-Term-ANSIColor/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ANSIColor-1.01.tar.gz) = e499734e8d1709ae093187eb93ed5bc1
|
1
devel/p5-Term-ANSIColor/pkg-comment
Normal file
1
devel/p5-Term-ANSIColor/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Color screen output using ANSI escape sequences
|
16
devel/p5-Term-ANSIColor/pkg-descr
Normal file
16
devel/p5-Term-ANSIColor/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
While ANSI color escape codes are fairly simple, it can be hard to
|
||||
remember the codes for all of the attributes and the code resulting
|
||||
from hard-coding them into your script is definitely difficult to
|
||||
read. This module is designed to fix those problems, as well as
|
||||
provide a convenient interface to do a few things for you
|
||||
automatically (like resetting attributes after the text you print out
|
||||
so that you don't accidentally leave attributes set).
|
||||
|
||||
Despite its name, this module can also handle non-color ANSI text
|
||||
attributes (bold, underline, reverse video, and blink). It uses either
|
||||
of two interfaces, one of which uses "constants" for each different
|
||||
attribute and the other of which uses two subs which take strings of
|
||||
attributes as arguments.
|
||||
|
||||
-- Denis Shaposhnikov
|
||||
dsh@vlink.ru
|
3
devel/p5-Term-ANSIColor/pkg-plist
Normal file
3
devel/p5-Term-ANSIColor/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Term/ANSIColor.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/ANSIColor/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/ANSIColor
|
Loading…
Reference in New Issue
Block a user