aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/mbmon/Makefile31
-rw-r--r--sysutils/mbmon/distinfo1
-rw-r--r--sysutils/mbmon/files/patch-aa41
-rw-r--r--sysutils/mbmon/pkg-comment1
-rw-r--r--sysutils/mbmon/pkg-descr13
-rw-r--r--sysutils/mbmon/pkg-plist7
-rw-r--r--sysutils/xmbmon/Makefile31
-rw-r--r--sysutils/xmbmon/distinfo1
-rw-r--r--sysutils/xmbmon/files/patch-aa41
-rw-r--r--sysutils/xmbmon/pkg-comment1
-rw-r--r--sysutils/xmbmon/pkg-descr13
-rw-r--r--sysutils/xmbmon/pkg-plist7
13 files changed, 189 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 23da4485a1b8..b2cebacd7d3b 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -194,6 +194,7 @@
SUBDIR += xin
SUBDIR += xloadface
SUBDIR += xlogmaster
+ SUBDIR += xmbmon
SUBDIR += xosview
SUBDIR += xperfmon
SUBDIR += xperfmon3
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
diff --git a/sysutils/xmbmon/Makefile b/sysutils/xmbmon/Makefile
new file mode 100644
index 000000000000..26d505c34f3d
--- /dev/null
+++ b/sysutils/xmbmon/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/xmbmon/distinfo b/sysutils/xmbmon/distinfo
new file mode 100644
index 000000000000..4a4f91fee2cf
--- /dev/null
+++ b/sysutils/xmbmon/distinfo
@@ -0,0 +1 @@
+MD5 (xmbmon106pl1.tar.gz) = 54caa4b19caefd461129b8dc25f7c008
diff --git a/sysutils/xmbmon/files/patch-aa b/sysutils/xmbmon/files/patch-aa
new file mode 100644
index 000000000000..d2d6430fcbfe
--- /dev/null
+++ b/sysutils/xmbmon/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/xmbmon/pkg-comment b/sysutils/xmbmon/pkg-comment
new file mode 100644
index 000000000000..3d2d057a2367
--- /dev/null
+++ b/sysutils/xmbmon/pkg-comment
@@ -0,0 +1 @@
+X/tty motherboard monitor for LM78/79, W8378x, AS99127F and VT82C686
diff --git a/sysutils/xmbmon/pkg-descr b/sysutils/xmbmon/pkg-descr
new file mode 100644
index 000000000000..feab039a5575
--- /dev/null
+++ b/sysutils/xmbmon/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/xmbmon/pkg-plist b/sysutils/xmbmon/pkg-plist
new file mode 100644
index 000000000000..41899367969f
--- /dev/null
+++ b/sysutils/xmbmon/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