aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-06-28 19:38:12 +0800
committervs <vs@FreeBSD.org>2004-06-28 19:38:12 +0800
commitf6d1718f30ec59499c5a84ecebfd56858bc7046e (patch)
treec0a8d2098930cb6fd831304910180c899fed612b
parentc02949df1643dd2927d4f3c6a8f7ec27b883dcf3 (diff)
downloadfreebsd-ports-gnome-f6d1718f30ec59499c5a84ecebfd56858bc7046e.tar.gz
freebsd-ports-gnome-f6d1718f30ec59499c5a84ecebfd56858bc7046e.tar.zst
freebsd-ports-gnome-f6d1718f30ec59499c5a84ecebfd56858bc7046e.zip
Add xpvm 1.2.5, a Graphical Console and Monitor for PVM.
PR: ports/65076 Submitted by: Rong-En Fan <rafan@infor.org>
-rw-r--r--net/Makefile1
-rw-r--r--net/xpvm/Makefile56
-rw-r--r--net/xpvm/distinfo2
-rw-r--r--net/xpvm/files/patch-src:Makefile.aimk102
-rw-r--r--net/xpvm/files/patch-src:Makefile.xpvm12
-rw-r--r--net/xpvm/files/patch-tracer:Makefile.aimk36
-rw-r--r--net/xpvm/pkg-descr7
-rw-r--r--net/xpvm/pkg-message8
-rw-r--r--net/xpvm/pkg-plist95
9 files changed, 319 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 2406bcdadeeb..094010eec2a4 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -742,6 +742,7 @@
SUBDIR += xmule
SUBDIR += xnap
SUBDIR += xprobe
+ SUBDIR += xpvm
SUBDIR += xsmbrowser
SUBDIR += xtraceroute
SUBDIR += xwhois
diff --git a/net/xpvm/Makefile b/net/xpvm/Makefile
new file mode 100644
index 000000000000..99acb93b5b53
--- /dev/null
+++ b/net/xpvm/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: xpvm
+# Date created: 02 April 2004
+# Whom: Rong-En Fan <rafan@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xpvm
+PORTVERSION= 1.2.5
+CATEGORIES= net parallel
+MASTER_SITES= http://www.netlib.org/pvm3/xpvm/
+DISTNAME= XPVM.src.${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A Graphical Console and Monitor for PVM
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libpvm3.a:${PORTSDIR}/net/pvm
+RUN_DEPENDS= ${BUILD_DEPENDS}
+LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
+
+WRKSRC= ${WRKDIR}/xpvm
+PVM_ROOT?= ${LOCALBASE}/lib/pvm
+MAKE_ENV+= PVM_ROOT=${PVM_ROOT} XPVM_ROOT=${WRKSRC}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+ALL_TARGET= default
+
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If your PVM is not installed in the default directory,"
+ @${ECHO_MSG} "please define PVM_ROOT=/path/to/your/pvm."
+ @${ECHO_MSG}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/FREEBSD/xpvm ${PREFIX}/bin
+ ${MKDIR} -m 755 ${DATADIR}
+ for i in src/*.tcl ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}; \
+ done
+ ${MKDIR} -m 755 ${DATADIR}/src/xbm
+ for i in src/xbm/* ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}/src/xbm; \
+ done
+ ${MKDIR} -m 755 ${DATADIR}/src/help
+ for i in src/help/* ; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DATADIR}/src/help; \
+ done
+
+post-install:
+ @${SED} -e 's,%%DATADIR%%,${DATADIR},' \
+ -e 's,%%LOCALBASE%%,${LOCALBASE},' \
+ <${.CURDIR}/pkg-message >${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/net/xpvm/distinfo b/net/xpvm/distinfo
new file mode 100644
index 000000000000..e20df56c4f3a
--- /dev/null
+++ b/net/xpvm/distinfo
@@ -0,0 +1,2 @@
+MD5 (XPVM.src.1.2.5.tgz) = 7b20143cb2ff61e3cb28baf8f9cb2770
+SIZE (XPVM.src.1.2.5.tgz) = 196004
diff --git a/net/xpvm/files/patch-src:Makefile.aimk b/net/xpvm/files/patch-src:Makefile.aimk
new file mode 100644
index 000000000000..0e93e832ab76
--- /dev/null
+++ b/net/xpvm/files/patch-src:Makefile.aimk
@@ -0,0 +1,102 @@
+diff -ruN xpvm.orig/src/Makefile.aimk xpvm/src/Makefile.aimk
+--- src/Makefile.aimk Fri Apr 10 05:11:22 1998
++++ src/Makefile.aimk Thu Apr 1 13:38:57 2004
+@@ -39,36 +39,39 @@
+ #
+
+ # Personal Installation
+-TCLTKHOME = $(HOME)/TCL
++#TCLTKHOME = $(HOME)/TCL
+ # System Installation
+-#TCLTKHOME = /usr/local/lib
++TCLTKHOME = $(LOCALBASE)
+
+ # Tcl 7.5 / Tk 4.1 and above
+-TCLINCL = -I$(TCLTKHOME)/tcl/generic
+-TKINCL = -I$(TCLTKHOME)/tk/generic
++#TCLINCL = -I$(TCLTKHOME)/tcl/generic
++#TKINCL = -I$(TCLTKHOME)/tk/generic
+ # Tcl 7.4 / Tk 4.0 and below
+ #TCLINCL = -I$(TCLTKHOME)/tcl
+ #TKINCL = -I$(TCLTKHOME)/tk
+ # System Installed Tcl / Tk
+-#TCLINCL = -I$(TCLTKHOME)
+-#TKINCL = -I$(TCLTKHOME)
++TCLINCL = -I$(TCLTKHOME)/include/tcl8.4
++TKINCL = -I$(TCLTKHOME)/include/tk8.4
+
+ # Tcl 7.5 / Tk 4.1 and above
+-TCLLIBDIR = -L$(TCLTKHOME)/tcl/unix/$(PVM_ARCH)
+-TKLIBDIR = -L$(TCLTKHOME)/tk/unix/$(PVM_ARCH)
++#TCLLIBDIR = -L$(TCLTKHOME)/tcl/unix/$(PVM_ARCH)
++#TKLIBDIR = -L$(TCLTKHOME)/tk/unix/$(PVM_ARCH)
+ # Tcl 7.4 / Tk 4.0 and below
+ #TCLLIBDIR = -L$(TCLTKHOME)/tcl/$(PVM_ARCH)
+ #TKLIBDIR = -L$(TCLTKHOME)/tk/$(PVM_ARCH)
+ # System Installed Tcl / Tk
+-#TCLLIBDIR = -L$(TCLTKHOME)
+-#TKLIBDIR = -L$(TCLTKHOME)
++TCLLIBDIR = -L$(TCLTKHOME)/lib/tcl8.4
++TKLIBDIR = -L$(TCLTKHOME)/lib/tk8.4
+
++# Tcl / Tk 8.4
++TCLLIB = -ltcl84
++TKLIB = -ltk84
+ # Tcl / Tk 8.1
+ #TCLLIB = -ltcl8.1
+ #TKLIB = -ltk8.1
+ # Tcl / Tk 8.0
+-TCLLIB = -ltcl8.0
+-TKLIB = -ltk8.0
++#TCLLIB = -ltcl8.0
++#TKLIB = -ltk8.0
+ # Tcl 7.6 / Tk 4.2
+ #TCLLIB = -ltcl7.6
+ #TKLIB = -ltk4.2
+@@ -80,14 +83,14 @@
+ #TKLIB = -ltk
+
+ # Generic X11 System
+-XINCL =
+-XLIBDIR =
++#XINCL =
++#XLIBDIR =
+ # Default Locations...
+ #XINCL = -I/usr/include/X11
+ #XLIBDIR = -L/usr/lib
+ # Linux Like Systems
+-#XINCL = -I/usr/X11R6/include
+-#XLIBDIR = -L/usr/X11R6/lib
++XINCL = -I$(X11BASE)/include
++XLIBDIR = -L$(X11BASE)/lib
+
+ XLIB = -lX11
+ #XLIB = -lX11 -lXpm
+@@ -115,7 +118,7 @@
+ # Libraries
+ #
+
+-PVMLIBDIR = -L$(PVM_ROOT)/lib/$(PVM_ARCH)
++PVMLIBDIR = -L$(LOCALBASE)/lib
+
+ TRCLIBDIR = -L$(TRCDIR)/$(PVM_ARCH)
+
+@@ -136,7 +139,7 @@
+ # Include Directories
+ #
+
+-PVMINCL = -I$(PVM_ROOT)/include
++PVMINCL = -I$(LOCALBASE)/include
+
+ TRCINCL = -I$(TRCDIR)
+
+@@ -157,8 +160,8 @@
+ HEADERS = $(SRCDIR)/Makefile.aimk $(SRCDIR)/xpvm.h \
+ $(SRCDIR)/globals.h $(SRCDIR)/const.h \
+ $(SRCDIR)/trace.h $(SRCDIR)/compat.pvmtev.h \
+- $(PVM_ROOT)/include/pvm3.h \
+- $(PVM_ROOT)/include/pvmtev.h \
++ $(LOCALBASE)/include/pvm3.h \
++ $(LOCALBASE)/include/pvmtev.h \
+ $(TRCDIR)/trcdef.h $(TRCDIR)/trctype.h \
+ $(TRCDIR)/trcproto.h $(TRCDIR)/trccompat.h
diff --git a/net/xpvm/files/patch-src:Makefile.xpvm b/net/xpvm/files/patch-src:Makefile.xpvm
new file mode 100644
index 000000000000..02a7a8410b43
--- /dev/null
+++ b/net/xpvm/files/patch-src:Makefile.xpvm
@@ -0,0 +1,12 @@
+diff -ruN xpvm.orig/src/Makefile.xpvm xpvm/src/Makefile.xpvm
+--- src/Makefile.xpvm Fri Apr 10 05:11:23 1998
++++ src/Makefile.xpvm Thu Apr 1 13:45:15 2004
+@@ -2,4 +2,7 @@
+ #
+
++default:
++ cd src ; ${PVM_ROOT}/lib/aimk
++
+ install:
+ cd src ; $(PVM_ROOT)/lib/aimk install
+
diff --git a/net/xpvm/files/patch-tracer:Makefile.aimk b/net/xpvm/files/patch-tracer:Makefile.aimk
new file mode 100644
index 000000000000..785f5701f0e9
--- /dev/null
+++ b/net/xpvm/files/patch-tracer:Makefile.aimk
@@ -0,0 +1,36 @@
+diff -ruN xpvm.orig/tracer/Makefile.aimk xpvm/tracer/Makefile.aimk
+--- tracer/Makefile.aimk Fri Apr 10 04:40:22 1998
++++ tracer/Makefile.aimk Thu Apr 1 13:39:33 2004
+@@ -47,7 +47,7 @@
+ # Libraries
+ #
+
+-PVMLIBDIR = -L$(PVMDIR)/lib/$(PVM_ARCH)
++PVMLIBDIR = -L$(LOCALBASE)/lib
+
+ TRCLIBDIR = -L$(TRCDIR)/$(PVM_ARCH)
+
+@@ -71,7 +71,7 @@
+ # Include Directories
+ #
+
+-PVMINCL = -I$(PVMDIR)/include
++PVMINCL = -I$(LOCALBASE)/include
+
+ TRCINCL = -I$(TRCDIR)
+
+@@ -90,12 +90,12 @@
+ HEADERS = $(SRCDIR)/tracer.h $(SRCDIR)/trcglob.h \
+ $(TRCDIR)/trcdef.h $(TRCDIR)/trctype.h \
+ $(TRCDIR)/trcproto.h \
+- $(PVMDIR)/include/pvm3.h $(PVMDIR)/include/pvmtev.h
++ $(LOCALBASE)/include/pvm3.h $(LOCALBASE)/include/pvmtev.h
+
+ TRCHEADERS = $(TRCDIR)/trclib.h $(TRCDIR)/trctype.h \
+ $(TRCDIR)/trcproto.h \
+ $(TRCDIR)/trccompat.h $(TRCDIR)/trccompatrev.h \
+- $(PVMDIR)/include/pvm3.h $(PVMDIR)/include/pvmtev.h
++ $(LOCALBASE)/include/pvm3.h $(LOCALBASE)/include/pvmtev.h
+
+ PROGS = $(PVMXDIR)/tracer$(EXESFX) $(PVMXDIR)/trcsort$(EXESFX)
+
diff --git a/net/xpvm/pkg-descr b/net/xpvm/pkg-descr
new file mode 100644
index 000000000000..83e72f8a569d
--- /dev/null
+++ b/net/xpvm/pkg-descr
@@ -0,0 +1,7 @@
+XPVM provides a graphical interface to the PVM console commands and
+information, along with several animated views to monitor the execution
+of PVM programs. These views provide information about the interactions
+among tasks in a parallel PVM program, to assist in debugging and
+performance tuning.
+
+WWW: http://www.netlib.org/utk/icl/xpvm/xpvm.html
diff --git a/net/xpvm/pkg-message b/net/xpvm/pkg-message
new file mode 100644
index 000000000000..ebedbcd871be
--- /dev/null
+++ b/net/xpvm/pkg-message
@@ -0,0 +1,8 @@
+-
+You have to set following enviroment variable before using xpvm
+
+ XPVM_ROOT=%%DATADIR%%
+ PVM_ROOT=%%LOCALBASE%%/lib/pvm
+
+You can also put them into /etc/login.conf for system-wide defaults.
+-
diff --git a/net/xpvm/pkg-plist b/net/xpvm/pkg-plist
new file mode 100644
index 000000000000..208d084d8fc6
--- /dev/null
+++ b/net/xpvm/pkg-plist
@@ -0,0 +1,95 @@
+bin/xpvm
+share/xpvm/globs.tcl
+share/xpvm/procs.tcl
+share/xpvm/util.tcl
+share/xpvm/xpvm.tcl
+share/xpvm/src/help/author.help
+share/xpvm/src/help/file_halt.help
+share/xpvm/src/help/file_quit.help
+share/xpvm/src/help/hosts.help
+share/xpvm/src/help/options_mode.help
+share/xpvm/src/help/options_tasksort.help
+share/xpvm/src/help/reset.help
+share/xpvm/src/help/tasks_kill.help
+share/xpvm/src/help/tasks_otf.help
+share/xpvm/src/help/tasks_signal.help
+share/xpvm/src/help/tasks_spawn.help
+share/xpvm/src/help/tasks_systasks.help
+share/xpvm/src/help/traces.help
+share/xpvm/src/help/views_call_trace.help
+share/xpvm/src/help/views_msgq.help
+share/xpvm/src/help/views_network.help
+share/xpvm/src/help/views_space_time.help
+share/xpvm/src/help/views_task_output.help
+share/xpvm/src/help/views_tevhist.help
+share/xpvm/src/help/views_utilization.help
+share/xpvm/src/help/xpvm.help
+share/xpvm/src/xbm/adj.xbm
+share/xpvm/src/xbm/aix46k.xbm
+share/xpvm/src/xbm/aix4mp.xbm
+share/xpvm/src/xbm/aix4sp2.xbm
+share/xpvm/src/xbm/alliant.xbm
+share/xpvm/src/xbm/alpha.win32.xbm
+share/xpvm/src/xbm/alpha.xbm
+share/xpvm/src/xbm/alphamp.xbm
+share/xpvm/src/xbm/cm2.xbm
+share/xpvm/src/xbm/cm5.xbm
+share/xpvm/src/xbm/cnvx.xbm
+share/xpvm/src/xbm/convex.xbm
+share/xpvm/src/xbm/cray.xbm
+share/xpvm/src/xbm/cspp.xbm
+share/xpvm/src/xbm/dec5200.xbm
+share/xpvm/src/xbm/dummy_arch.xbm
+share/xpvm/src/xbm/fastfwd.xbm
+share/xpvm/src/xbm/fwd.xbm
+share/xpvm/src/xbm/fwdstep.xbm
+share/xpvm/src/xbm/grow.xbm
+share/xpvm/src/xbm/hppa.xbm
+share/xpvm/src/xbm/i860.xbm
+share/xpvm/src/xbm/ipsc2.xbm
+share/xpvm/src/xbm/ksr1.xbm
+share/xpvm/src/xbm/laptop.xbm
+share/xpvm/src/xbm/linux.xbm
+share/xpvm/src/xbm/linuxalpha.xbm
+share/xpvm/src/xbm/linuxsparc.xbm
+share/xpvm/src/xbm/next.xbm
+share/xpvm/src/xbm/os2.xbm
+share/xpvm/src/xbm/penguin.xbm
+share/xpvm/src/xbm/pgon.xbm
+share/xpvm/src/xbm/pmax.xbm
+share/xpvm/src/xbm/ptrd.xbm
+share/xpvm/src/xbm/ptrl.xbm
+share/xpvm/src/xbm/ptrr.xbm
+share/xpvm/src/xbm/ptru.xbm
+share/xpvm/src/xbm/rewind.xbm
+share/xpvm/src/xbm/rs6k.xbm
+share/xpvm/src/xbm/rs6kmp.xbm
+share/xpvm/src/xbm/sequent.xbm
+share/xpvm/src/xbm/sgi.xbm
+share/xpvm/src/xbm/sgi5.xbm
+share/xpvm/src/xbm/sgi6.xbm
+share/xpvm/src/xbm/sgi64.xbm
+share/xpvm/src/xbm/sgimp.xbm
+share/xpvm/src/xbm/sgimp6.xbm
+share/xpvm/src/xbm/sgimp64.xbm
+share/xpvm/src/xbm/shrink.xbm
+share/xpvm/src/xbm/smile.xbm
+share/xpvm/src/xbm/sparc.xbm
+share/xpvm/src/xbm/spin.xbm
+share/xpvm/src/xbm/spin2.xbm
+share/xpvm/src/xbm/spin3.xbm
+share/xpvm/src/xbm/spin4.xbm
+share/xpvm/src/xbm/stop.xbm
+share/xpvm/src/xbm/sun3.xbm
+share/xpvm/src/xbm/sun4.xbm
+share/xpvm/src/xbm/sun4sol2.xbm
+share/xpvm/src/xbm/sunmp.xbm
+share/xpvm/src/xbm/symmetry.xbm
+share/xpvm/src/xbm/win32.xbm
+share/xpvm/src/xbm/zoom.swipe.l.xbm
+share/xpvm/src/xbm/zoom.swipe.r.xbm
+share/xpvm/src/xbm/zoom.swipe.xbm
+@dirrm share/xpvm/src/xbm
+@dirrm share/xpvm/src/help
+@dirrm share/xpvm/src
+@dirrm share/xpvm