aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xmbmon
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-29 03:09:30 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-29 03:09:30 +0000
commit3ea90e250cfddfdf3a62e93a5e320e229ac30802 (patch)
treef3f17c4b07e4ac43b8cb81a8b9628fc13c3f78a2 /sysutils/xmbmon
parent44860871a8733a97c14919ea55e3166512cad5ff (diff)
downloadports-3ea90e250cfddfdf3a62e93a5e320e229ac30802.tar.gz
ports-3ea90e250cfddfdf3a62e93a5e320e229ac30802.zip
Notes
Diffstat (limited to 'sysutils/xmbmon')
-rw-r--r--sysutils/xmbmon/Makefile11
-rw-r--r--sysutils/xmbmon/distinfo3
-rw-r--r--sysutils/xmbmon/files/patch-aa20
3 files changed, 19 insertions, 15 deletions
diff --git a/sysutils/xmbmon/Makefile b/sysutils/xmbmon/Makefile
index 6503243c21e6..bccc7f046795 100644
--- a/sysutils/xmbmon/Makefile
+++ b/sysutils/xmbmon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmbmon
-PORTVERSION= 201
+PORTVERSION= 202
CATEGORIES= sysutils
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/
.if defined(WITHOUT_X11)
@@ -14,19 +14,22 @@ PKGNAMESUFFIX= -nox11
.endif
DISTNAME= ${PORTNAME}${PORTVERSION}
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= xmbmon200202it87.diff
+
MAINTAINER= kaz@kobe1995.net
COMMENT= X/tty motherboard monitor for LM78/79, W8378x, AS99127F and VT82C686
GNU_CONFIGURE= yes
.if defined(WITHOUT_X11)
-MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
PLIST_SUB= X11_ONLY="@comment "
.else
USE_XLIB= yes
-MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
PLIST_SUB= X11_ONLY=""
.endif
+MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
+
pre-everything::
@${ECHO_CMD} ""
@${ECHO_CMD} "Definable build options"
@@ -36,7 +39,7 @@ pre-everything::
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
.endif
diff --git a/sysutils/xmbmon/distinfo b/sysutils/xmbmon/distinfo
index b402f6e23dd8..61c8ddca3384 100644
--- a/sysutils/xmbmon/distinfo
+++ b/sysutils/xmbmon/distinfo
@@ -1 +1,2 @@
-MD5 (xmbmon201.tar.gz) = 1774fdd5ef6b6fa6b119ca5826381aac
+MD5 (xmbmon202.tar.gz) = 5aeeb0e61a2227b18f67c72dc49b4bb6
+MD5 (xmbmon200202it87.diff) = c49353e00d704a247fba4997b9b0d360
diff --git a/sysutils/xmbmon/files/patch-aa b/sysutils/xmbmon/files/patch-aa
index f07e3c43fc0e..89496d8d1562 100644
--- a/sysutils/xmbmon/files/patch-aa
+++ b/sysutils/xmbmon/files/patch-aa
@@ -1,8 +1,8 @@
---- Makefile.in.orig Thu Aug 22 14:03:21 2002
-+++ Makefile.in Fri Nov 22 22:14:39 2002
+--- Makefile.in.orig Sun Jun 8 21:28:31 2003
++++ Makefile.in Sun Jul 27 13:11:15 2003
@@ -13,9 +13,9 @@
- DEFS=-DHAVE_CONFIG_H -Wall
+ DEFS=-DHAVE_CONFIG_H -Wall @HOSTDEF@
-LIBDIR=/usr/X11R6/lib
+LIBDIR=$(X11BASE)/lib
@@ -12,20 +12,20 @@
XLIB=-lXaw -lXmu
EXTENSIONLIB=-lXext
INCLUDES=-I$(INCDIR)
-@@ -23,9 +23,9 @@
+@@ -24,9 +24,9 @@
LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
#CC=/compat/linux/usr/bin/gcc
--CC=gcc
+-CC=@CC@
-CFLAGS=-O3 $(INCLUDES) $(DEFS)
-CFLAGSX=-O3 $(XINCLUDES) $(DEFS)
-+CC?=gcc
++CC?=@CC@
+CFLAGS+= $(INCLUDES) $(DEFS)
-+CFLAGSX= $(XINCLUDES) $(CFLAGS)
++CFLAGSX= $(XINCLUDES) $(DEFS)
LDFLAGS=-s
LINT=lint
-@@ -34,16 +34,22 @@
+@@ -35,16 +35,22 @@
RM=rm -f
INSTALL=install
@@ -52,8 +52,8 @@
+all: $(PROGRAM) $(TESTPROG)
MB_OBJ = getMB-via.o getMB-smb.o getMB-isa.o
- SMB_OBJ = smbus_piix4.o smbus_amd.o smbus_ali.o
-@@ -115,8 +121,14 @@
+ SMB_OBJ = smbuses.o smbus_piix4.o smbus_amd.o smbus_ali.o smbus_amd8.o
+@@ -124,8 +130,14 @@
$(RM) Makefile config.cache config.log config.h config.status
install: $(PROGRAM)