summaryrefslogtreecommitdiff
path: root/net/gkrellm-multiping/Makefile
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-02-24 23:41:55 +0000
committercube <cube@pkgsrc.org>2004-02-24 23:41:55 +0000
commit9624eee238728c592b8b2e34e1bf42613ca791d7 (patch)
treec5afdbfd929ae4c0502a5ae54d9397c239aadca1 /net/gkrellm-multiping/Makefile
parent536eea0ef8a1ead8de5ed13cfd76b04a45be3f5b (diff)
downloadpkgsrc-9624eee238728c592b8b2e34e1bf42613ca791d7.tar.gz
Initial import of gkrellm-multiping, version 2.0.8 into the NetBSD Package
Collection, from pkgsrc-wip. gkrellm-multiping is a GKrellM plugin that repeatedly pings a list of hosts and show their respective status. Optionally it can displays the average round-trip time value for each host.
Diffstat (limited to 'net/gkrellm-multiping/Makefile')
-rw-r--r--net/gkrellm-multiping/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/gkrellm-multiping/Makefile b/net/gkrellm-multiping/Makefile
new file mode 100644
index 00000000000..5f35d0c53ff
--- /dev/null
+++ b/net/gkrellm-multiping/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 23:41:55 cube Exp $
+#
+
+DISTNAME= gkrellm-multiping-2.0.8
+CATEGORIES= net
+MASTER_SITES= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://kmlinux.fjfi.cvut.cz/~makovick/gkrellm/index.html
+COMMENT= Pings several machines and prints out stats
+
+USE_BUILDLINK3= YES
+USE_PKGINSTALL= YES
+SPECIAL_PERMS+= ${PREFIX}/lib/gkrellm2/plugins/pinger ${SETUID_ROOT_PERMS}
+PTHREAD_OPTS= require
+
+MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}"
+
+post-patch:
+ ${SED} -e s,@@PREFIX@@,${PREFIX}, ${WRKSRC}/multiping.c > ${WRKSRC}/multiping.c.sed
+ ${CP} ${WRKSRC}/multiping.c.sed ${WRKSRC}/multiping.c
+
+.include "../../sysutils/gkrellm/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"