aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xmbmon
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-03 17:37:52 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-03 17:37:52 +0000
commitde620ad21b01172653877098e93e1e8bb1345d5e (patch)
treea6737915e976795e9cc8e506bf2a24c48bb6545c /sysutils/xmbmon
parent7ab6aae6ba7585d0b61828df1bdb314b74f918bb (diff)
downloadports-de620ad21b01172653877098e93e1e8bb1345d5e.tar.gz
ports-de620ad21b01172653877098e93e1e8bb1345d5e.zip
Notes
Diffstat (limited to 'sysutils/xmbmon')
-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
6 files changed, 94 insertions, 0 deletions
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