aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xoris
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xoris')
-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
5 files changed, 45 insertions, 0 deletions
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%%