ports/86420: new port: sysutils/hilite - A command-line utility to highlight anything printed to stderr
Emanuel Haupt
ehaupt at critical.ch
Wed Sep 21 17:10:06 UTC 2005
>Number: 86420
>Category: ports
>Synopsis: new port: sysutils/hilite - A command-line utility to highlight anything printed to stderr
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 21 17:10:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 20:19:15 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src/RELENG_5_4/src/sys/BEAVER i386
>Description:
new port: sysutils/hilite - A command-line utility to highlight anything printed to stderr
hilite is a tiny command-line utility which executes the command you specify,
highlighting anything printed to stderr.
It is designed mainly for use with builds, to make warnings and errors stick
out like a sore cliche.
How-To-Repeat:
<code/input/activities to reproduce the problem (multiple lines)>
>How-To-Repeat:
>Fix:
--- hilite.shar 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:
#
# hilite
# hilite/Makefile
# hilite/pkg-descr
# hilite/distinfo
# hilite/pkg-message
#
echo c - hilite
mkdir -p hilite > /dev/null 2>&1
echo x - hilite/Makefile
sed 's/^X//' >hilite/Makefile << 'END-of-hilite/Makefile'
X# New ports collection makefile for: hilite
X# Date created: 21 Sep 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= hilite
XPORTVERSION= 1.5
XCATEGORIES= sysutils
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR= ${PORTNAME}
XDISTNAME= ${PORTNAME}
XEXTRACT_SUFX= .c
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= A command-line utility to highlight anything printed to stderr
X
XPLIST_FILES= bin/hilite
X
Xdo-extract:
X @${MKDIR} ${WRKSRC}
X @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
X
Xdo-build:
X ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-hilite/Makefile
echo x - hilite/pkg-descr
sed 's/^X//' >hilite/pkg-descr << 'END-of-hilite/pkg-descr'
Xhilite is a tiny command-line utility which executes the command you specify,
Xhighlighting anything printed to stderr.
X
XIt is designed mainly for use with builds, to make warnings and errors stick
Xout like a sore cliche.
X
XWWW: http://sourceforge.net/projects/hilite
END-of-hilite/pkg-descr
echo x - hilite/distinfo
sed 's/^X//' >hilite/distinfo << 'END-of-hilite/distinfo'
XMD5 (hilite.c) = 0214a3ef553cf4cf1e41f9c3bf93ca83
XSIZE (hilite.c) = 2872
END-of-hilite/distinfo
echo x - hilite/pkg-message
sed 's/^X//' >hilite/pkg-message << 'END-of-hilite/pkg-message'
X===============================================================================
XYou might want to put something like
X
X.if defined(HILITE)
XCC= hilite cc
XCXX= hilite c++
X.endif
X
Xin your /etc/make.conf
X===============================================================================
END-of-hilite/pkg-message
exit
--- hilite.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list