Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 14:02:35 GMT
From:      Nikola Kolev <koue@chaosophia.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177584: New port: sysutils/graffer - utility which collects numeric values and produces graphs written in c
Message-ID:  <201304021402.r32E2ZBg028391@red.freebsd.org>
Resent-Message-ID: <201304021410.r32EA0gb002396@freefall.freebsd.org>

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

>Number:         177584
>Category:       ports
>Synopsis:       New port: sysutils/graffer  - utility which collects numeric values and produces graphs written in c
>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:   Tue Apr 02 14:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nikola Kolev
>Release:        9.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD chaosophia.net 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Graffer is a small utility that collects numeric values from external programs
and produces graphs like mrtg, pfstat or alike.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	graffer
#	graffer/Makefile
#	graffer/distinfo
#	graffer/pkg-descr
#	graffer/pkg-plist
#
echo c - graffer
mkdir -p graffer > /dev/null 2>&1
echo x - graffer/Makefile
sed 's/^X//' >graffer/Makefile << '305b676d46a3b40ddc57726050edb331'
X# $FreeBSD$
X
XPORTNAME=	graffer
XPORTVERSION=	1.0
XCATEGORIES=	sysutils
XMASTER_SITES=	http://chaosophia.net/downloads/graffer/ \
X		http://ns1.chaosophia.net/downloads/graffer/
X
XMAINTAINER=	koue@chaosophia.net
XCOMMENT=	Utility to render graphical statistics
X
XLIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
X
XMAKE_ARGS=	"LD_GD=gd"
XMAKE_END+=	__MAKE_CONF=/dev/null
XUSE_ICONV=	yes
X
XMAN8=		graffer.8
X
XMANCOMPRESSED=	no
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \
X		${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
X		${WRKSRC}/graffer.[c8]
X	@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
X		${WRKSRC}/graffer.conf.example
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/graffer ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/graffer.8 ${PREFIX}/man/man8
X	@${MKDIR} ${PREFIX}/etc/graffer
X	${INSTALL_DATA} ${WRKSRC}/graffer.conf.example ${PREFIX}/etc/graffer
X
X.include <bsd.port.post.mk>
305b676d46a3b40ddc57726050edb331
echo x - graffer/distinfo
sed 's/^X//' >graffer/distinfo << '52426adcd57856cd4b8c57f00fc1e47d'
XSHA256 (graffer-1.0.tar.gz) = 2e5a31f0e6a0b62d352795ca5b48cc8e08e91e0a1b3d6c9296f8cdf2aef810ea
XSIZE (graffer-1.0.tar.gz) = 15900
52426adcd57856cd4b8c57f00fc1e47d
echo x - graffer/pkg-descr
sed 's/^X//' >graffer/pkg-descr << '77c4b612875cd39a55fc1e4de32a94d1'
XGraffer is a small utility that collects numeric values from external programs
Xand produces graphs like mrtg, pfstat or alike.
X
XWWW: http://chaosophia.net/graffer/
77c4b612875cd39a55fc1e4de32a94d1
echo x - graffer/pkg-plist
sed 's/^X//' >graffer/pkg-plist << '03a1423f8b58116fbaed883a09e6db04'
Xbin/graffer
Xetc/graffer/graffer.conf.example
X@dirrmtry etc/graffer
03a1423f8b58116fbaed883a09e6db04
exit



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



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