From 56e85e9543c44bfba8a3dc5df6e36ad456de36cd Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 6 May 2008 22:32:19 +0000 Subject: [PATCH] import xoris xoris is a simple util that dumps a rgb-color value of any part of the screen to stdout. The program can do this in three variants: 1. hex (#b0958e) 2. string of rgb numbers (229 229 229) 3. abstract name (gray90) To get such enumerated color specifications, click: Button1, Ctrl+Button1, Shift+Button1 correspondingly. thanks to responsive upstream, no patches required ok eric@ --- graphics/xoris/Makefile | 27 +++++++++++++++++++++++++++ graphics/xoris/distinfo | 5 +++++ graphics/xoris/pkg/DESCR | 9 +++++++++ graphics/xoris/pkg/PLIST | 2 ++ 4 files changed, 43 insertions(+) create mode 100644 graphics/xoris/Makefile create mode 100644 graphics/xoris/distinfo create mode 100644 graphics/xoris/pkg/DESCR create mode 100644 graphics/xoris/pkg/PLIST diff --git a/graphics/xoris/Makefile b/graphics/xoris/Makefile new file mode 100644 index 00000000000..35615d75b2a --- /dev/null +++ b/graphics/xoris/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/05/06 22:32:19 simon Exp $ + +COMMENT = X11 pixel color grabber + +DISTNAME = xoris-0.1d +CATEGORIES = graphics + +HOMEPAGE = http://gromnizki.unixdev.net/ + +MASTER_SITES = ${HOMEPAGE}soft/ + +# MIT/X license +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +WANTLIB = X11 c + +CONFIGURE_STYLE = imake + +MAKE_FLAGS += CFLAGS="${CFLAGS}" CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}/lib" + +NO_REGRESS = Yes + +.include diff --git a/graphics/xoris/distinfo b/graphics/xoris/distinfo new file mode 100644 index 00000000000..85f57dd175f --- /dev/null +++ b/graphics/xoris/distinfo @@ -0,0 +1,5 @@ +MD5 (xoris-0.1d.tar.gz) = hwFrjk9gQvUgJS6qBh4ZgQ== +RMD160 (xoris-0.1d.tar.gz) = 7ILMHy47bLgrCCirWhS954XpNL8= +SHA1 (xoris-0.1d.tar.gz) = tM6gecH2k6FGk2tOfFc3mawgZFg= +SHA256 (xoris-0.1d.tar.gz) = yUgiXiYVJ8qbLLNCwhY+UuPm2i1do/ijkdjxBuSCdbk= +SIZE (xoris-0.1d.tar.gz) = 6676 diff --git a/graphics/xoris/pkg/DESCR b/graphics/xoris/pkg/DESCR new file mode 100644 index 00000000000..d3bb8fc3ce7 --- /dev/null +++ b/graphics/xoris/pkg/DESCR @@ -0,0 +1,9 @@ +xoris is a simple util that dumps a rgb-color value of any part of the +screen to stdout. The program can do this in three variants: + +1. hex (#b0958e) +2. string of rgb numbers (229 229 229) +3. abstract name (gray90) + +To get such enumerated color specifications, click: Button1, +Ctrl+Button1, Shift+Button1 correspondingly. diff --git a/graphics/xoris/pkg/PLIST b/graphics/xoris/pkg/PLIST new file mode 100644 index 00000000000..1058e8483b0 --- /dev/null +++ b/graphics/xoris/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/06 22:32:19 simon Exp $ +bin/xoris