ports/97475: New port: graphics/xoris An X11 pixel color grabber

Alexander Gromnizki gromnizki at unixdev.net
Thu May 18 23:50:19 UTC 2006


>Number:         97475
>Category:       ports
>Synopsis:       New port: graphics/xoris An X11 pixel color grabber
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 18 23:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Gromnizki
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD medieval 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Apr 14 08:20:22 EEST 2006 alex at medieval:/usr/src/sys/i386/compile/AG_6_0_2006_04_14 i386
>Description:
New port: graphics/xoris An X11 pixel color grabber
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xoris
#	xoris/Makefile
#	xoris/pkg-plist
#	xoris/pkg-descr
#	xoris/distinfo
#	xoris/pkg-message
#
echo c - xoris
mkdir -p xoris > /dev/null 2>&1
echo x - xoris/Makefile
sed 's/^X//' >xoris/Makefile << 'END-of-xoris/Makefile'
X# New ports collection makefile for:	xoris
X# Date created:				02 April 2006
X# Whom:					Alexander Gromnizki
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xoris
XPORTVERSION=	0.1b
XCATEGORIES=	graphics x11
XMASTER_SITES=	http://grommizki.unixdev.net/soft/
X
XMAINTAINER=	grommizki at unixdev.net
XCOMMENT=	An X11 pixel color grabber
X
XUSE_IMAKE=	yes
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${ECHO_MSG} "===>   Installing documentation for ${PORTNAME}"
X	@ ${MKDIR} ${DOCSDIR}
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
X	@ ${CAT} ${PKGMESSAGE} | ${SED} 's#%%DOCSDIR%%#${DOCSDIR}#g'
X.endif
X
X.include <bsd.port.mk>
END-of-xoris/Makefile
echo x - xoris/pkg-plist
sed 's/^X//' >xoris/pkg-plist << 'END-of-xoris/pkg-plist'
Xbin/xoris
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-xoris/pkg-plist
echo x - xoris/pkg-descr
sed 's/^X//' >xoris/pkg-descr << 'END-of-xoris/pkg-descr'
Xxoris grabs the RGB color value of any pixel on the screen and dumps the
Xcolor's name to stdout. The output can be printed as:
X
X1. hex (#b0958e);
X2. triple of decimal RGB values (229 229 229);
X3. abstract name (gray90).
X
Xxoris has only been tested on displays with a bit depth of 24 bpp.
END-of-xoris/pkg-descr
echo x - xoris/distinfo
sed 's/^X//' >xoris/distinfo << 'END-of-xoris/distinfo'
XMD5 (xoris-0.1b.tar.gz) = 4623c6b7e7899e2e0f0c35dea01a8343
XSIZE (xoris-0.1b.tar.gz) = 6311
END-of-xoris/distinfo
echo x - xoris/pkg-message
sed 's/^X//' >xoris/pkg-message << 'END-of-xoris/pkg-message'
X*******************************************************************************
X* See %%DOCSDIR%%/README before using xoris!
X*******************************************************************************
END-of-xoris/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list