summaryrefslogtreecommitdiffstats
path: root/games/nwnusers
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-03-31 22:32:04 +0000
committeredwin <edwin@FreeBSD.org>2003-03-31 22:32:04 +0000
commit461d7d16858b9b07e4b5cbe06977c6552ab13d8e (patch)
treeb5b1f72be4e6f9c5c12eb847facecaf8bccdf7b9 /games/nwnusers
parentf85d7f5164bdc84bbc2b85bd3085124b8779bc48 (diff)
downloadFreeBSD-ports-461d7d16858b9b07e4b5cbe06977c6552ab13d8e.zip
FreeBSD-ports-461d7d16858b9b07e4b5cbe06977c6552ab13d8e.tar.gz
new port: games/nwnusers Monitoring Neverwinter Nights Servers with MRTG
A very easy to use tool for monitoring the number of active players on a (remote) Neverwinter Nights Server with MRTG. PR: ports/46370 Submitted by: Andreas Heil <ah@linux-hq.de>
Diffstat (limited to 'games/nwnusers')
-rw-r--r--games/nwnusers/Makefile27
-rw-r--r--games/nwnusers/distinfo1
-rw-r--r--games/nwnusers/pkg-descr6
-rw-r--r--games/nwnusers/pkg-message14
-rw-r--r--games/nwnusers/pkg-plist1
5 files changed, 49 insertions, 0 deletions
diff --git a/games/nwnusers/Makefile b/games/nwnusers/Makefile
new file mode 100644
index 0000000..0856350
--- /dev/null
+++ b/games/nwnusers/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: nwnusers
+# Date created: 19 December 2002
+# Whom: Andreas Heil <ah@linux-hq.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nwnusers
+PORTVERSION= 1.2
+CATEGORIES= games
+MASTER_SITES= http://www.linux-hq.de/pub/
+DISTNAME= nwnusers-v1.2
+
+MAINTAINER= ah@linux-hq.de
+COMMENT= A tool for monitoring Neverwinter Nights Server with mrtg
+
+do-build:
+ cd ${WRKDIR}/${DISTNAME} &&\
+ ${CC} ${CFLAGS} -Wall -Werror -DVERSION=\"${PORTVERSION}\" -o nwnusers nwnusers.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/nwnusers ${PREFIX}/bin/nwnusers
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/nwnusers/distinfo b/games/nwnusers/distinfo
new file mode 100644
index 0000000..f32b19f
--- /dev/null
+++ b/games/nwnusers/distinfo
@@ -0,0 +1 @@
+MD5 (nwnusers-v1.2.tar.gz) = fa0d60ba704de7a57db5e23170727741
diff --git a/games/nwnusers/pkg-descr b/games/nwnusers/pkg-descr
new file mode 100644
index 0000000..2bde0dc
--- /dev/null
+++ b/games/nwnusers/pkg-descr
@@ -0,0 +1,6 @@
+A tool for monitoring Neverwinter Nights Server with mrtg
+
+WWW: http://www.linux-hq.de/pub/
+
+- Andreas Heil
+ah@linux-hq.de
diff --git a/games/nwnusers/pkg-message b/games/nwnusers/pkg-message
new file mode 100644
index 0000000..8e63b16
--- /dev/null
+++ b/games/nwnusers/pkg-message
@@ -0,0 +1,14 @@
+##############################################################################
+Add somthing like this to your mrtg.cfg:
+
+Target[nwn]: `${PREFIX}/bin/nwnusers some.nwn.server`
+MaxBytes[nwn]: 64
+Title[nwn]: Number of Players on some.nwn.server
+PageTop[nwn]: <H1>Number of Players on some.nwn.server</H1>
+Options[nwn]: growright,noinfo,integer,gauge
+YLegend[nwn]: Players
+ShortLegend[nwn]: Players
+Legend1[nwn]: Number of Players
+LegendI[nwn]: :
+LegendO[nwn]:
+##############################################################################
diff --git a/games/nwnusers/pkg-plist b/games/nwnusers/pkg-plist
new file mode 100644
index 0000000..58c1250
--- /dev/null
+++ b/games/nwnusers/pkg-plist
@@ -0,0 +1 @@
+bin/nwnusers
OpenPOWER on IntegriCloud