pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sr This is the SR, a language for concurrent prog...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/686a90b55cfb
branches:  trunk
changeset: 489717:686a90b55cfb
user:      is <is%pkgsrc.org@localhost>
date:      Fri Feb 25 15:54:58 2005 +0000

description:
This is the SR, a language for concurrent programming from the
University of Arizona, version 2.3.2.

SR is described in "The SR Programming Language: Concurrency in Practice"
by Gregory R. Andrews and Ronald A. Olsson (Benjamin/Cummings, 1993, ISBN
0-8053-0088-0).

diffstat:

 lang/sr/DESCR            |    7 ++
 lang/sr/Makefile         |   36 +++++++++++++
 lang/sr/PLIST            |   61 +++++++++++++++++++++++
 lang/sr/distinfo         |   25 +++++++++
 lang/sr/patches/patch-aa |   63 ++++++++++++++++++++++++
 lang/sr/patches/patch-ab |   17 ++++++
 lang/sr/patches/patch-ac |   13 ++++
 lang/sr/patches/patch-ad |   13 ++++
 lang/sr/patches/patch-ae |   12 ++++
 lang/sr/patches/patch-af |   59 ++++++++++++++++++++++
 lang/sr/patches/patch-ag |   72 +++++++++++++++++++++++++++
 lang/sr/patches/patch-ah |   62 +++++++++++++++++++++++
 lang/sr/patches/patch-ai |   36 +++++++++++++
 lang/sr/patches/patch-aj |   96 ++++++++++++++++++++++++++++++++++++
 lang/sr/patches/patch-ak |   59 ++++++++++++++++++++++
 lang/sr/patches/patch-al |   11 ++++
 lang/sr/patches/patch-am |   36 +++++++++++++
 lang/sr/patches/patch-an |   34 ++++++++++++
 lang/sr/patches/patch-ao |   13 ++++
 lang/sr/patches/patch-ap |   36 +++++++++++++
 lang/sr/patches/patch-aq |   13 ++++
 lang/sr/patches/patch-ar |    9 +++
 lang/sr/patches/patch-as |   13 ++++
 lang/sr/patches/patch-at |   45 +++++++++++++++++
 lang/sr/patches/patch-au |  123 +++++++++++++++++++++++++++++++++++++++++++++++
 25 files changed, 964 insertions(+), 0 deletions(-)

diffs (truncated from 1064 to 300 lines):

diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/DESCR     Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,7 @@
+This is the language SR, Version 2.3.2, from the University of Arizona.
+
+SR is described in "The SR Programming Language: Concurrency in Practice"
+by Gregory R. Andrews and Ronald A. Olsson (Benjamin/Cummings, 1993, ISBN
+0-8053-0088-0).  Information about concurrent programming in general can be
+found in "Concurrent Programming: Principles and Practice" by Gregory R.
+Andrews (Benjamin/Cummings, 1991, ISBN 0-8053-0086-4). 
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/Makefile  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+#
+
+DISTNAME=              sr
+PKGNAME=               sr-2.3.2
+CATEGORIES=            lang parallel
+MASTER_SITES=          ftp://ftp.cs.arizona.edu/sr/
+EXTRACT_SUFX=          .tar.Z
+
+MAINTAINER=            is%NetBSD.org@localhost
+HOMEPAGE=              http://www.cs.arizona.edu/sr/
+COMMENT=               The SR language compiler and run time system
+
+WRKSRC= ${WRKDIR}
+
+ONLY_FOR_PLATFORM=     NetBSD-[2-9]*-*
+
+USE_X11=               yes
+USE_BUILDLINK3=                yes
+
+pre-configure:
+                       ${MV} ${WRKSRC}/Configuration ${WRKSRC}/Configuration.template
+                       ${SED} -e 's,_LOCALBASE_,${LOCALBASE},' \
+                               -e 's,_WRKSRC_,${WRKSRC},' \
+                               ${WRKSRC}/Configuration.template > ${WRKSRC}/Configuration
+
+pre-install:
+                       -${MKDIR} ${LOCALBASE}/lib/sr
+
+post-install:
+                       ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin
+                       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sr
+                       cd ${WRKSRC}/ps && \
+                               ${INSTALL_DATA} *.ps ${PREFIX}/share/doc/sr
+
+.include "../../mk/bsd.pkg.mk"
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/PLIST     Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+bin/ccr2sr
+bin/csp2sr
+bin/cstest
+bin/m2sr
+bin/sr
+bin/srgrind
+bin/srl
+bin/srlatex
+bin/srm
+bin/srprof
+bin/srtex
+lib/sr/SRWin.impl
+lib/sr/SRWin.o
+lib/sr/SRWin.spec
+lib/sr/SRanimator.impl
+lib/sr/SRanimator.o
+lib/sr/SRanimator.spec
+lib/sr/SRgetopt.impl
+lib/sr/SRgetopt.o
+lib/sr/SRgetopt.spec
+lib/sr/ccr2sr.h
+lib/sr/csp2sr.h
+lib/sr/m2sr.h
+lib/sr/sr-mode.el
+lib/sr/sr.h
+lib/sr/srlatex.sty
+lib/sr/srlib.a
+lib/sr/srmap
+lib/sr/srmulti.h
+lib/sr/srwin.o
+lib/sr/srx
+man/man1/ccr2sr.1
+man/man1/csp2sr.1
+man/man1/m2sr.1
+man/man1/sr.1
+man/man1/srgrind.1
+man/man1/srl.1
+man/man1/srlatex.1
+man/man1/srm.1
+man/man1/srprof.1
+man/man1/srtex.1
+man/man3/sranimator.3
+man/man3/srgetopt.3
+man/man3/srwin.3
+man/man5/srmap.5
+man/man5/srtrace.5
+share/doc/sr/impl.ps
+share/doc/sr/install.ps
+share/doc/sr/language.ps
+share/doc/sr/manpages.ps
+share/doc/sr/port.ps
+share/doc/sr/rel_2_0.ps
+share/doc/sr/rel_2_1.ps
+share/doc/sr/rel_2_2.ps
+share/doc/sr/release.ps
+share/doc/sr/runtime.ps
+share/doc/sr/sranimator.ps
+share/doc/sr/srwin.ps
+@dirrm share/doc/sr
+@dirrm lib/sr
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/distinfo  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/25 15:54:58 is Exp $
+
+SHA1 (sr.tar.Z) = 76278a750d900f1d5f6b2fedaa21ad26f93fc72e
+Size (sr.tar.Z) = 1453739 bytes
+SHA1 (patch-aa) = 25100667c8a9a48d828253ecba12125d5a7a62aa
+SHA1 (patch-ab) = 3d12695fe38cdc372352279738f593e74599c00d
+SHA1 (patch-ac) = f412be8e1a2bbdf8249d5f1585805fab447a518a
+SHA1 (patch-ad) = 7fc00d7f52a16dc7b814c94c795bb5d7af02e58b
+SHA1 (patch-ae) = 7dadae84f42f16a9448c320fd36c424253fe5aca
+SHA1 (patch-af) = e77f75e3d3e5baeb225ba1b3a1dd2b1d662ef16c
+SHA1 (patch-ag) = 851c7156109d22e30a56f20b70211a016c585b06
+SHA1 (patch-ah) = 66c956161f7a0d1b61e7a887a6ab44d17b398f5e
+SHA1 (patch-ai) = e635785b56e29b1a09ee2b1342b414ef50208fe6
+SHA1 (patch-aj) = 4e1939ce234f4b97748d170b1909e588f6dfc793
+SHA1 (patch-ak) = 9b5093037803782a4eb76362cb14fa6c6cd33630
+SHA1 (patch-al) = cd2928fd5a42d2aba1c103313a7849a52fb988fe
+SHA1 (patch-am) = d5f53666744d8bb2c2fbca8cfe6abebb753367e1
+SHA1 (patch-an) = 7358faf62d8bd82f92bc650bf0a8deaeb7df16ac
+SHA1 (patch-ao) = edb6eaa0d9e7f6adbc9749f0ac5589410a116855
+SHA1 (patch-ap) = c61cb7d239ad08317179fb85c7829736366556f3
+SHA1 (patch-aq) = 364d860fa9ff0019934a6cc43b70f93abffaba24
+SHA1 (patch-ar) = 9a331cdb90959d0cc7475d2fc203d2c302d4bf5c
+SHA1 (patch-as) = 89914a0de054781e2830d70f870c5be2a9db8175
+SHA1 (patch-at) = e66f57026322ff22db9bd7be3dfbaccfb466ccc1
+SHA1 (patch-au) = 78201c528aeb97e6b59c98fb0bdaa63852ce6993
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/patches/patch-aa  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,63 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+
+--- Configuration.orig 1999-08-14 01:42:02.000000000 +0200
++++ Configuration
+@@ -26,13 +26,13 @@ VERSION = "SR version 2.3.2, August 1999
+ #     MAN5:   directory in which to install the srmap/srtrace(5) man pages
+ #             (extension will be `tr 1 5` of MANEXT)
+ 
+-SRSRC = /usr/local/src/sr
+-SRCMD = /usr/local/bin
+-SRLIB = /usr/local/lib/sr
+-MAN1 = /usr/man/manl
+-MAN3 = /usr/man/manl
+-MAN5 = /usr/man/manl
+-MANEXT = l
++SRSRC = _WRKSRC_
++SRCMD = _LOCALBASE_/bin
++SRLIB = _LOCALBASE_/lib/sr
++MAN1 = _LOCALBASE_/man/man1
++MAN3 = _LOCALBASE_/man/man3
++MAN5 = _LOCALBASE_/man/man5
++MANEXT = 1
+ 
+ 
+ 
+@@ -54,8 +54,8 @@ MANEXT = l
+ #   for Sun Solaris with Sun's C compiler use:          CCPATH = /opt/SUNWspro/bin/cc
+ #   for Linux, NetBSD, FreeBSD, or SGI Irix use:  CCPATH = /usr/bin/cc
+ 
+-CCPATH = /bin/cc
+-RSHPATH = /usr/ucb/rsh
++CCPATH = /usr/bin/cc
++RSHPATH = /usr/bin/ssh
+ 
+ 
+ 
+@@ -81,7 +81,7 @@ RSHPATH = /usr/ucb/rsh
+ #   LIBC = ,  LIBR = ,  LIBM = -lm
+ 
+ LIBC = 
+-LIBR =  -L/usr/X11/lib
++LIBR =  -L/usr/X11R6/lib
+ LIBM = -lm
+ 
+ 
+@@ -98,7 +98,7 @@ LIBM = -lm
+ #   for NetBSD, set XINCL = /usr/X386/include
+ #   for Linux, set XINCL = /usr/X11/include
+ 
+-XINCL = /usr/include
++XINCL = /usr/X11R6/include
+ XTANGO = 
+ 
+ 
+@@ -107,7 +107,7 @@ XTANGO = 
+ #
+ #   Set these definitions empty if your system does not have vgrind.
+ 
+-VFPATH = /usr/lib/vfontedpr
++VFPATH = 
+ VGMACS = 
+ 
+ 
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/patches/patch-ab  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+
+--- arch.h.orig        1999-08-09 18:34:12.000000000 +0200
++++ arch.h
+@@ -7,6 +7,12 @@
+  *  BIGCC     arguments passed to CC to enlarge tree space (if needed)
+  */
+ 
++
++#if !defined(ARCH) && defined(__NetBSD__)
++#define ARCH  "NetBSD 2.0 and later"
++#define SFILE "i386.s"
++#endif
++
+ #ifndef ARCH
+ 
+ #ifdef apollo
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/patches/patch-ac  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+
+--- csw/asm.c.orig     1999-07-29 00:16:10.000000000 +0200
++++ csw/asm.c
+@@ -8,7 +8,7 @@
+ 
+ #include "../arch.h"
+ 
+-#if (defined(__linux__) && defined(__ELF__)) || defined(__svr4__)
++#if defined(__ELF__) || defined(__svr4__)
+ #define SR_BUILD_CONTEXT      sr_build_context
+ #define SR_CHG_CONTEXT                sr_chg_context
+ #define SR_CHECK_STK          sr_check_stk
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/patches/patch-ad  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+
+--- doc/Makefile.orig  1999-07-28 22:42:21.000000000 +0200
++++ doc/Makefile
+@@ -6,7 +6,7 @@
+ 
+ MAKE = make
+ SHELL = /bin/sh
+-ROFF = psroff -t
++ROFF = groff -Tps
+ 
+ D = ../ps
+ 
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/patches/patch-ae  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+
+--- rts/alloc.c.orig   1999-07-28 22:42:24.000000000 +0200
++++ rts/alloc.c
+@@ -5,7 +5,6 @@
+  */
+ 
+ #include "rts.h"
+-#include <varargs.h>
+ 
+ static Memh all_mem;  /* header blocks for SR allocated memory */
+ static Mutex mem_mutex;       /* protection for all_mem; acquired after res->rmutex.*/
diff -r 7e1c0150fdb3 -r 686a90b55cfb lang/sr/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/sr/patches/patch-af  Fri Feb 25 15:54:58 2005 +0000
@@ -0,0 +1,59 @@
+$NetBSD: patch-af,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+
+--- rts/array.c.orig   1999-07-28 23:08:48.000000000 +0200
++++ rts/array.c
+@@ -1,7 +1,7 @@
+ /*  array.c -- runtime support of arrays  */
+ 
+ #include "rts.h"
+-#include <varargs.h>
++#include <stdarg.h>
+ 
+ 
+ static void slices ();



Home | Main Index | Thread Index | Old Index