svn commit: r329536 - in head/sysutils: . graffer

Felippe de Meirelles Motta lippe at FreeBSD.org
Sun Oct 6 06:45:46 UTC 2013


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 at 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 at 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 at 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/


More information about the svn-ports-head mailing list