aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-12 05:18:41 +0800
committeritetcu <itetcu@FreeBSD.org>2006-06-12 05:18:41 +0800
commit562610ad6866e620fc827724c11f7e1cfd333d19 (patch)
tree0aa669350663d568a3b64c578a81cbc30c075a54
parent43a5a84a8928178e24d4a108823dfd34ea2a3c80 (diff)
downloadfreebsd-ports-gnome-562610ad6866e620fc827724c11f7e1cfd333d19.tar.gz
freebsd-ports-gnome-562610ad6866e620fc827724c11f7e1cfd333d19.tar.zst
freebsd-ports-gnome-562610ad6866e620fc827724c11f7e1cfd333d19.zip
xoris grabs the RGB color value of any pixel on the screen and dumps the
color's name to stdout. The output can be printed as: 1. hex (#b0958e); 2. triple of decimal RGB values (229 229 229); 3. abstract name (gray90). xoris has only been tested on displays with a bit depth of 24 bpp. PR: ports/97475 Submitted by: Alexander Gromnizki Approved by: lawrance (mentor, implicit)
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/xoris/Makefile28
-rw-r--r--graphics/xoris/distinfo3
-rw-r--r--graphics/xoris/files/pkg-message.in3
-rw-r--r--graphics/xoris/pkg-descr8
-rw-r--r--graphics/xoris/pkg-plist3
6 files changed, 46 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 0304d8677c1a..41e16acf3749 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -664,6 +664,7 @@
SUBDIR += xmountains
SUBDIR += xmrm
SUBDIR += xnview
+ SUBDIR += xoris
SUBDIR += xpaint
SUBDIR += xpcd
SUBDIR += xpdf
diff --git a/graphics/xoris/Makefile b/graphics/xoris/Makefile
new file mode 100644
index 000000000000..4e4bde7fcc31
--- /dev/null
+++ b/graphics/xoris/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xoris
+# Date created: 02 April 2006
+# Whom: Alexander Gromnizki
+#
+# $FreeBSD$
+#
+
+PORTNAME= xoris
+PORTVERSION= 0.1b
+CATEGORIES= graphics x11
+MASTER_SITES= http://gromnizki.unixdev.net/soft/
+
+MAINTAINER= grommizki@unixdev.net
+COMMENT= An X11 pixel color grabber
+
+USE_IMAKE= yes
+
+.if !defined(NOPORTDOCS)
+SUB_FILES= pkg-message
+
+post-install:
+ @ ${ECHO_MSG} "===> Installing documentation for ${PORTNAME}"
+ @ ${MKDIR} ${DOCSDIR}
+ @ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+ @ ${CAT} ${PKGMESSAGE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/xoris/distinfo b/graphics/xoris/distinfo
new file mode 100644
index 000000000000..010554d121ff
--- /dev/null
+++ b/graphics/xoris/distinfo
@@ -0,0 +1,3 @@
+MD5 (xoris-0.1b.tar.gz) = 4623c6b7e7899e2e0f0c35dea01a8343
+SHA256 (xoris-0.1b.tar.gz) = aa4ae97dd10dec27fd77e44839674a6ca5d8288b093bfc64b6b2cffe5819a2e4
+SIZE (xoris-0.1b.tar.gz) = 6311
diff --git a/graphics/xoris/files/pkg-message.in b/graphics/xoris/files/pkg-message.in
new file mode 100644
index 000000000000..9f033f662b68
--- /dev/null
+++ b/graphics/xoris/files/pkg-message.in
@@ -0,0 +1,3 @@
+*******************************************************************************
+* See %%DOCSDIR%%/README before using xoris!
+*******************************************************************************
diff --git a/graphics/xoris/pkg-descr b/graphics/xoris/pkg-descr
new file mode 100644
index 000000000000..eff72a21f96f
--- /dev/null
+++ b/graphics/xoris/pkg-descr
@@ -0,0 +1,8 @@
+xoris grabs the RGB color value of any pixel on the screen and dumps the
+color's name to stdout. The output can be printed as:
+
+1. hex (#b0958e);
+2. triple of decimal RGB values (229 229 229);
+3. abstract name (gray90).
+
+xoris has only been tested on displays with a bit depth of 24 bpp.
diff --git a/graphics/xoris/pkg-plist b/graphics/xoris/pkg-plist
new file mode 100644
index 000000000000..89966696c9e1
--- /dev/null
+++ b/graphics/xoris/pkg-plist
@@ -0,0 +1,3 @@
+bin/xoris
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%