Date: Fri, 2 Apr 2004 22:59:44 +0800 (CST) From: Rong-En Fan <rafan@infor.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65076: New Port: net/xpvm (A Graphical Console and Monitor for PVM) Message-ID: <200404021459.i32Exivu092174@bsd3.csie.ntu.edu.tw> Resent-Message-ID: <200404021500.i32F0auQ018624@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65076 >Category: ports >Synopsis: New Port: net/xpvm (A Graphical Console and Monitor for PVM) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 02 07:00:35 PST 2004 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 4.9-RELEASE-p3 i386 >Organization: NTU CSIE >Environment: System: FreeBSD bsd3.csie.ntu.edu.tw 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #2: Sun Mar 7 16:00:41 CST 2004 root@bsd3.csie.ntu.edu.tw:/usr/obj/usr/src/sys/BSD i386 >Description: XPVM provides a graphical monitoring interface to PVM. Since it depeneds on PVM, so this port have to know the exact location of PVM and assume that is in ${LOCALBASE}/. >How-To-Repeat: >Fix: # 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: # # xpvm # xpvm/files # xpvm/files/patch-src:Makefile.aimk # xpvm/files/patch-src:Makefile.xpvm # xpvm/files/patch-tracer:Makefile.aimk # xpvm/Makefile # xpvm/distinfo # xpvm/pkg-descr # xpvm/pkg-plist # xpvm/pkg-message # echo c - xpvm mkdir -p xpvm > /dev/null 2>&1 echo c - xpvm/files mkdir -p xpvm/files > /dev/null 2>&1 echo x - xpvm/files/patch-src:Makefile.aimk sed 's/^X//' >xpvm/files/patch-src:Makefile.aimk << 'END-of-xpvm/files/patch-src:Makefile.aimk' Xdiff -ruN xpvm.orig/src/Makefile.aimk xpvm/src/Makefile.aimk X--- src/Makefile.aimk Fri Apr 10 05:11:22 1998 X+++ src/Makefile.aimk Thu Apr 1 13:38:57 2004 X@@ -39,36 +39,39 @@ X # X X # Personal Installation X-TCLTKHOME = $(HOME)/TCL X+#TCLTKHOME = $(HOME)/TCL X # System Installation X-#TCLTKHOME = /usr/local/lib X+TCLTKHOME = $(LOCALBASE) X X # Tcl 7.5 / Tk 4.1 and above X-TCLINCL = -I$(TCLTKHOME)/tcl/generic X-TKINCL = -I$(TCLTKHOME)/tk/generic X+#TCLINCL = -I$(TCLTKHOME)/tcl/generic X+#TKINCL = -I$(TCLTKHOME)/tk/generic X # Tcl 7.4 / Tk 4.0 and below X #TCLINCL = -I$(TCLTKHOME)/tcl X #TKINCL = -I$(TCLTKHOME)/tk X # System Installed Tcl / Tk X-#TCLINCL = -I$(TCLTKHOME) X-#TKINCL = -I$(TCLTKHOME) X+TCLINCL = -I$(TCLTKHOME)/include/tcl8.4 X+TKINCL = -I$(TCLTKHOME)/include/tk8.4 X X # Tcl 7.5 / Tk 4.1 and above X-TCLLIBDIR = -L$(TCLTKHOME)/tcl/unix/$(PVM_ARCH) X-TKLIBDIR = -L$(TCLTKHOME)/tk/unix/$(PVM_ARCH) X+#TCLLIBDIR = -L$(TCLTKHOME)/tcl/unix/$(PVM_ARCH) X+#TKLIBDIR = -L$(TCLTKHOME)/tk/unix/$(PVM_ARCH) X # Tcl 7.4 / Tk 4.0 and below X #TCLLIBDIR = -L$(TCLTKHOME)/tcl/$(PVM_ARCH) X #TKLIBDIR = -L$(TCLTKHOME)/tk/$(PVM_ARCH) X # System Installed Tcl / Tk X-#TCLLIBDIR = -L$(TCLTKHOME) X-#TKLIBDIR = -L$(TCLTKHOME) X+TCLLIBDIR = -L$(TCLTKHOME)/lib/tcl8.4 X+TKLIBDIR = -L$(TCLTKHOME)/lib/tk8.4 X X+# Tcl / Tk 8.4 X+TCLLIB = -ltcl84 X+TKLIB = -ltk84 X # Tcl / Tk 8.1 X #TCLLIB = -ltcl8.1 X #TKLIB = -ltk8.1 X # Tcl / Tk 8.0 X-TCLLIB = -ltcl8.0 X-TKLIB = -ltk8.0 X+#TCLLIB = -ltcl8.0 X+#TKLIB = -ltk8.0 X # Tcl 7.6 / Tk 4.2 X #TCLLIB = -ltcl7.6 X #TKLIB = -ltk4.2 X@@ -80,14 +83,14 @@ X #TKLIB = -ltk X X # Generic X11 System X-XINCL = X-XLIBDIR = X+#XINCL = X+#XLIBDIR = X # Default Locations... X #XINCL = -I/usr/include/X11 X #XLIBDIR = -L/usr/lib X # Linux Like Systems X-#XINCL = -I/usr/X11R6/include X-#XLIBDIR = -L/usr/X11R6/lib X+XINCL = -I$(X11BASE)/include X+XLIBDIR = -L$(X11BASE)/lib X X XLIB = -lX11 X #XLIB = -lX11 -lXpm X@@ -115,7 +118,7 @@ X # Libraries X # X X-PVMLIBDIR = -L$(PVM_ROOT)/lib/$(PVM_ARCH) X+PVMLIBDIR = -L$(LOCALBASE)/lib X X TRCLIBDIR = -L$(TRCDIR)/$(PVM_ARCH) X X@@ -136,7 +139,7 @@ X # Include Directories X # X X-PVMINCL = -I$(PVM_ROOT)/include X+PVMINCL = -I$(LOCALBASE)/include X X TRCINCL = -I$(TRCDIR) X X@@ -157,8 +160,8 @@ X HEADERS = $(SRCDIR)/Makefile.aimk $(SRCDIR)/xpvm.h \ X $(SRCDIR)/globals.h $(SRCDIR)/const.h \ X $(SRCDIR)/trace.h $(SRCDIR)/compat.pvmtev.h \ X- $(PVM_ROOT)/include/pvm3.h \ X- $(PVM_ROOT)/include/pvmtev.h \ X+ $(LOCALBASE)/include/pvm3.h \ X+ $(LOCALBASE)/include/pvmtev.h \ X $(TRCDIR)/trcdef.h $(TRCDIR)/trctype.h \ X $(TRCDIR)/trcproto.h $(TRCDIR)/trccompat.h END-of-xpvm/files/patch-src:Makefile.aimk echo x - xpvm/files/patch-src:Makefile.xpvm sed 's/^X//' >xpvm/files/patch-src:Makefile.xpvm << 'END-of-xpvm/files/patch-src:Makefile.xpvm' Xdiff -ruN xpvm.orig/src/Makefile.xpvm xpvm/src/Makefile.xpvm X--- src/Makefile.xpvm Fri Apr 10 05:11:23 1998 X+++ src/Makefile.xpvm Thu Apr 1 13:45:15 2004 X@@ -2,6 +2,9 @@ X # $Id: Makefile.xpvm,v 4.50 1998/04/09 21:11:23 kohl Exp $ X # X X+default: X+ cd src ; ${PVM_ROOT}/lib/aimk X+ X install: X cd src ; $(PVM_ROOT)/lib/aimk install X END-of-xpvm/files/patch-src:Makefile.xpvm echo x - xpvm/files/patch-tracer:Makefile.aimk sed 's/^X//' >xpvm/files/patch-tracer:Makefile.aimk << 'END-of-xpvm/files/patch-tracer:Makefile.aimk' Xdiff -ruN xpvm.orig/tracer/Makefile.aimk xpvm/tracer/Makefile.aimk X--- tracer/Makefile.aimk Fri Apr 10 04:40:22 1998 X+++ tracer/Makefile.aimk Thu Apr 1 13:39:33 2004 X@@ -47,7 +47,7 @@ X # Libraries X # X X-PVMLIBDIR = -L$(PVMDIR)/lib/$(PVM_ARCH) X+PVMLIBDIR = -L$(LOCALBASE)/lib X X TRCLIBDIR = -L$(TRCDIR)/$(PVM_ARCH) X X@@ -71,7 +71,7 @@ X # Include Directories X # X X-PVMINCL = -I$(PVMDIR)/include X+PVMINCL = -I$(LOCALBASE)/include X X TRCINCL = -I$(TRCDIR) X X@@ -90,12 +90,12 @@ X HEADERS = $(SRCDIR)/tracer.h $(SRCDIR)/trcglob.h \ X $(TRCDIR)/trcdef.h $(TRCDIR)/trctype.h \ X $(TRCDIR)/trcproto.h \ X- $(PVMDIR)/include/pvm3.h $(PVMDIR)/include/pvmtev.h X+ $(LOCALBASE)/include/pvm3.h $(LOCALBASE)/include/pvmtev.h X X TRCHEADERS = $(TRCDIR)/trclib.h $(TRCDIR)/trctype.h \ X $(TRCDIR)/trcproto.h \ X $(TRCDIR)/trccompat.h $(TRCDIR)/trccompatrev.h \ X- $(PVMDIR)/include/pvm3.h $(PVMDIR)/include/pvmtev.h X+ $(LOCALBASE)/include/pvm3.h $(LOCALBASE)/include/pvmtev.h X X PROGS = $(PVMXDIR)/tracer$(EXESFX) $(PVMXDIR)/trcsort$(EXESFX) X END-of-xpvm/files/patch-tracer:Makefile.aimk echo x - xpvm/Makefile sed 's/^X//' >xpvm/Makefile << 'END-of-xpvm/Makefile' X# New ports collection makefile for: xpvm X# Date created: 02 April 2004 X# Whom: Rong-En Fan <rafan@infor.org> X# X# $FreeBSD$ X# X XPORTNAME= xpvm XPORTVERSION= 1.2.5 XCATEGORIES= net parallel XMASTER_SITES= http://www.netlib.org/pvm3/xpvm/ XDISTNAME= XPVM.src.${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= rafan@infor.org XCOMMENT= A Graphical Console and Monitor for PVM X XRUN_DEPENDS= ${LOCALBASE}/lib/libpvm3.a:${PORTSDIR}/net/pvm XLIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 X XUSE_REINPLACE= yes X XWRKSRC= ${WRKDIR}/xpvm XPVM_ROOT?= ${LOCALBASE}/lib/pvm XMAKE_ENV+= PVM_ROOT=${PVM_ROOT} XPVM_ROOT=${WRKSRC} X XALL_TARGET= default X Xpre-everything:: X @${ECHO_MSG} X @${ECHO_MSG} "If your PVM is not installed in the default directory," X @${ECHO_MSG} "please define PVM_ROOT=/path/to/your/pvm." X @${ECHO_MSG} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/FREEBSD/xpvm ${PREFIX}/bin X ${MKDIR} -m 755 ${DATADIR} X for i in src/*.tcl ; do \ X ${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}; \ X done X ${MKDIR} -m 755 ${DATADIR}/src/xbm X for i in src/xbm/* ; do \ X ${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}/src/xbm; \ X done X ${MKDIR} -m 755 ${DATADIR}/src/help X for i in src/help/* ; do \ X ${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}/src/help; \ X done X Xpost-install: X @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ X -e 's,%%LOCALBASE%%,${LOCALBASE},' \ X ${PKGMESSAGE} X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-xpvm/Makefile echo x - xpvm/distinfo sed 's/^X//' >xpvm/distinfo << 'END-of-xpvm/distinfo' XMD5 (XPVM.src.1.2.5.tgz) = 7b20143cb2ff61e3cb28baf8f9cb2770 XSIZE (XPVM.src.1.2.5.tgz) = 196004 END-of-xpvm/distinfo echo x - xpvm/pkg-descr sed 's/^X//' >xpvm/pkg-descr << 'END-of-xpvm/pkg-descr' XXPVM provides a graphical interface to the PVM console commands and Xinformation, along with several animated views to monitor the execution Xof PVM programs. These views provide information about the interactions Xamong tasks in a parallel PVM program, to assist in debugging and Xperformance tuning. X XWWW: http://www.netlib.org/utk/icl/xpvm/xpvm.html END-of-xpvm/pkg-descr echo x - xpvm/pkg-plist sed 's/^X//' >xpvm/pkg-plist << 'END-of-xpvm/pkg-plist' Xbin/xpvm Xshare/xpvm/globs.tcl Xshare/xpvm/procs.tcl Xshare/xpvm/util.tcl Xshare/xpvm/xpvm.tcl Xshare/xpvm/src/help/author.help Xshare/xpvm/src/help/file_halt.help Xshare/xpvm/src/help/file_quit.help Xshare/xpvm/src/help/hosts.help Xshare/xpvm/src/help/options_mode.help Xshare/xpvm/src/help/options_tasksort.help Xshare/xpvm/src/help/reset.help Xshare/xpvm/src/help/tasks_kill.help Xshare/xpvm/src/help/tasks_otf.help Xshare/xpvm/src/help/tasks_signal.help Xshare/xpvm/src/help/tasks_spawn.help Xshare/xpvm/src/help/tasks_systasks.help Xshare/xpvm/src/help/traces.help Xshare/xpvm/src/help/views_call_trace.help Xshare/xpvm/src/help/views_msgq.help Xshare/xpvm/src/help/views_network.help Xshare/xpvm/src/help/views_space_time.help Xshare/xpvm/src/help/views_task_output.help Xshare/xpvm/src/help/views_tevhist.help Xshare/xpvm/src/help/views_utilization.help Xshare/xpvm/src/help/xpvm.help Xshare/xpvm/src/xbm/adj.xbm Xshare/xpvm/src/xbm/aix46k.xbm Xshare/xpvm/src/xbm/aix4mp.xbm Xshare/xpvm/src/xbm/aix4sp2.xbm Xshare/xpvm/src/xbm/alliant.xbm Xshare/xpvm/src/xbm/alpha.win32.xbm Xshare/xpvm/src/xbm/alpha.xbm Xshare/xpvm/src/xbm/alphamp.xbm Xshare/xpvm/src/xbm/cm2.xbm Xshare/xpvm/src/xbm/cm5.xbm Xshare/xpvm/src/xbm/cnvx.xbm Xshare/xpvm/src/xbm/convex.xbm Xshare/xpvm/src/xbm/cray.xbm Xshare/xpvm/src/xbm/cspp.xbm Xshare/xpvm/src/xbm/dec5200.xbm Xshare/xpvm/src/xbm/dummy_arch.xbm Xshare/xpvm/src/xbm/fastfwd.xbm Xshare/xpvm/src/xbm/fwd.xbm Xshare/xpvm/src/xbm/fwdstep.xbm Xshare/xpvm/src/xbm/grow.xbm Xshare/xpvm/src/xbm/hppa.xbm Xshare/xpvm/src/xbm/i860.xbm Xshare/xpvm/src/xbm/ipsc2.xbm Xshare/xpvm/src/xbm/ksr1.xbm Xshare/xpvm/src/xbm/laptop.xbm Xshare/xpvm/src/xbm/linux.xbm Xshare/xpvm/src/xbm/linuxalpha.xbm Xshare/xpvm/src/xbm/linuxsparc.xbm Xshare/xpvm/src/xbm/next.xbm Xshare/xpvm/src/xbm/os2.xbm Xshare/xpvm/src/xbm/penguin.xbm Xshare/xpvm/src/xbm/pgon.xbm Xshare/xpvm/src/xbm/pmax.xbm Xshare/xpvm/src/xbm/ptrd.xbm Xshare/xpvm/src/xbm/ptrl.xbm Xshare/xpvm/src/xbm/ptrr.xbm Xshare/xpvm/src/xbm/ptru.xbm Xshare/xpvm/src/xbm/rewind.xbm Xshare/xpvm/src/xbm/rs6k.xbm Xshare/xpvm/src/xbm/rs6kmp.xbm Xshare/xpvm/src/xbm/sequent.xbm Xshare/xpvm/src/xbm/sgi.xbm Xshare/xpvm/src/xbm/sgi5.xbm Xshare/xpvm/src/xbm/sgi6.xbm Xshare/xpvm/src/xbm/sgi64.xbm Xshare/xpvm/src/xbm/sgimp.xbm Xshare/xpvm/src/xbm/sgimp6.xbm Xshare/xpvm/src/xbm/sgimp64.xbm Xshare/xpvm/src/xbm/shrink.xbm Xshare/xpvm/src/xbm/smile.xbm Xshare/xpvm/src/xbm/sparc.xbm Xshare/xpvm/src/xbm/spin.xbm Xshare/xpvm/src/xbm/spin2.xbm Xshare/xpvm/src/xbm/spin3.xbm Xshare/xpvm/src/xbm/spin4.xbm Xshare/xpvm/src/xbm/stop.xbm Xshare/xpvm/src/xbm/sun3.xbm Xshare/xpvm/src/xbm/sun4.xbm Xshare/xpvm/src/xbm/sun4sol2.xbm Xshare/xpvm/src/xbm/sunmp.xbm Xshare/xpvm/src/xbm/symmetry.xbm Xshare/xpvm/src/xbm/win32.xbm Xshare/xpvm/src/xbm/zoom.swipe.l.xbm Xshare/xpvm/src/xbm/zoom.swipe.r.xbm Xshare/xpvm/src/xbm/zoom.swipe.xbm X@dirrm share/xpvm/src/xbm X@dirrm share/xpvm/src/help X@dirrm share/xpvm/src X@dirrm share/xpvm END-of-xpvm/pkg-plist echo x - xpvm/pkg-message sed 's/^X//' >xpvm/pkg-message << 'END-of-xpvm/pkg-message' X XYou have to set following enviroment variable before use xpvm X X XPVM_ROOT=/usr/local/share/xpvm X PVM_ROOT=/usr/local/lib/pvm X XYou can also put them in /etc/login.conf for system-wide. X END-of-xpvm/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404021459.i32Exivu092174>