Bug 177584 - New port: sysutils/graffer - utility which collects numeric values and produces graphs written in c
Summary: New port: sysutils/graffer - utility which collects numeric values and produ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Felippe de Meirelles Motta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-02 15:10 UTC by Nikola Kolev
Modified: 2013-10-06 07:50 UTC (History)
0 users

See Also:


Attachments
file.shar (2.21 KB, text/plain)
2013-04-02 15:10 UTC, Nikola Kolev
no flags Details
graffer.shar (2.14 KB, application/x-shar)
2013-07-01 21:06 UTC, Felippe de Meirelles Motta
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikola Kolev 2013-04-02 15:10:00 UTC
Graffer is a small utility that collects numeric values from external programs
and produces graphs like mrtg, pfstat or alike.

Fix: Patch attached with submission follows:
Comment 1 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-07-01 21:08:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lippe

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-06 07:45:53 UTC
Author: lippe
Date: Sun Oct  6 06:45:45 2013
New Revision: 329536
URL: http://svnweb.freebsd.org/changeset/ports/329536

Log:
  Graffer is a small utility that collects numeric values from external programs
  and produces graphs like mrtg, pfstat or alike.
  
  WWW: http://chaosophia.net/graffer/
  
  PR:		ports/177584
  Submitted by:	Nikola Kolev <koue@chaosophia.net>

Added:
  head/sysutils/graffer/
  head/sysutils/graffer/Makefile   (contents, props changed)
  head/sysutils/graffer/distinfo   (contents, props changed)
  head/sysutils/graffer/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sun Oct  6 06:40:52 2013	(r329535)
+++ head/sysutils/Makefile	Sun Oct  6 06:45:45 2013	(r329536)
@@ -344,6 +344,7 @@
     SUBDIR += gpart
     SUBDIR += gpkgdep
     SUBDIR += gpte
+    SUBDIR += graffer
     SUBDIR += graid5
     SUBDIR += graphicboot
     SUBDIR += graveman

Added: head/sysutils/graffer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/graffer/Makefile	Sun Oct  6 06:45:45 2013	(r329536)
@@ -0,0 +1,40 @@
+# Created by: Nikola Kolev <koue@chaosophia.net>
+# $FreeBSD$
+
+PORTNAME=	graffer
+PORTVERSION=	1.0
+CATEGORIES=	sysutils
+MASTER_SITES=	http://chaosophia.net/downloads/graffer/ \
+		http://ns1.chaosophia.net/downloads/graffer/
+
+MAINTAINER=	koue@chaosophia.net
+COMMENT=	Utility to render graphical statistics
+
+LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
+
+MAKE_ARGS=	"LD_GD=gd"
+MAKE_END+=	__MAKE_CONF=/dev/null
+USE_ICONV=	yes
+
+PLIST_FILES=	bin/graffer \
+		etc/graffer/graffer.conf.example \
+		man/man8/graffer.8.gz
+PLIST_DIRS=	etc/graffer
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \
+		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e "s|/etc/|${STAGEDIR}${PREFIX}/etc/|" \
+		${WRKSRC}/graffer.[c8]
+	@${REINPLACE_CMD} -e "s|/etc/|${STAGEDIR}${PREFIX}/etc/|" \
+		${WRKSRC}/graffer.conf.example
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/graffer ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/graffer.8 ${STAGEDIR}${PREFIX}/man/man8
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/graffer
+	${INSTALL_DATA} ${WRKSRC}/graffer.conf.example ${STAGEDIR}${PREFIX}/etc/graffer
+
+.include <bsd.port.post.mk>

Added: head/sysutils/graffer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/graffer/distinfo	Sun Oct  6 06:45:45 2013	(r329536)
@@ -0,0 +1,2 @@
+SHA256 (graffer-1.0.tar.gz) = 2e5a31f0e6a0b62d352795ca5b48cc8e08e91e0a1b3d6c9296f8cdf2aef810ea
+SIZE (graffer-1.0.tar.gz) = 15900

Added: head/sysutils/graffer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/graffer/pkg-descr	Sun Oct  6 06:45:45 2013	(r329536)
@@ -0,0 +1,4 @@
+Graffer is a small utility that collects numeric values from external programs
+and produces graphs like mrtg, pfstat or alike.
+
+WWW: http://chaosophia.net/graffer/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-10-06 07:46:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!