aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-27 04:47:48 +0800
committermiwi <miwi@FreeBSD.org>2006-12-27 04:47:48 +0800
commitfcde2cc87a2da2bcf30b9676178f019b721953bb (patch)
treea99b845389457f573f31e871f3a4478b5d55e6a0 /devel
parent2c7c385dfd2f55dba2f5e9962ad1338db4223eac (diff)
downloadfreebsd-ports-gnome-fcde2cc87a2da2bcf30b9676178f019b721953bb.tar.gz
freebsd-ports-gnome-fcde2cc87a2da2bcf30b9676178f019b721953bb.tar.zst
freebsd-ports-gnome-fcde2cc87a2da2bcf30b9676178f019b721953bb.zip
Console_Color::convert to transform colorcodes like %r into ANSI
control codes. print Console_Color::convert("%rHello World!%n"); would print "Hello World" in red, for example. WWW: http://pear.php.net/package/Console_Color/ Submitted by: Martin Wilke <miwi at FreeBSD.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pear-Console_Color/Makefile24
-rw-r--r--devel/pear-Console_Color/distinfo3
-rw-r--r--devel/pear-Console_Color/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7b536410a337..f754bab7cb9a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1558,6 +1558,7 @@
SUBDIR += pdcurses
SUBDIR += pear
SUBDIR += pear-Config
+ SUBDIR += pear-Console_Color
SUBDIR += pear-Console_Getargs
SUBDIR += pear-Console_Getopt
SUBDIR += pear-Console_Table
diff --git a/devel/pear-Console_Color/Makefile b/devel/pear-Console_Color/Makefile
new file mode 100644
index 000000000000..06b6353d5d7a
--- /dev/null
+++ b/devel/pear-Console_Color/Makefile
@@ -0,0 +1,24 @@
+# Ports collection makefile for: pear-Console_Color
+# Date created: 27 December 2006
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Console_Color
+PORTVERSION= 1.0.1
+CATEGORIES= devel www pear
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= PEAR use ANSI console colors
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= Console
+FILES= Color.php
+EXAMPLES= color_example.php
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/devel/pear-Console_Color/distinfo b/devel/pear-Console_Color/distinfo
new file mode 100644
index 000000000000..2b0cdaab1a2a
--- /dev/null
+++ b/devel/pear-Console_Color/distinfo
@@ -0,0 +1,3 @@
+MD5 (PEAR/Console_Color-1.0.1.tgz) = 0ed565fb5b3f3ed2d604053d9e1adce6
+SHA256 (PEAR/Console_Color-1.0.1.tgz) = 69ef5aecb2be0b207aa68e7c6722585253536147bab609a16dfc630f8e745181
+SIZE (PEAR/Console_Color-1.0.1.tgz) = 4267
diff --git a/devel/pear-Console_Color/pkg-descr b/devel/pear-Console_Color/pkg-descr
new file mode 100644
index 000000000000..71ca03adafe7
--- /dev/null
+++ b/devel/pear-Console_Color/pkg-descr
@@ -0,0 +1,5 @@
+You can use Console_Color::convert to transform colorcodes like %r into ANSI
+control codes. print Console_Color::convert("%rHello World!%n"); would print
+"Hello World" in red, for example.
+
+WWW: http://pear.php.net/package/Console_Color/