1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New port: Window Maker dockapp that monitors Quake 3 and Half-Life

servers

Submitted by:	Patrick Li <pat@databits.net>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-05-30 03:14:46 +00:00
parent 4a31d9e168
commit f900f71f1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43299
8 changed files with 109 additions and 0 deletions

View File

@ -377,6 +377,7 @@
SUBDIR += wide-dhcp
SUBDIR += wmnet
SUBDIR += wmnetmon
SUBDIR += wmqmon
SUBDIR += xarchie
SUBDIR += xbone
SUBDIR += xferstats

42
net/wmqmon/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: wmqmon
# Date created: Mon May 28 13:59:51 EDT 2001
# Whom: Patrick Li <pat@databits.net>
#
# $FreeBSD$
#
PORTNAME= wmqmon
PORTVERSION= 0.7
CATEGORIES= net windowmaker
MASTER_SITES= http://www.gibfest.org/~w1nter/
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= pat@databits.net
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_XPM= yes
do-configure:
@${PERL} -pi -ne "s|/usr/X11R6/|${X11BASE}/|" \
${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${ECHO} "===> Installing wmqmon.rcfile.example in ${PREFIX}/share/examples/${PORTNAME}"
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
@${INSTALL_DATA} ${WRKSRC}/wmqmon.rcfile.example ${PREFIX}/share/examples/${PORTNAME}
@${ECHO} "===> Modify to your config and copy to ~/.wmqmon.rcfile.example"
.ifndef(NOPORTDOCS)
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/${PORTNAME}"
@${ECHO} "===> Please read it for usage instructions"
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
${PREFIX}/share/doc/${PORTNAME}
.for file in BUGS README
@${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/${PORTNAME}
.endfor
.endif # !NOPORTDOCS
.include <bsd.port.mk>

1
net/wmqmon/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (wmqmon.0.7.tar.gz) = 9cf9f48c7e6e1d65c071d764dcabfa0d

View File

@ -0,0 +1,29 @@
--- Makefile.orig Fri Feb 23 06:47:50 2001
+++ Makefile Tue May 29 15:39:34 2001
@@ -21,14 +21,14 @@
#
#
-CC = gcc
-CFLAGS = -O2 -Wall
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+CFLAGS += -Wall
+INCDIR = -I/usr/X11R6/include
DESTDIR= /usr/local
LIBDIR = -L/usr/X11R6/lib
# for Linux
LIBS = -lXpm -lX11 -lXext
+LIBS+= -lcompat
# for Solaris
# LIBS = -lXpm -lX11 -lXext -lsocket -lnsl
@@ -39,7 +39,7 @@
../wmgeneral/misc.o \
../wmgeneral/list.o
-.cpp.o:
+.c.o:
$(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)

View File

@ -0,0 +1,17 @@
--- wmqmon.c.orig Fri Feb 23 04:57:29 2001
+++ wmqmon.c Mon May 28 15:01:01 2001
@@ -33,13 +33,13 @@
#define EMAIL "w1nter@gibfest.org"
#define WEBPAGE "http://www.gibfest.org/~w1nter/"
-#include <sys/socket.h>
#include <sys/time.h>
#include <sys/timeb.h>
#include <sys/poll.h>
#include <sys/wait.h>
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>

1
net/wmqmon/pkg-comment Normal file
View File

@ -0,0 +1 @@
Window Maker dockapp that monitors Quake 3 and Half-Life servers

12
net/wmqmon/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
wmqmon allows you to keep an eye on any number of Quake 3 Arena
and Half-Life servers. This of course includes CounterStrike. The
display currently includes the ping time, number of players, and
the current map. Note that wmqmon does not interrogate a master
server for a list of running games. It is intended only to monitor
a collection of favorite servers that you set up by hand. The
default configuration file it reads from is $HOME/.wmqmon
WWW: http://www.gibfest.org/~w1nter/
Author: Jon Pile <w1nter@gibfest.org>
-Patrick Li <pat@databits.net>

6
net/wmqmon/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
bin/wmqmon
%%PORTDOCS%%share/doc/wmqmon/BUGS
%%PORTDOCS%%share/doc/wmqmon/README
share/examples/wmqmon/wmqmon.rcfile.example
@dirrm share/examples/wmqmon
%%PORTDOCS%%@dirrm share/doc/wmqmon