mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Update to 201
PR: ports/42984 Submitted by: maintainer
This commit is contained in:
parent
f2e7e24ee4
commit
570816fa87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74713
@ -1,26 +1,24 @@
|
||||
# ports collection makefile for: xmbmon
|
||||
# Date created: 2001/08/30
|
||||
# Whom: kaz
|
||||
# Ports collection makefile for: xmbmon
|
||||
# Date created: 2001/08/30
|
||||
# Whom: kaz@kobe1995.net (NAKAMURA Kauzushi)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xmbmon
|
||||
PORTVERSION= 107p1
|
||||
PORTVERSION= 201
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pl/}
|
||||
.if defined(WITHOUT_X11)
|
||||
PKGNAMESUFFIX= -nox11
|
||||
.endif
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
|
||||
MAINTAINER= kaz@kobe1995.net
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
DOCS= 00README.txt 00READMEj.txt DEBUG_Info xmbmon.resources
|
||||
|
||||
WITHOUT_X11?= no
|
||||
|
||||
.if (${WITHOUT_X11} == yes)
|
||||
MAKE_ARGS+= WITHOUT_X11=yes DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
|
||||
DOCS= 00README.txt 00READMEj.txt DEBUG_Info
|
||||
.if defined(WITHOUT_X11)
|
||||
MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
|
||||
PLIST_SUB= X11_ONLY="@comment "
|
||||
.else
|
||||
USE_XLIB= yes
|
||||
@ -28,21 +26,12 @@ MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
|
||||
PLIST_SUB= X11_ONLY=""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-extract:
|
||||
@${ECHO}
|
||||
@${ECHO} "set WITHOUT_X11 variable to 'yes' if you want to build without X11"
|
||||
@${ECHO}
|
||||
|
||||
post-patch:
|
||||
@${MV} -f ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.X
|
||||
.if ${WITHOUT_X11} == yes
|
||||
@${GREP} -v '^PROGRAM+=' ${WRKSRC}/Makefile.in.X | ${SED} 's/__DOCS__/$(DOCS)/' > ${WRKSRC}/Makefile.in
|
||||
.else
|
||||
@${SED} 's/__DOCS__/$(DOCS)/' ${WRKSRC}/Makefile.in.X > ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
@${RM} -f ${WRKSRC}/Makefile.in.X
|
||||
pre-everything::
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} "Definable build options"
|
||||
@${ECHO_CMD} "-----------------------"
|
||||
@${ECHO_CMD} "WITHOUT_X11 - Self explanatory"
|
||||
@${ECHO_CMD} ""
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -50,4 +39,4 @@ post-install:
|
||||
(cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (xmbmon107pl1.tar.gz) = 086ba6c4ba6c99f860cf01f2e6b940d8
|
||||
MD5 (xmbmon201.tar.gz) = 1774fdd5ef6b6fa6b119ca5826381aac
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- Makefile.in~ Mon Feb 11 00:43:27 2002
|
||||
+++ Makefile.in Sun Feb 17 13:33:34 2002
|
||||
@@ -11,9 +11,9 @@
|
||||
--- Makefile.in.orig Thu Aug 22 14:03:21 2002
|
||||
+++ Makefile.in Fri Nov 22 22:14:39 2002
|
||||
@@ -13,9 +13,9 @@
|
||||
|
||||
DEFS=-DHAVE_CONFIG_H
|
||||
DEFS=-DHAVE_CONFIG_H -Wall
|
||||
|
||||
-LIBDIR=/usr/X11R6/lib
|
||||
+LIBDIR=$(X11BASE)/lib
|
||||
@ -12,7 +12,7 @@
|
||||
XLIB=-lXaw -lXmu
|
||||
EXTENSIONLIB=-lXext
|
||||
INCLUDES=-I$(INCDIR)
|
||||
@@ -21,9 +21,9 @@
|
||||
@@ -23,9 +23,9 @@
|
||||
LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
|
||||
|
||||
#CC=/compat/linux/usr/bin/gcc
|
||||
@ -25,7 +25,7 @@
|
||||
LDFLAGS=-s
|
||||
|
||||
LINT=lint
|
||||
@@ -32,16 +32,19 @@
|
||||
@@ -34,16 +34,22 @@
|
||||
RM=rm -f
|
||||
INSTALL=install
|
||||
|
||||
@ -39,18 +39,21 @@
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
-PROGRAM = mbmon xmbmon testpci testsmb testhwm testfan
|
||||
-PROGRAM = mbmon xmbmon
|
||||
-
|
||||
+PROGRAM = mbmon
|
||||
+TESTER = testpci testsmb testhwm testfan
|
||||
+DOCS= 00README.txt 00READMEj.txt DEBUG_Info xmbmon.resources
|
||||
TESTPROG = testpci testsmb testhwm testfan
|
||||
+DOCS= 00README.txt 00READMEj.txt 00READMEtech.txt
|
||||
+.if !defined(WITHOUT_X11)
|
||||
+DOCS+= xmbmon.resources
|
||||
+PROGRAM+= xmbmon
|
||||
+.endif
|
||||
+
|
||||
+all: $(PROGRAM) $(TESTPROG)
|
||||
|
||||
-all: $(PROGRAM)
|
||||
+all: $(PROGRAM) $(TESTER)
|
||||
|
||||
mbmon: methods.h mbmon.c mbmon_small.c getMBinfo.o getMB-isa.o getMB-smb.o getMB-via.o pci_hwm.h pci_hwm.o smb_io.h smb_io.c
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mbmon.c getMBinfo.o getMB-isa.o getMB-smb.o getMB-via.o pci_hwm.o
|
||||
@@ -68,8 +71,14 @@
|
||||
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 @@
|
||||
$(RM) Makefile config.cache config.log config.h config.status
|
||||
|
||||
install: $(PROGRAM)
|
||||
@ -63,7 +66,7 @@
|
||||
lint:
|
||||
$(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm
|
||||
+
|
||||
+install-doc: $(DOCS)
|
||||
+install-doc:
|
||||
+ @for f in $(DOCS); do \
|
||||
+ $(INSTALL_DATA) $$f $(DOCSDIR)/; \
|
||||
+ done
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- getMB-isa.c.orig Tue Dec 10 08:56:28 2002
|
||||
+++ getMB-isa.c Tue Dec 10 08:57:21 2002
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef LINUX /* FreeBSD */
|
||||
+#include <sys/types.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#define OUTb(x,y) outb((x),(y))
|
||||
#define WAIT outb(0xEB,0x00)
|
@ -1,10 +0,0 @@
|
||||
--- getMB-via.c.orig Tue Dec 10 08:56:53 2002
|
||||
+++ getMB-via.c Tue Dec 10 08:59:07 2002
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef LINUX /* FreeBSD */
|
||||
+#include <sys/types.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#define OUTb(x,y) outb((x),(y))
|
||||
#define WAIT outb(0xEB,0x00)
|
@ -12,4 +12,4 @@ the superuser privilege, so it may cause a system crash. Please test
|
||||
|
||||
WWW: http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
|
||||
--
|
||||
kaz
|
||||
kaz@kobe1995.net (NAKAMURA Kazushi)
|
||||
|
@ -2,6 +2,6 @@ bin/mbmon
|
||||
%%X11_ONLY%%bin/xmbmon
|
||||
%%PORTDOCS%%share/doc/xmbmon/00README.txt
|
||||
%%PORTDOCS%%share/doc/xmbmon/00READMEj.txt
|
||||
%%PORTDOCS%%share/doc/xmbmon/DEBUG_Info
|
||||
%%PORTDOCS%%share/doc/xmbmon/00READMEtech.txt
|
||||
%%X11_ONLY%%%%PORTDOCS%%share/doc/xmbmon/xmbmon.resources
|
||||
%%PORTDOCS%%@dirrm share/doc/xmbmon
|
||||
|
@ -1,26 +1,24 @@
|
||||
# ports collection makefile for: xmbmon
|
||||
# Date created: 2001/08/30
|
||||
# Whom: kaz
|
||||
# Ports collection makefile for: xmbmon
|
||||
# Date created: 2001/08/30
|
||||
# Whom: kaz@kobe1995.net (NAKAMURA Kauzushi)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xmbmon
|
||||
PORTVERSION= 107p1
|
||||
PORTVERSION= 201
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pl/}
|
||||
.if defined(WITHOUT_X11)
|
||||
PKGNAMESUFFIX= -nox11
|
||||
.endif
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
|
||||
MAINTAINER= kaz@kobe1995.net
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
DOCS= 00README.txt 00READMEj.txt DEBUG_Info xmbmon.resources
|
||||
|
||||
WITHOUT_X11?= no
|
||||
|
||||
.if (${WITHOUT_X11} == yes)
|
||||
MAKE_ARGS+= WITHOUT_X11=yes DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
|
||||
DOCS= 00README.txt 00READMEj.txt DEBUG_Info
|
||||
.if defined(WITHOUT_X11)
|
||||
MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
|
||||
PLIST_SUB= X11_ONLY="@comment "
|
||||
.else
|
||||
USE_XLIB= yes
|
||||
@ -28,21 +26,12 @@ MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)'
|
||||
PLIST_SUB= X11_ONLY=""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-extract:
|
||||
@${ECHO}
|
||||
@${ECHO} "set WITHOUT_X11 variable to 'yes' if you want to build without X11"
|
||||
@${ECHO}
|
||||
|
||||
post-patch:
|
||||
@${MV} -f ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.X
|
||||
.if ${WITHOUT_X11} == yes
|
||||
@${GREP} -v '^PROGRAM+=' ${WRKSRC}/Makefile.in.X | ${SED} 's/__DOCS__/$(DOCS)/' > ${WRKSRC}/Makefile.in
|
||||
.else
|
||||
@${SED} 's/__DOCS__/$(DOCS)/' ${WRKSRC}/Makefile.in.X > ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
@${RM} -f ${WRKSRC}/Makefile.in.X
|
||||
pre-everything::
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} "Definable build options"
|
||||
@${ECHO_CMD} "-----------------------"
|
||||
@${ECHO_CMD} "WITHOUT_X11 - Self explanatory"
|
||||
@${ECHO_CMD} ""
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -50,4 +39,4 @@ post-install:
|
||||
(cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (xmbmon107pl1.tar.gz) = 086ba6c4ba6c99f860cf01f2e6b940d8
|
||||
MD5 (xmbmon201.tar.gz) = 1774fdd5ef6b6fa6b119ca5826381aac
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- Makefile.in~ Mon Feb 11 00:43:27 2002
|
||||
+++ Makefile.in Sun Feb 17 13:33:34 2002
|
||||
@@ -11,9 +11,9 @@
|
||||
--- Makefile.in.orig Thu Aug 22 14:03:21 2002
|
||||
+++ Makefile.in Fri Nov 22 22:14:39 2002
|
||||
@@ -13,9 +13,9 @@
|
||||
|
||||
DEFS=-DHAVE_CONFIG_H
|
||||
DEFS=-DHAVE_CONFIG_H -Wall
|
||||
|
||||
-LIBDIR=/usr/X11R6/lib
|
||||
+LIBDIR=$(X11BASE)/lib
|
||||
@ -12,7 +12,7 @@
|
||||
XLIB=-lXaw -lXmu
|
||||
EXTENSIONLIB=-lXext
|
||||
INCLUDES=-I$(INCDIR)
|
||||
@@ -21,9 +21,9 @@
|
||||
@@ -23,9 +23,9 @@
|
||||
LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
|
||||
|
||||
#CC=/compat/linux/usr/bin/gcc
|
||||
@ -25,7 +25,7 @@
|
||||
LDFLAGS=-s
|
||||
|
||||
LINT=lint
|
||||
@@ -32,16 +32,19 @@
|
||||
@@ -34,16 +34,22 @@
|
||||
RM=rm -f
|
||||
INSTALL=install
|
||||
|
||||
@ -39,18 +39,21 @@
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $*.c
|
||||
|
||||
-PROGRAM = mbmon xmbmon testpci testsmb testhwm testfan
|
||||
-PROGRAM = mbmon xmbmon
|
||||
-
|
||||
+PROGRAM = mbmon
|
||||
+TESTER = testpci testsmb testhwm testfan
|
||||
+DOCS= 00README.txt 00READMEj.txt DEBUG_Info xmbmon.resources
|
||||
TESTPROG = testpci testsmb testhwm testfan
|
||||
+DOCS= 00README.txt 00READMEj.txt 00READMEtech.txt
|
||||
+.if !defined(WITHOUT_X11)
|
||||
+DOCS+= xmbmon.resources
|
||||
+PROGRAM+= xmbmon
|
||||
+.endif
|
||||
+
|
||||
+all: $(PROGRAM) $(TESTPROG)
|
||||
|
||||
-all: $(PROGRAM)
|
||||
+all: $(PROGRAM) $(TESTER)
|
||||
|
||||
mbmon: methods.h mbmon.c mbmon_small.c getMBinfo.o getMB-isa.o getMB-smb.o getMB-via.o pci_hwm.h pci_hwm.o smb_io.h smb_io.c
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mbmon.c getMBinfo.o getMB-isa.o getMB-smb.o getMB-via.o pci_hwm.o
|
||||
@@ -68,8 +71,14 @@
|
||||
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 @@
|
||||
$(RM) Makefile config.cache config.log config.h config.status
|
||||
|
||||
install: $(PROGRAM)
|
||||
@ -63,7 +66,7 @@
|
||||
lint:
|
||||
$(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm
|
||||
+
|
||||
+install-doc: $(DOCS)
|
||||
+install-doc:
|
||||
+ @for f in $(DOCS); do \
|
||||
+ $(INSTALL_DATA) $$f $(DOCSDIR)/; \
|
||||
+ done
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- getMB-isa.c.orig Tue Dec 10 08:56:28 2002
|
||||
+++ getMB-isa.c Tue Dec 10 08:57:21 2002
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef LINUX /* FreeBSD */
|
||||
+#include <sys/types.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#define OUTb(x,y) outb((x),(y))
|
||||
#define WAIT outb(0xEB,0x00)
|
@ -1,10 +0,0 @@
|
||||
--- getMB-via.c.orig Tue Dec 10 08:56:53 2002
|
||||
+++ getMB-via.c Tue Dec 10 08:59:07 2002
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef LINUX /* FreeBSD */
|
||||
+#include <sys/types.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#define OUTb(x,y) outb((x),(y))
|
||||
#define WAIT outb(0xEB,0x00)
|
@ -12,4 +12,4 @@ the superuser privilege, so it may cause a system crash. Please test
|
||||
|
||||
WWW: http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
|
||||
--
|
||||
kaz
|
||||
kaz@kobe1995.net (NAKAMURA Kazushi)
|
||||
|
@ -2,6 +2,6 @@ bin/mbmon
|
||||
%%X11_ONLY%%bin/xmbmon
|
||||
%%PORTDOCS%%share/doc/xmbmon/00README.txt
|
||||
%%PORTDOCS%%share/doc/xmbmon/00READMEj.txt
|
||||
%%PORTDOCS%%share/doc/xmbmon/DEBUG_Info
|
||||
%%PORTDOCS%%share/doc/xmbmon/00READMEtech.txt
|
||||
%%X11_ONLY%%%%PORTDOCS%%share/doc/xmbmon/xmbmon.resources
|
||||
%%PORTDOCS%%@dirrm share/doc/xmbmon
|
||||
|
Loading…
Reference in New Issue
Block a user