Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2006 12:43:26 +0800 (CST)
From:      Dryice Liu <dryice@dryice.name>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106291: [new port] sysutils/cw: a color wrapper for common commands
Message-ID:  <200612040443.kB44hQuo001270@readonline.info>
Resent-Message-ID: <200612040450.kB44o6Mf098265@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106291
>Category:       ports
>Synopsis:       [new port] sysutils/cw: a color wrapper for common commands
>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:   Mon Dec 04 04:50:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dryice Liu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005


	
>Description:

Attached is the shar file for sysutils/cw, a color wrapper for common
commands. It makes it easy to read some command output.

>How-To-Repeat:


	
>Fix:

	

--- attached file begins here ---
# 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:
#
#	/usr/ports/sysutils/cw/
#	/usr/ports/sysutils/cw/distinfo
#	/usr/ports/sysutils/cw/Makefile
#	/usr/ports/sysutils/cw/pkg-descr
#	/usr/ports/sysutils/cw/pkg-plist
#	/usr/ports/sysutils/cw/files
#	/usr/ports/sysutils/cw/files/patch-Makefile.in
#
echo c - /usr/ports/sysutils/cw/
mkdir -p /usr/ports/sysutils/cw/ > /dev/null 2>&1
echo x - /usr/ports/sysutils/cw/distinfo
sed 's/^X//' >/usr/ports/sysutils/cw/distinfo << 'END-of-/usr/ports/sysutils/cw/distinfo'
XMD5 (cw-1.0.14.tar.gz) = 533a9456c595a1d31f5f2478544969a1
XSHA256 (cw-1.0.14.tar.gz) = 768c5fe6097075cf82e396d1d6ff693f68d26f0725711c4015b245172895fd63
XSIZE (cw-1.0.14.tar.gz) = 83715
END-of-/usr/ports/sysutils/cw/distinfo
echo x - /usr/ports/sysutils/cw/Makefile
sed 's/^X//' >/usr/ports/sysutils/cw/Makefile << 'END-of-/usr/ports/sysutils/cw/Makefile'
X# New ports collection makefile for:    cw
X# Date created:		4 December 2006
X# Whom:			Dryice Liu <dryice@dryice.name>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cw
XPORTVERSION=	1.0.14
XCATEGORIES=	sysutils
XMASTER_SITES=	http://cwrapper.sourceforge.net/ \
X		http://www.fakehalo.us/cw/ \
X		http://dryice.name/computer/FreeBSD/distfiles/
X
XMAINTAINER=	dryice@dryice.name
XCOMMENT=	A non-intrusive color wrapper for common commands
X
XGNU_CONFIGURE=	yes
XMAN1=		cw.1 cwe.1 cwu.1
XMANCOMPRESSED=	yes
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	CHANGES CONTRIB COPYING FILES INSTALL PLATFORM README \
X		VERSION
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for i in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/sysutils/cw/Makefile
echo x - /usr/ports/sysutils/cw/pkg-descr
sed 's/^X//' >/usr/ports/sysutils/cw/pkg-descr << 'END-of-/usr/ports/sysutils/cw/pkg-descr'
Xcw is a non-intrusive real-time ANSI color wrapper for common unix-based
Xcommands on GNU/linux.
X
Xcw is designed to simulate the environment of the commands being
Xexecuted, so that if a person types 'du', 'df', 'ping', etc.  in their
Xshell it will automatically color the output in real-time according to
Xa definition file containing the color format desired.  cw has support
Xfor wildcard match coloring, tokenized coloring, headers/footers, case
Xscenario coloring, command line dependent definition coloring, and
Xincludes over 50 pre-made definition files.
X
XWWW: http://cwrapper.sourceforge.net/
END-of-/usr/ports/sysutils/cw/pkg-descr
echo x - /usr/ports/sysutils/cw/pkg-plist
sed 's/^X//' >/usr/ports/sysutils/cw/pkg-plist << 'END-of-/usr/ports/sysutils/cw/pkg-plist'
Xbin/color
Xbin/colorcfg
Xbin/cw
Xbin/cwe
Xbin/cwu
Xlib/cw/arp
Xlib/cw/arping
Xlib/cw/blockdev
Xlib/cw/cal
Xlib/cw/cksum
Xlib/cw/clock
Xlib/cw/configure
Xlib/cw/cpuinfo@
Xlib/cw/cw-pipe
Xlib/cw/cw-test.cgi
Xlib/cw/date
Xlib/cw/df
Xlib/cw/diff
Xlib/cw/dig
Xlib/cw/dmesg
Xlib/cw/du
Xlib/cw/env
Xlib/cw/etc/1line-blu.ftr
Xlib/cw/etc/1line-blu.hdr
Xlib/cw/etc/1line-cyn.ftr
Xlib/cw/etc/1line-cyn.hdr
Xlib/cw/etc/1line-grn.ftr
Xlib/cw/etc/1line-grn.hdr
Xlib/cw/etc/1line-gry.ftr
Xlib/cw/etc/1line-gry.hdr
Xlib/cw/etc/1line-grydash.ftr
Xlib/cw/etc/1line-grydash.hdr
Xlib/cw/etc/1line-gryfade.ftr
Xlib/cw/etc/1line-gryfade.hdr
Xlib/cw/etc/1line-prp.ftr
Xlib/cw/etc/1line-prp.hdr
Xlib/cw/etc/1line-red.ftr
Xlib/cw/etc/1line-red.hdr
Xlib/cw/etc/1line-ylw.ftr
Xlib/cw/etc/1line-ylw.hdr
Xlib/cw/etc/README
Xlib/cw/etc/bendingbars.ftr
Xlib/cw/etc/bendingbars.hdr
Xlib/cw/etc/chrome.ftr
Xlib/cw/etc/chrome.hdr
Xlib/cw/etc/goop-cyngrn.ftr
Xlib/cw/etc/goop-cyngrn.hdr
Xlib/cw/etc/goop-redprp.ftr
Xlib/cw/etc/goop-redprp.hdr
Xlib/cw/figlet
Xlib/cw/file
Xlib/cw/find
Xlib/cw/finger
Xlib/cw/free
Xlib/cw/fstab@
Xlib/cw/fuser
Xlib/cw/g++
Xlib/cw/gcc
Xlib/cw/group@
Xlib/cw/groups
Xlib/cw/hdparm
Xlib/cw/hexdump
Xlib/cw/host
Xlib/cw/id
Xlib/cw/ifconfig
Xlib/cw/iptables
Xlib/cw/last
Xlib/cw/lastlog
Xlib/cw/lsattr
Xlib/cw/lsmod
Xlib/cw/lsof
Xlib/cw/make
Xlib/cw/md5sum
Xlib/cw/meminfo@
Xlib/cw/messages@
Xlib/cw/mount
Xlib/cw/mpg123
Xlib/cw/netstat
Xlib/cw/nfsstat
Xlib/cw/nmap
Xlib/cw/nslookup
Xlib/cw/passwd@
Xlib/cw/ping
Xlib/cw/pmap
Xlib/cw/pmap_dump
Xlib/cw/praliases
Xlib/cw/ps
Xlib/cw/pstree
Xlib/cw/quota
Xlib/cw/quotastats
Xlib/cw/route
Xlib/cw/routel
Xlib/cw/sdiff
Xlib/cw/services@
Xlib/cw/showmount
Xlib/cw/smbstatus
Xlib/cw/stat
Xlib/cw/sysctl
Xlib/cw/syslog
Xlib/cw/tar
Xlib/cw/tcpdump
Xlib/cw/tracepath
Xlib/cw/traceroute
Xlib/cw/umount
Xlib/cw/uname
Xlib/cw/uptime
Xlib/cw/users
Xlib/cw/vmstat
Xlib/cw/w
Xlib/cw/wc
Xlib/cw/whereis
Xlib/cw/who
Xlib/cw/xferlog@
X@dirrm lib/cw/etc
X@dirrm lib/cw
END-of-/usr/ports/sysutils/cw/pkg-plist
echo c - /usr/ports/sysutils/cw/files
mkdir -p /usr/ports/sysutils/cw/files > /dev/null 2>&1
echo x - /usr/ports/sysutils/cw/files/patch-Makefile.in
sed 's/^X//' >/usr/ports/sysutils/cw/files/patch-Makefile.in << 'END-of-/usr/ports/sysutils/cw/files/patch-Makefile.in'
X--- Makefile.in.orig	Mon Dec  4 11:30:55 2006
X+++ Makefile.in	Mon Dec  4 11:31:04 2006
X@@ -2,7 +2,7 @@
X PREFIX=@prefix@
X BINDIR=${PREFIX}/bin
X LIBDIR=${PREFIX}/lib
X-MANDIR=@mandir@
X+MANDIR=${PREFIX}/man
X SHELL=@SHELL@
X CC=@CC@
X ECHO=echo
END-of-/usr/ports/sysutils/cw/files/patch-Makefile.in
exit

--- attached file ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612040443.kB44hQuo001270>