aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-10-10 19:16:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-10-10 19:16:07 +0800
commitb820d177ce6d35a946a96256e66f0f4f64e0a975 (patch)
treee612af2a51dc84af51235c9d8791a9586abfe07f /graphics
parente45f7dca39aaf460a4d732ed99ddb0973f9adada (diff)
downloadfreebsd-ports-gnome-b820d177ce6d35a946a96256e66f0f4f64e0a975.tar.gz
freebsd-ports-gnome-b820d177ce6d35a946a96256e66f0f4f64e0a975.tar.zst
freebsd-ports-gnome-b820d177ce6d35a946a96256e66f0f4f64e0a975.zip
Add p5-Convert-Color-XTerm 0.05
This subclass of Convert::Color::RGB8 provides lookup of the colors that xterm uses by default. Note that the module is not intelligent enough to actually parse the XTerm configuration on a machine, nor to query a running terminal for its actual colors. It simply implements the colors that are present as defaults in the XTerm source code. It implements the complete 256-color model in XTerm. WWW: http://search.cpan.org/dist/Convert-Color-XTerm/
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Convert-Color-XTerm/Makefile24
-rw-r--r--graphics/p5-Convert-Color-XTerm/distinfo3
-rw-r--r--graphics/p5-Convert-Color-XTerm/pkg-descr9
-rw-r--r--graphics/p5-Convert-Color-XTerm/pkg-plist2
5 files changed, 39 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index ec1a5b7d1e60..c984929c38a5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -669,6 +669,7 @@
SUBDIR += p5-Color-Rgb
SUBDIR += p5-Color-Scheme
SUBDIR += p5-Convert-Color
+ SUBDIR += p5-Convert-Color-XTerm
SUBDIR += p5-Data-Google-Visualization-DataSource
SUBDIR += p5-Data-Google-Visualization-DataTable
SUBDIR += p5-GD
diff --git a/graphics/p5-Convert-Color-XTerm/Makefile b/graphics/p5-Convert-Color-XTerm/Makefile
new file mode 100644
index 000000000000..4bba89ea00e0
--- /dev/null
+++ b/graphics/p5-Convert-Color-XTerm/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Convert-Color-XTerm
+PORTVERSION= 0.05
+CATEGORIES= graphics perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Indexed colors used by XTerm
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-Convert-Color>=0.06:graphics/p5-Convert-Color
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+NO_ARCH= yes
+USE_PERL5= configure
+USES= perl5
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-Convert-Color-XTerm/distinfo b/graphics/p5-Convert-Color-XTerm/distinfo
new file mode 100644
index 000000000000..d218488dc1e2
--- /dev/null
+++ b/graphics/p5-Convert-Color-XTerm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507627186
+SHA256 (Convert-Color-XTerm-0.05.tar.gz) = eac0939d9677b8e161fb96d087c04a91d5f9041a542822e69209d3f79c8cedb2
+SIZE (Convert-Color-XTerm-0.05.tar.gz) = 12270
diff --git a/graphics/p5-Convert-Color-XTerm/pkg-descr b/graphics/p5-Convert-Color-XTerm/pkg-descr
new file mode 100644
index 000000000000..3c0080f5d408
--- /dev/null
+++ b/graphics/p5-Convert-Color-XTerm/pkg-descr
@@ -0,0 +1,9 @@
+This subclass of Convert::Color::RGB8 provides lookup of the colors that xterm
+uses by default. Note that the module is not intelligent enough to actually
+parse the XTerm configuration on a machine, nor to query a running terminal for
+its actual colors. It simply implements the colors that are present as defaults
+in the XTerm source code.
+
+It implements the complete 256-color model in XTerm.
+
+WWW: http://search.cpan.org/dist/Convert-Color-XTerm/
diff --git a/graphics/p5-Convert-Color-XTerm/pkg-plist b/graphics/p5-Convert-Color-XTerm/pkg-plist
new file mode 100644
index 000000000000..b7acb8f33ff1
--- /dev/null
+++ b/graphics/p5-Convert-Color-XTerm/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Convert/Color/XTerm.pm
+%%PERL5_MAN3%%/Convert::Color::XTerm.3.gz