1
0
forked from ports/contrib

xmbmon: Added patch for Asus A7N8X-VM/400 motherboards. Also a full review of the port was made.

This commit is contained in:
Jose V Beneyto 2007-12-10 17:38:13 +01:00 committed by Danny Rawlins
parent edc2813f0d
commit 3f546fddbf
4 changed files with 29 additions and 17 deletions

View File

@ -1,11 +1,8 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/X11R6/
drwxr-xr-x root/root usr/X11R6/man/
drwxr-xr-x root/root usr/X11R6/man/man1/
-rw-r--r-- root/root usr/X11R6/man/man1/xmbmon.1x.gz
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/mbmon
-rwxr-xr-x root/root usr/bin/xmbmon
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/mbmon.1.gz
-rw-r--r-- root/root usr/man/man1/xmbmon.1.gz

View File

@ -1 +1,2 @@
ab6614c785f5b653fcc69fb9c02058f0 xmbmon205.tar.gz
c4c08595ee884b53fbc0c78ae623070e xmbmon205_A7N8X-VM.patch

View File

@ -1,21 +1,24 @@
# Description: Monitoring program for motherboards. Also includes mbmon command line utility.
# URL: http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
# Maintainer: Jose V Beneyto, joberui at ei dot upv dot es
# Packager: Jose V Beneyto, joberui at ei dot upv dot es
# Depends on: x11
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: xorg
name=xmbmon
version=2.0.5
release=1
source=(http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/${name}/${name}205.tar.gz)
release=2
source=(http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/${name}/${name}205.tar.gz \
http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/${name}/${name}205_A7N8X-VM.patch)
build() {
cd ${name}205
./configure --prefix=/usr \
--with-x
make
install -d $PKG/usr/{bin,man/man1,X11R6/man/man1}
install -m 755 mbmon $name $PKG/usr/bin
install -m 644 mbmon.1 $PKG/usr/man/man1
install -m 644 $name.1x $PKG/usr/X11R6/man/man1
cd ${name}205
patch methods.h ${SRC}/${name}205_A7N8X-VM.patch
./configure --prefix=/usr \
--with-x
make
sed -e 's|xmbmon 1x|xmbmon 1|g' -i ${name}.1x
install -D -m 0755 mbmon ${PKG}/usr/bin/mbmon
install -D -m 0755 ${name} ${PKG}/usr/bin/${name}
install -D -m 0644 mbmon.1 ${PKG}/usr/man/man1/mbmon.1
install -D -m 0644 ${name}.1x ${PKG}/usr/man/man1/${name}.1
}

View File

@ -0,0 +1,11 @@
--- methods.h.orig Fri Jan 7 04:14:02 2005
+++ methods.h Fri Jun 20 07:58:21 2003
@@ -2,7 +2,7 @@
#if !defined(__methods_h__)
#define __methods_h__
-#define IOP_ADDR 0x290
+#define IOP_ADDR 0xD00
#define WBIO1 (IOP_ADDR + 0x05)
#define WBIO2 (IOP_ADDR + 0x06)