diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-12-30 07:47:48 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-12-30 07:47:48 +0000 |
commit | f50a060f55c85bf261b4df4498a3d61957390dd1 (patch) | |
tree | ee1fbc6a484238e2a2f42270756dc5593a6d8a93 /x11 | |
parent | 26b0a758cac7081814599f73bedc2ddc1ce24e9b (diff) | |
download | FreeBSD-ports-f50a060f55c85bf261b4df4498a3d61957390dd1.zip FreeBSD-ports-f50a060f55c85bf261b4df4498a3d61957390dd1.tar.gz |
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.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/grabc/Makefile | 27 | ||||
-rw-r--r-- | x11/grabc/distinfo | 1 | ||||
-rw-r--r-- | x11/grabc/pkg-descr | 11 | ||||
-rw-r--r-- | x11/grabc/pkg-plist | 1 |
5 files changed, 41 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index aafd506..d861071 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -60,6 +60,7 @@ SUBDIR += gnomesession SUBDIR += gnometerminal SUBDIR += gnopernicus + SUBDIR += grabc SUBDIR += gromit SUBDIR += gswitchit SUBDIR += gtk-theme-switch diff --git a/x11/grabc/Makefile b/x11/grabc/Makefile new file mode 100644 index 0000000..4c78781 --- /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 0000000..5250ae8 --- /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 0000000..8b3c6a4 --- /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 0000000..310cce9 --- /dev/null +++ b/x11/grabc/pkg-plist @@ -0,0 +1 @@ +bin/grabc |