diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-03-31 22:32:04 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-03-31 22:32:04 +0000 |
commit | b46101b7bce210158436313f1ccb29b4b5ffc8f7 (patch) | |
tree | 3febdb8ba079f494a69d771ce110e63c9fed1195 /games/nwnusers | |
parent | New port: xglurbules (diff) |
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>
Notes
Notes:
svn path=/head/; revision=77856
Diffstat (limited to 'games/nwnusers')
-rw-r--r-- | games/nwnusers/Makefile | 27 | ||||
-rw-r--r-- | games/nwnusers/distinfo | 1 | ||||
-rw-r--r-- | games/nwnusers/pkg-descr | 6 | ||||
-rw-r--r-- | games/nwnusers/pkg-message | 14 | ||||
-rw-r--r-- | games/nwnusers/pkg-plist | 1 |
5 files changed, 49 insertions, 0 deletions
diff --git a/games/nwnusers/Makefile b/games/nwnusers/Makefile new file mode 100644 index 000000000000..0856350edc79 --- /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 000000000000..f32b19f55618 --- /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 000000000000..2bde0dc72cc6 --- /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 000000000000..8e63b163077b --- /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 000000000000..58c1250aa047 --- /dev/null +++ b/games/nwnusers/pkg-plist @@ -0,0 +1 @@ +bin/nwnusers |