diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-06-11 21:18:41 +0000 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-06-11 21:18:41 +0000 |
commit | 562610ad6866e620fc827724c11f7e1cfd333d19 (patch) | |
tree | 0aa669350663d568a3b64c578a81cbc30c075a54 /graphics/xoris | |
parent | 43a5a84a8928178e24d4a108823dfd34ea2a3c80 (diff) | |
download | FreeBSD-ports-562610ad6866e620fc827724c11f7e1cfd333d19.zip FreeBSD-ports-562610ad6866e620fc827724c11f7e1cfd333d19.tar.gz |
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)
Diffstat (limited to 'graphics/xoris')
-rw-r--r-- | graphics/xoris/Makefile | 28 | ||||
-rw-r--r-- | graphics/xoris/distinfo | 3 | ||||
-rw-r--r-- | graphics/xoris/files/pkg-message.in | 3 | ||||
-rw-r--r-- | graphics/xoris/pkg-descr | 8 | ||||
-rw-r--r-- | graphics/xoris/pkg-plist | 3 |
5 files changed, 45 insertions, 0 deletions
diff --git a/graphics/xoris/Makefile b/graphics/xoris/Makefile new file mode 100644 index 0000000..4e4bde7 --- /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 0000000..010554d --- /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 0000000..9f033f6 --- /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 0000000..eff72a2 --- /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 0000000..8996669 --- /dev/null +++ b/graphics/xoris/pkg-plist @@ -0,0 +1,3 @@ +bin/xoris +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |