diff options
author | knu <knu@FreeBSD.org> | 2001-09-04 01:37:52 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-09-04 01:37:52 +0800 |
commit | e6faab5517699186fb252a95d4709a21e16f0069 (patch) | |
tree | f3a78a466496d68b924a9cbee32045dbee005cbd /sysutils/mbmon | |
parent | 9dfa588e17b4541bf6971d117f55defb8760b28b (diff) | |
download | freebsd-ports-gnome-e6faab5517699186fb252a95d4709a21e16f0069.tar.gz freebsd-ports-gnome-e6faab5517699186fb252a95d4709a21e16f0069.tar.zst freebsd-ports-gnome-e6faab5517699186fb252a95d4709a21e16f0069.zip |
Add xmbmon, X/tty motherboard monitor for LM78/79, W8378x, AS99127F
and VT82C686.
PR: ports/30233
Submitted by: NAKAMURA Kazushi <kaz@kobe1995.net>
Diffstat (limited to 'sysutils/mbmon')
-rw-r--r-- | sysutils/mbmon/Makefile | 31 | ||||
-rw-r--r-- | sysutils/mbmon/distinfo | 1 | ||||
-rw-r--r-- | sysutils/mbmon/files/patch-aa | 41 | ||||
-rw-r--r-- | sysutils/mbmon/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/mbmon/pkg-descr | 13 | ||||
-rw-r--r-- | sysutils/mbmon/pkg-plist | 7 |
6 files changed, 94 insertions, 0 deletions
diff --git a/sysutils/mbmon/Makefile b/sysutils/mbmon/Makefile new file mode 100644 index 000000000000..26d505c34f3d --- /dev/null +++ b/sysutils/mbmon/Makefile @@ -0,0 +1,31 @@ +# ports collection makefile for: xmbmon +# Date created: 2001/08/30 +# Whom: kaz +# +# $FreeBSD$ +# + +PORTNAME= xmbmon +PORTVERSION= 106p1 +CATEGORIES= sysutils +MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/ +DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pl/} + +MAINTAINER= kaz@kobe1995.net + +GNU_CONFIGURE= yes +USE_X_PREFIX= yes + +DOCS= 00README.txt 00READMEj.txt DEBUG_Info xmbmon.resources + +.include <bsd.port.pre.mk> + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/mbmon/distinfo b/sysutils/mbmon/distinfo new file mode 100644 index 000000000000..4a4f91fee2cf --- /dev/null +++ b/sysutils/mbmon/distinfo @@ -0,0 +1 @@ +MD5 (xmbmon106pl1.tar.gz) = 54caa4b19caefd461129b8dc25f7c008 diff --git a/sysutils/mbmon/files/patch-aa b/sysutils/mbmon/files/patch-aa new file mode 100644 index 000000000000..d2d6430fcbfe --- /dev/null +++ b/sysutils/mbmon/files/patch-aa @@ -0,0 +1,41 @@ +--- Makefile.in.orig Tue Aug 28 05:43:05 2001 ++++ Makefile.in Tue Sep 4 02:18:09 2001 +@@ -12,9 +12,10 @@ + + DEFS=-DHAVE_CONFIG_H + +-LIBDIR=/usr/X11R6/lib ++X11BASE?=/usr/X11R6 ++LIBDIR=$(X11BASE)/lib + INCDIR=. +-XINCDIR=/usr/X11R6/include ++XINCDIR=$(X11BASE)/include + XLIB=-lXaw -lXmu + EXTENSIONLIB=-lXext + INCLUDES=-I$(INCDIR) +@@ -22,9 +23,9 @@ + LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm + + #CC=/compat/linux/usr/bin/gcc +-CC=gcc +-CFLAGS=-O3 $(INCLUDES) $(DEFS) +-CFLAGSX=-O3 $(XINCLUDES) $(DEFS) ++CC?=gcc ++CFLAGS+= $(INCLUDES) $(DEFS) ++CFLAGSX= $(XINCLUDES) $(CFLAGS) + LDFLAGS=-s + + LINT=lint +@@ -33,9 +34,9 @@ + RM=rm -f + INSTALL=install + +-INST_DIR=/usr/local/bin +-INST_XDIR=/usr/X11R6/bin +-INST_XRDIR=/usr/X11R6/lib/X11/app-defaults ++INST_DIR=$(X11BASE)/bin ++INST_XDIR=$(X11BASE)/bin ++INST_XRDIR=$(X11BASE)/lib/X11/app-defaults + + .c.o: + $(CC) -c $(CFLAGS) $*.c diff --git a/sysutils/mbmon/pkg-comment b/sysutils/mbmon/pkg-comment new file mode 100644 index 000000000000..3d2d057a2367 --- /dev/null +++ b/sysutils/mbmon/pkg-comment @@ -0,0 +1 @@ +X/tty motherboard monitor for LM78/79, W8378x, AS99127F and VT82C686 diff --git a/sysutils/mbmon/pkg-descr b/sysutils/mbmon/pkg-descr new file mode 100644 index 000000000000..feab039a5575 --- /dev/null +++ b/sysutils/mbmon/pkg-descr @@ -0,0 +1,13 @@ +This is an X/tty motherboard monitor which supports LM78/79, WINBond +83781D/83782D/83783S, ASUS 991227F, and VIA VT82C686A/B PC-health +chips via 3 methods: ISA-I/O, SMBus, VIA-direct. + +Run "mbmon -h" or "xmbmon -help" to see the usage. + +***CAUTION*** + +These programs access to the SMBus or the ISA-IO port directly under +the superuser privilege, so it may cause a system crash. Please test +"mbmon -d" or "xmbmon -debug" first. +-- +kaz diff --git a/sysutils/mbmon/pkg-plist b/sysutils/mbmon/pkg-plist new file mode 100644 index 000000000000..41899367969f --- /dev/null +++ b/sysutils/mbmon/pkg-plist @@ -0,0 +1,7 @@ +bin/mbmon +bin/xmbmon +%%PORTDOCS%%share/doc/xmbmon/00README.txt +%%PORTDOCS%%share/doc/xmbmon/00READMEj.txt +%%PORTDOCS%%share/doc/xmbmon/DEBUG_Info +%%PORTDOCS%%share/doc/xmbmon/xmbmon.resources +%%PORTDOCS%%@dirrm share/doc/xmbmon |