diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-12-26 01:21:11 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-12-26 01:21:11 +0800 |
commit | f4d307d1a287a93bc74f292e793fd9fe27739879 (patch) | |
tree | 33549554e5fab0bdcecb98acff9069ec4c500efe | |
parent | 8464e80d2f5d259cfe21da5761f402f926ba5ca9 (diff) | |
download | marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.gz marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.bz2 marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.lz marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.xz marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.tar.zst marcuscom-ports-f4d307d1a287a93bc74f292e793fd9fe27739879.zip |
Add slmon, and chase the libgtop2 shared lib version.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5320 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | sysutils/slmon/Makefile | 41 | ||||
-rw-r--r-- | sysutils/slmon/distinfo | 3 | ||||
-rw-r--r-- | sysutils/slmon/files/patch-defines.h | 10 | ||||
-rw-r--r-- | sysutils/slmon/files/patch-draw.c | 12 | ||||
-rw-r--r-- | sysutils/slmon/pkg-descr | 9 |
5 files changed, 75 insertions, 0 deletions
diff --git a/sysutils/slmon/Makefile b/sysutils/slmon/Makefile new file mode 100644 index 000000000..27f990f80 --- /dev/null +++ b/sysutils/slmon/Makefile @@ -0,0 +1,41 @@ +# ex:ts=8 +# New ports collection makefile for: slmon +# Date created: Nov 13, 2001 +# Whom: ijliao +# +# $FreeBSD: ports/sysutils/slmon/Makefile,v 1.19 2005/11/05 05:21:49 marcus Exp $ +# + +PORTNAME= slmon +PORTVERSION= 0.5.13 +PORTREVISION= 2 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= S-Lang System Monitor + +LIB_DEPENDS= gtop-2.0.0:${PORTSDIR}/devel/libgtop2 \ + slang.1:${PORTSDIR}/devel/libslang + +USE_REINPLACE= yes +USE_GETOPT_LONG= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +MAN1= slmon.1 +PLIST_FILES= bin/slmon + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -lncurses -lm + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400010 +LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/slmon/distinfo b/sysutils/slmon/distinfo new file mode 100644 index 000000000..1ae6482c5 --- /dev/null +++ b/sysutils/slmon/distinfo @@ -0,0 +1,3 @@ +MD5 (slmon-0.5.13.tar.gz) = 9907c53e26b8dfb5d33af6da32ed89e3 +SHA256 (slmon-0.5.13.tar.gz) = dc38740e4e0cccb86ccf76aaad5734d7d1e42e144615ee09bc8c8c9290110b28 +SIZE (slmon-0.5.13.tar.gz) = 103826 diff --git a/sysutils/slmon/files/patch-defines.h b/sysutils/slmon/files/patch-defines.h new file mode 100644 index 000000000..49cffa33a --- /dev/null +++ b/sysutils/slmon/files/patch-defines.h @@ -0,0 +1,10 @@ +--- defines.h.orig Mon Jun 21 00:56:47 2004 ++++ defines.h Sun May 29 21:44:41 2005 +@@ -21,6 +21,7 @@ + #ifndef SLMON_DEFINES_H + #define SLMON_DEFINES_H + ++#include <sys/types.h> + #include <stdlib.h> + #include <time.h> + #include <string.h> diff --git a/sysutils/slmon/files/patch-draw.c b/sysutils/slmon/files/patch-draw.c new file mode 100644 index 000000000..d91c05eae --- /dev/null +++ b/sysutils/slmon/files/patch-draw.c @@ -0,0 +1,12 @@ +--- draw.c.orig Mon Jun 21 00:56:48 2004 ++++ draw.c Sun May 29 21:47:00 2005 +@@ -27,7 +27,9 @@ + #include <glibtop/netload.h> + + #include <sys/types.h> ++#include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + + /* + * Clear screen using color n. This should be used instead of SLsmg_cls() to diff --git a/sysutils/slmon/pkg-descr b/sysutils/slmon/pkg-descr new file mode 100644 index 000000000..bc54450ea --- /dev/null +++ b/sysutils/slmon/pkg-descr @@ -0,0 +1,9 @@ +SLmon is a tool for monitoring system's performance. It displays results +using nice and (hopefully) readable text-based UI. Currently monitored are: + + - CPU load (SMP is supported) + - memory (including swap) + - uptime, date and time + - number of logged in users + +WWW: http://slmon.sourceforge.net/ |