[Midnightbsd-cvs] mports: mports/devel: Add one of the two missing depends for mytop
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Apr 28 23:45:57 EDT 2008
Log Message:
-----------
Add one of the two missing depends for mytop
Modified Files:
--------------
mports/devel:
Makefile (r1.208 -> r1.209)
Added Files:
-----------
mports/devel/p5-Term-ANSIColor:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/devel/p5-Term-ANSIColor/files:
patch-Makefile.PL (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.208
retrieving revision 1.209
diff -L devel/Makefile -L devel/Makefile -u -r1.208 -r1.209
--- devel/Makefile
+++ devel/Makefile
@@ -190,6 +190,7 @@
SUBDIR += p5-String-Approx
SUBDIR += p5-String-Ediff
SUBDIR += p5-Sub-Uplevel
+ SUBDIR += p5-Term-ANSIColor
SUBDIR += p5-Test-Base
SUBDIR += p5-Test-ClassAPI
SUBDIR += p5-Test-Exception
--- /dev/null
+++ devel/p5-Term-ANSIColor/pkg-descr
@@ -0,0 +1,15 @@
+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.
+
+WWW: http://search.cpan.org/dist/ANSIColor/
--- /dev/null
+++ devel/p5-Term-ANSIColor/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Term/ANSIColor.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ANSIColor/.packlist
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ANSIColor
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term
+ at dirrmtry %%SITE_PERL%%/Term
--- /dev/null
+++ devel/p5-Term-ANSIColor/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: ANSIColor
+# Date created: 1 December 1999
+# Whom: Denis Shaposhnikov <dsh at vlink.ru>
+#
+# $MidnightBSD: mports/devel/p5-Term-ANSIColor/Makefile,v 1.1 2008/04/29 03:45:54 laffer1 Exp $
+# $FreeBSD: ports/devel/p5-Term-ANSIColor/Makefile,v 1.14 2008/01/30 05:59:43 leeym Exp $
+#
+
+PORTNAME= Term-ANSIColor
+PORTVERSION= 1.12
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Term
+PKGNAMEPREFIX= p5-
+DISTNAME= ANSIColor-${PORTVERSION}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Color screen output using ANSI escape sequences
+LICENSE= perl
+
+PERL_CONFIGURE= YES
+
+MAN3= Term::ANSIColor.3
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/p5-Term-ANSIColor/distinfo
@@ -0,0 +1,3 @@
+MD5 (ANSIColor-1.12.tar.gz) = 608eb10b03d642f5b49ac60a7cb6df27
+SHA256 (ANSIColor-1.12.tar.gz) = 89cd3d009b4babd5e6db11513a687ad8fe8ce8690b0fff00862b07d213a45200
+SIZE (ANSIColor-1.12.tar.gz) = 14111
--- /dev/null
+++ devel/p5-Term-ANSIColor/files/patch-Makefile.PL
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Mon Feb 26 01:48:56 2001
++++ Makefile.PL Mon Feb 26 01:49:03 2001
+@@ -6,8 +6,6 @@
+ WriteMakefile (
+ NAME => 'Term::ANSIColor',
+ DISTNAME => 'ANSIColor',
+- ($] >= 5.006 ?
+- (INSTALLDIRS => 'perl') : ()),
+ ($] >= 5.005 ?
+ (ABSTRACT => 'Color output using ANSI escape sequences',
+ AUTHOR => 'Russ Allbery (rra at stanford.edu)') : ()),
More information about the Midnightbsd-cvs
mailing list