aboutsummaryrefslogtreecommitdiff
path: root/x11/grabc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-12-30 07:47:48 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-12-30 07:47:48 +0000
commit8fee961560c8fb1d186f904fb2b22580d1212f5e (patch)
treebbb419ea9573273337aec5a6a4089f812e669081 /x11/grabc
parentdee1c59f9016af93a3aabc32c7d15aef0ea2694f (diff)
downloadports-8fee961560c8fb1d186f904fb2b22580d1212f5e.tar.gz
ports-8fee961560c8fb1d186f904fb2b22580d1212f5e.zip
add grabc 1.1
grabc is s simple but very useful program to determine the color string in hex (or RGB components) by clicking on a pixel on the screen.
Notes
Notes: svn path=/head/; revision=96924
Diffstat (limited to 'x11/grabc')
-rw-r--r--x11/grabc/Makefile27
-rw-r--r--x11/grabc/distinfo1
-rw-r--r--x11/grabc/pkg-descr11
-rw-r--r--x11/grabc/pkg-plist1
4 files changed, 40 insertions, 0 deletions
diff --git a/x11/grabc/Makefile b/x11/grabc/Makefile
new file mode 100644
index 000000000000..4c78781f90df
--- /dev/null
+++ b/x11/grabc/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: grabc
+# Date Created: Dec 30, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= grabc
+PORTVERSION= 1.1
+CATEGORIES= x11
+MASTER_SITES= http://muquit.com/muquit/software/grabc/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Grab a color from screen
+
+CFLAGS+= -I${X11BASE}/include
+LIBS+= -L${X11BASE}/lib -lX11
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ${LIBS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11/grabc/distinfo b/x11/grabc/distinfo
new file mode 100644
index 000000000000..5250ae8fa60d
--- /dev/null
+++ b/x11/grabc/distinfo
@@ -0,0 +1 @@
+MD5 (grabc1.1.tar.gz) = d8d308f3183c719309f35c249db4f9ed
diff --git a/x11/grabc/pkg-descr b/x11/grabc/pkg-descr
new file mode 100644
index 000000000000..8b3c6a4330bb
--- /dev/null
+++ b/x11/grabc/pkg-descr
@@ -0,0 +1,11 @@
+grabc is s simple but very useful program to determine the color string in hex
+(or RGB components) by clicking on a pixel on the screen. While web browsing,
+lots of time you find a nice color and wonder what color is that! Well just
+use grabc!
+
+When this program is run, the mouse pointer is grabbed and changed to a cross
+hair and when the mouse is clicked, the color of the clicked pixel is written
+to stdout in hex prefixed with #. It will the R, G, B component also in the
+stderr.
+
+WWW: http://www.muquit.com/muquit/software/grabc/grabc.html
diff --git a/x11/grabc/pkg-plist b/x11/grabc/pkg-plist
new file mode 100644
index 000000000000..310cce9b0b66
--- /dev/null
+++ b/x11/grabc/pkg-plist
@@ -0,0 +1 @@
+bin/grabc