Bug 66218 - Update port: sysutils/xmbmon
Summary: Update port: sysutils/xmbmon
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 20:00 UTC by NAKAMURA Kazushi
Modified: 2004-05-24 21:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NAKAMURA Kazushi 2004-05-03 20:00:38 UTC
The "xmbmon" - M/B monitor is updated from 2.03 to 2.04.
So the port for xmbmon also updating.

Fix: 

-- 
<mailto:kaz@kobe1995.net>	NAKAMURA Kazushi@KOBE
<http://kobe1995.net/~kaz/index-e.html>
- Break the hate chain. No more kill!--0L0WwNgcjO18Q49OeVJoLlU6widAD1hjDPzL3ZcxtfFG89a6
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmbmon
#	xmbmon/files
#	xmbmon/files/patch-aa
#	xmbmon/pkg-plist
#	xmbmon/pkg-descr
#	xmbmon/Makefile
#	xmbmon/distinfo
#
echo c - xmbmon
mkdir -p xmbmon > /dev/null 2>&1
echo c - xmbmon/files
mkdir -p xmbmon/files > /dev/null 2>&1
echo x - xmbmon/files/patch-aa
sed 's/^X//' >xmbmon/files/patch-aa << 'END-of-xmbmon/files/patch-aa'
X--- Makefile.in.orig	Sun May  2 05:20:14 2004
X+++ Makefile.in	Tue May  4 03:13:39 2004
X@@ -18,9 +18,9 @@
X 
X DEFS=-DHAVE_CONFIG_H -Wall @HOSTDEF@
X 
X-LIBDIR=/usr/X11R6/lib
X+LIBDIR=$(X11BASE)/lib
X INCDIR=.
X-XINCDIR=/usr/X11R6/include
X+XINCDIR=$(X11BASE)/include
X XLIB=-lXaw -lXmu
X EXTENSIONLIB=-lXext
X INCLUDES=-I$(INCDIR)
X@@ -29,9 +29,9 @@
X LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
X 
X #CC=/compat/linux/usr/bin/gcc
X-CC=@CC@
X-CFLAGS=-O3 $(INCLUDES) $(DEFS)
X-CFLAGSX=-O3 $(XINCLUDES) $(DEFS)
X+CC?=@CC@
X+CFLAGS+= $(INCLUDES) $(DEFS)
X+CFLAGSX= $(XINCLUDES) $(DEFS)
X LDFLAGS=-s
X 
X LINT=lint
X@@ -40,19 +40,25 @@
X RM=rm -f
X INSTALL=install
X 
X-INST_DIR=/usr/local/bin
X-INST_MANDIR=/usr/local/man/man1
X-INST_XDIR=/usr/X11R6/bin
X-INST_MANXDIR=/usr/X11R6/man/man1
X-INST_XRDIR=/usr/X11R6/lib/X11/app-defaults
X+INST_DIR=$(PREFIX)/bin
X+INST_MANDIR=$(PREFIX)/man/man1
X+INST_XDIR=$(X11BASE)/bin
X+INST_MANXDIR=$(X11BASE)/man/man1
X+INST_XRDIR=$(X11BASE)/lib/X11/app-defaults
X  
X .c.o:
X 	$(CC) -c $(CFLAGS) $*.c
X 
X MANPAGE = mbmon.1 xmbmon.1x
X-PROGRAM = mbmon xmbmon
X-
X+PROGRAM = mbmon
X TESTPROG = testpci testsmb testhwm testfan
X+DOCS= ReadMe ReadMe.jp ReadMe.tech
X+.if !defined(WITHOUT_X11)
X+DOCS+=	xmbmon.resources
X+PROGRAM+= xmbmon
X+.endif
X+
X+all: $(PROGRAM) $(TESTPROG)
X 
X MB_OBJ  = getMB-via.o getMB-smb.o getMB-isa.o
X SMB_OBJ = smbuses.o smbus_piix4.o smbus_amd.o smbus_ali.o smbus_amd8.o
X@@ -136,11 +142,17 @@
X 	$(RM) Makefile config.cache config.log config.h config.status
X 
X install: $(PROGRAM)
X-	$(INSTALL) -o root -g wheel -m 4555 -c -p mbmon $(INST_DIR)
X-	$(INSTALL) -o root -g wheel -m 4555 -c -p xmbmon $(INST_XDIR)
X+	@for i in $(PROGRAM); do \
X+		$(INSTALL) -o root -g wheel -m 4555 -c -p $$i $(INST_DIR); \
X+	done
X 
X install-man: $(MANPAGE)
X 	$(INSTALL) -o root -g wheel -m 444 -c -p mbmon.1 $(INST_MANDIR)
X+
X+install-doc:
X+	@for f in $(DOCS); do \
X+		$(INSTALL_DATA) $$f $(DOCSDIR)/; \
X+	done
X 	$(INSTALL) -o root -g wheel -m 444 -c -p xmbmon.1x $(INST_MANXDIR)
X 
X lint:
END-of-xmbmon/files/patch-aa
echo x - xmbmon/pkg-plist
sed 's/^X//' >xmbmon/pkg-plist << 'END-of-xmbmon/pkg-plist'
Xbin/mbmon
X%%X11_ONLY%%bin/xmbmon
X%%PORTDOCS%%%%DOCSDIR%%/ReadMe
X%%PORTDOCS%%%%DOCSDIR%%/ReadMe.jp
X%%PORTDOCS%%%%DOCSDIR%%/ReadMe.tech
X%%X11_ONLY%%%%PORTDOCS%%%%DOCSDIR%%/xmbmon.resources
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-xmbmon/pkg-plist
echo x - xmbmon/pkg-descr
sed 's/^X//' >xmbmon/pkg-descr << 'END-of-xmbmon/pkg-descr'
XThis is an X/tty motherboard monitor which supports LM78/79, WINBond
X83781D/83782D/83783S, ASUS 991227F, and VIA VT82C686A/B PC-health
Xchips via 3 methods: ISA-I/O, SMBus, VIA-direct.
X
XRun "mbmon -h" or "xmbmon -help" to see the usage.
X
X***CAUTION*** 
X
XThese programs access to the SMBus or the ISA-IO port directly under
Xthe superuser privilege, so it may cause a system crash.  Please test
X"mbmon -d" or "xmbmon -debug" first.
X
XWWW: http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
X-- 
Xkaz@kobe1995.net (NAKAMURA Kazushi)
END-of-xmbmon/pkg-descr
echo x - xmbmon/Makefile
sed 's/^X//' >xmbmon/Makefile << 'END-of-xmbmon/Makefile'
X# Ports collection makefile for:	xmbmon
X# Date created:				2001/08/30
X# Whom:					kaz@kobe1995.net (NAKAMURA Kauzushi)
X#
X# $FreeBSD: ports/sysutils/xmbmon/Makefile,v 1.10 2004/02/25 09:55:24 kris Exp $
X#
X
XPORTNAME=	xmbmon
XPORTVERSION=	204
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/
X.if defined(WITHOUT_X11)
XPKGNAMESUFFIX=	-nox11
X.endif
XDISTNAME=	${PORTNAME}${PORTVERSION}
X
XMAINTAINER=	kaz@kobe1995.net
XCOMMENT=	X/tty motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
X
XGNU_CONFIGURE=	yes
X.if defined(WITHOUT_X11)
XPLIST_SUB=	X11_ONLY="@comment "
X.else
XUSE_XLIB=	yes
XPLIST_SUB=	X11_ONLY=""
X.endif
X
XMAKE_ARGS+=	DOCSDIR='${DOCSDIR}' INSTALL_DATA='${INSTALL_DATA}'
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} != "i386" && ${ARCH} != "amd64"
XBROKEN=		"Does not compile on !i386 and !amd64"
X.endif
X
Xpre-everything::
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "Definable build options"
X	@${ECHO_CMD} "-----------------------"
X	@${ECHO_CMD} "WITHOUT_X11	- Self explanatory"
X	@${ECHO_CMD} ""
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	(cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
X.endif
X
X.include <bsd.port.post.mk>
END-of-xmbmon/Makefile
echo x - xmbmon/distinfo
sed 's/^X//' >xmbmon/distinfo << 'END-of-xmbmon/distinfo'
XMD5 (xmbmon204.tar.gz) = 68516bf34c7a624b23122ba575b579cb
XSIZE (xmbmon204.tar.gz) = 117994
END-of-xmbmon/distinfo
exit
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-04 18:15:55 UTC
State Changed
From-To: open->feedback

Please resend the update as a unified diff between old and new 
port directory, as described in Porter's Handbook at 
http://www.freebsd.org/doc/en/books/porters-handbook/port-upgrading.html 
Thank you. 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-04 18:15:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

I will handle this
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-24 21:22:51 UTC
State Changed
From-To: feedback->closed

Committed, thanks. Please next time submit update 
as a diff, not as a shar. For details please consult 
Porter's Handbook.