diff options
author | oliver <oliver@FreeBSD.org> | 2004-02-21 04:40:57 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2004-02-21 04:40:57 +0800 |
commit | cf2e68d97d03cc79f6e004a74480e2aa9f39e76e (patch) | |
tree | c576a6e332306a3331f58042b84462ebac5b8174 | |
parent | 6a2384c06d3e4abc6a9777d040602b0bec987a54 (diff) | |
download | freebsd-ports-gnome-cf2e68d97d03cc79f6e004a74480e2aa9f39e76e.tar.gz freebsd-ports-gnome-cf2e68d97d03cc79f6e004a74480e2aa9f39e76e.tar.zst freebsd-ports-gnome-cf2e68d97d03cc79f6e004a74480e2aa9f39e76e.zip |
Add wmpiki 0.2.1, a multiping host checker dockapp.
PR: 63093
Submitted by: Thomas Kempka <t.kempka@web.de>
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/wmpiki/Makefile | 37 | ||||
-rw-r--r-- | net/wmpiki/distinfo | 1 | ||||
-rw-r--r-- | net/wmpiki/files/patch::wmpiki.c | 14 | ||||
-rw-r--r-- | net/wmpiki/pkg-descr | 5 | ||||
-rw-r--r-- | net/wmpiki/pkg-plist | 4 |
6 files changed, 62 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 8f4165393476..a082ee3d713b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -787,6 +787,7 @@ SUBDIR += wmnet2 SUBDIR += wmnetload SUBDIR += wmnetmon + SUBDIR += wmpiki SUBDIR += wmq3 SUBDIR += wmwave SUBDIR += wol diff --git a/net/wmpiki/Makefile b/net/wmpiki/Makefile new file mode 100644 index 000000000000..a3e0127fc2fb --- /dev/null +++ b/net/wmpiki/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: wmpiki +# Date created: 19 February 2004 +# Whom: Thomas Kempka <t.kempka@web.de> +# +# $FreeBSD$ +# + +PORTNAME= wmpiki +PORTVERSION= 0.2.1 +CATEGORIES= net windowmaker +MASTER_SITES= http://clay.ll.pl/download/ + +MAINTAINER= t.kempka@web.de +COMMENT= A multiping host checker dockapp + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_X_PREFIX= yes +USE_XPM= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/X11R6|$$(X11BASE)|g' \ + -e 's|/include/X11|/include|g' \ + -e 's|gcc|cc|g' \ + ${WRKSRC}/Makefile + +do-install: + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/config.example ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + ${INSTALL_PROGRAM} ${WRKSRC}/wmpiki ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/net/wmpiki/distinfo b/net/wmpiki/distinfo new file mode 100644 index 000000000000..f796ff3e2552 --- /dev/null +++ b/net/wmpiki/distinfo @@ -0,0 +1 @@ +MD5 (wmpiki-0.2.1.tar.gz) = f76d66a4856746e65a2607b7325d1cf0 diff --git a/net/wmpiki/files/patch::wmpiki.c b/net/wmpiki/files/patch::wmpiki.c new file mode 100644 index 000000000000..47ad49a9908a --- /dev/null +++ b/net/wmpiki/files/patch::wmpiki.c @@ -0,0 +1,14 @@ +--- wmpiki.c.orig Thu Feb 19 23:58:54 2004 ++++ wmpiki.c Fri Feb 20 00:05:01 2004 +@@ -118,9 +118,9 @@ + int ret; + + strcpy(commandbuffer, "ping "); +- strcat(commandbuffer, hostname); +- strcat(commandbuffer, " "); + strcat(commandbuffer, ping_options); ++ strcat(commandbuffer, " "); ++ strcat(commandbuffer, hostname); + strcat(commandbuffer, " | grep '"); + strcat(commandbuffer, ping_grep); + strcat(commandbuffer, "'"); diff --git a/net/wmpiki/pkg-descr b/net/wmpiki/pkg-descr new file mode 100644 index 000000000000..e16be37c694b --- /dev/null +++ b/net/wmpiki/pkg-descr @@ -0,0 +1,5 @@ +A multiping hostchecker dockapp. +Take a look at the README for further details. + +WWW: http://clay.ll.pl/dockapps.html +Author: pasp <pasp@ll.pl>, sill <sill@clay.ll.pl> diff --git a/net/wmpiki/pkg-plist b/net/wmpiki/pkg-plist new file mode 100644 index 000000000000..88c8a2b785f9 --- /dev/null +++ b/net/wmpiki/pkg-plist @@ -0,0 +1,4 @@ +bin/wmpiki +%%PORTDOCS%%%%DOCSDIR%%/config.example +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |