diff options
author | max <max@FreeBSD.org> | 1997-06-26 11:28:36 +0000 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-06-26 11:28:36 +0000 |
commit | 72412f7ccba1851e858142db6705f6495b63e6c6 (patch) | |
tree | 8166bab856b56170b2c432c6cec1da01288367cd /lang/sr | |
parent | 7d3423e494a915114829b6673309334706bd2357 (diff) | |
download | FreeBSD-ports-72412f7ccba1851e858142db6705f6495b63e6c6.zip FreeBSD-ports-72412f7ccba1851e858142db6705f6495b63e6c6.tar.gz |
New port, SR:
A parallel language "Synchronization Resources"
Submitted by: Ruslan Shevchenko <rssh@satori.ipri.kiev.ua>
PR: 3758
Diffstat (limited to 'lang/sr')
-rw-r--r-- | lang/sr/Makefile | 38 | ||||
-rw-r--r-- | lang/sr/distinfo | 1 | ||||
-rw-r--r-- | lang/sr/files/patch-aa | 50 | ||||
-rw-r--r-- | lang/sr/pkg-comment | 1 | ||||
-rw-r--r-- | lang/sr/pkg-descr | 15 | ||||
-rw-r--r-- | lang/sr/pkg-plist | 340 |
6 files changed, 445 insertions, 0 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile new file mode 100644 index 0000000..5acc5a2 --- /dev/null +++ b/lang/sr/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: sr +# Version required: 2.3.1 +# Date created: 2 Jun 1997 +# Whom: Ruslan Shevchenko <rssh@satori.ipri.kiev.ua> +# +# $Id: Makefile,v 1.9 1996/12/12 05:08:32 max Exp $ +# + +DISTNAME= sr +PKGNAME= sr-2.3.1 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= rssh@cki.ipri.kiev.ua + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= prefix +NO_WRKSUBDIR= yes +MAN1 = sr.1 srl.1 srm.1 srprof.1 srtex.1 srlatex.1 srgrind.1 \ + ccr2sr.1 m2sr.1 csp2sr.1 +MAN3 = sranimator.3 srgetopt.3 srwin.3 +MAN5 = srmap.5 srtrace.5 + +pre-install: + @${MKDIR} ${PREFIX}/lib/sr + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/sr/notes + ${MKDIR} -p ${PREFIX}/share/doc/sr/ps + ${INSTALL_DATA} ${WRKSRC}/notes/* ${PREFIX}/share/doc/sr/notes + ${INSTALL_DATA} ${WRKSRC}/ps/* ${PREFIX}/share/doc/sr/ps + ${MKDIR} ${PREFIX}/share/examples/sr + ${CP} -pR ${WRKSRC}/examples/* ${PREFIX}/share/examples/sr +.endif + +.include<bsd.port.mk> diff --git a/lang/sr/distinfo b/lang/sr/distinfo new file mode 100644 index 0000000..d2faf9e --- /dev/null +++ b/lang/sr/distinfo @@ -0,0 +1 @@ +MD5 (sr.tar.Z) = b2e9d368089829da1261634a403f0d69 diff --git a/lang/sr/files/patch-aa b/lang/sr/files/patch-aa new file mode 100644 index 0000000..42e03ae --- /dev/null +++ b/lang/sr/files/patch-aa @@ -0,0 +1,50 @@ +--- configure.orig Thu Dec 14 06:46:18 1995 ++++ configure Thu Jun 26 03:00:03 1997 +@@ -77,6 +77,7 @@ + XINCL=/usr/include + if [ -d /usr/X11/include/X11 ]; then XINCL=/usr/X11/include; fi + if [ -d /usr/openwin/include/X11 ]; then XINCL=/usr/openwin/include; fi ++if [ -d /usr/X11R6/include/X11 ]; then XINCL=/usr/X11R6/include; fi + if [ ! -d $XINCL/X11 ]; then XINCL=; fi + + XTANGO=/home/sr/xtango/include +@@ -125,6 +126,11 @@ + LIBM="-lm -lc" + fi + ++# on FreeBSD, set X11R6 library ++if [ "`(uname -s) 2>/dev/null`" = "FreeBSD" ]; then ++ LIBR="-L/usr/X11R6/lib" ++fi ++ + # if this looks like an Arizona system, use our srmap file + if grep -s '^gmt:[^:]*:0*28:0*46:' /etc/passwd >/dev/null; then + SRMAP=srmap.az +@@ -174,11 +180,27 @@ + MAN5=/usr/man/local/man5 + MANEXT=1 + else ++ if [ -d /usr/local/man ]; then ++ MAN1=/usr/local/man/man1 ++ MAN3=/usr/local/man/man3 ++ MAN5=/usr/local/man/man5 ++ MANEXT=1 ++ else + MAN1=/usr/man/manl + MAN3=/usr/man/manl + MAN5=/usr/man/manl + MANEXT=l ++ fi + fi ++ ;; ++ prefix) ++ if [ "X${PREFIX}" = "X" ]; then PREFIX=/usr/local ; fi ++ SRCMD=${PREFIX}/bin ++ SRLIB=${PREFIX}/lib/sr ++ MAN1=${PREFIX}/man/man1 ++ MAN3=${PREFIX}/man/man3 ++ MAN5=${PREFIX}/man/man5 ++ MANEXT=1 + ;; + optlocal) + SRCMD=/opt/local/bin diff --git a/lang/sr/pkg-comment b/lang/sr/pkg-comment new file mode 100644 index 0000000..2dc4c55 --- /dev/null +++ b/lang/sr/pkg-comment @@ -0,0 +1 @@ +A parallel language "Synchronization Resources" diff --git a/lang/sr/pkg-descr b/lang/sr/pkg-descr new file mode 100644 index 0000000..f428bcc --- /dev/null +++ b/lang/sr/pkg-descr @@ -0,0 +1,15 @@ + SR is a programming language "Synchronization Resource", development + in the University of Arizona. + + It is designed for writing concurrent programs. You can run + SR program in you local net (by installing SR daemons on startup + on all your machines), and specify a number of SR processes in one + machine. + + SR has nice interface with X11 and xtango. + + Syntax of language is pascal-like, for all references to documentation, + web links and examples please look at its own README, which situated + in /usr/local/share/doc/sr/notes/README. + + Enjoy. diff --git a/lang/sr/pkg-plist b/lang/sr/pkg-plist new file mode 100644 index 0000000..28a9c29 --- /dev/null +++ b/lang/sr/pkg-plist @@ -0,0 +1,340 @@ +bin/ccr2sr +bin/csp2sr +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.gz +man/man1/csp2sr.1.gz +man/man1/m2sr.1.gz +man/man1/sr.1.gz +man/man1/srgrind.1.gz +man/man1/srl.1.gz +man/man1/srlatex.1.gz +man/man1/srm.1.gz +man/man1/srprof.1.gz +man/man1/srtex.1.gz +man/man3/sranimator.3.gz +man/man3/srgetopt.3.gz +man/man3/srwin.3.gz +man/man5/srmap.5.gz +man/man5/srtrace.5.gz +share/doc/sr/notes/Memory +share/doc/sr/notes/Questions +share/doc/sr/notes/README +share/doc/sr/notes/Termination +share/doc/sr/notes/Tour +share/doc/sr/notes/VM +share/doc/sr/notes/Vsuite +share/doc/sr/notes/coding.ms +share/doc/sr/notes/csw860.txt +share/doc/sr/ps/README +share/doc/sr/ps/impl.ps +share/doc/sr/ps/install.ps +share/doc/sr/ps/language.ps +share/doc/sr/ps/manpages.ps +share/doc/sr/ps/port.ps +share/doc/sr/ps/rel_2_0.ps +share/doc/sr/ps/rel_2_1.ps +share/doc/sr/ps/rel_2_2.ps +share/doc/sr/ps/release.ps +share/doc/sr/ps/runtime.ps +share/doc/sr/ps/sranimator.ps +share/doc/sr/ps/srwin.ps +share/examples/sr/README +share/examples/sr/ccr2sr/1/No_input.std +share/examples/sr/ccr2sr/1/Script +share/examples/sr/ccr2sr/1/a.ccr +share/examples/sr/ccr2sr/2/Script +share/examples/sr/ccr2sr/2/a.ccr +share/examples/sr/ccr2sr/3/Script +share/examples/sr/ccr2sr/3/a.ccr +share/examples/sr/ccr2sr/4/Script +share/examples/sr/ccr2sr/4/a.ccr +share/examples/sr/ccr2sr/5/Script +share/examples/sr/ccr2sr/5/a.ccr +share/examples/sr/ccr2sr/rw/No_input.std +share/examples/sr/ccr2sr/rw/Script +share/examples/sr/ccr2sr/rw/rw.ccr +share/examples/sr/chap01/CS.sr +share/examples/sr/chap01/cgrep.sr +share/examples/sr/chap01/factorial.sr +share/examples/sr/chap01/hello.sr +share/examples/sr/chap01/matrix.sr +share/examples/sr/chap04/center.sr +share/examples/sr/chap04/differ.sr +share/examples/sr/chap04/evaluator.sr +share/examples/sr/chap04/fact.sr +share/examples/sr/chap04/factorial.sr +share/examples/sr/chap04/insert.sr +share/examples/sr/chap04/left.sr +share/examples/sr/chap04/search.sr +share/examples/sr/chap04/sigma.sr +share/examples/sr/chap04/sort1.sr +share/examples/sr/chap04/sort2.sr +share/examples/sr/chap04/trapezoidal.sr +share/examples/sr/chap05/Diagonal.sr +share/examples/sr/chap05/Screen.sr +share/examples/sr/chap05/Stack.sr +share/examples/sr/chap05/Stack_User.sr +share/examples/sr/chap05/foo.sr +share/examples/sr/chap07/compressor.sr +share/examples/sr/chap07/foo1.sr +share/examples/sr/chap07/foo2.sr +share/examples/sr/chap07/mult.sr +share/examples/sr/chap07/partial_sums.sr +share/examples/sr/chap07/quick.sr +share/examples/sr/chap08/CS.sr +share/examples/sr/chap08/CS_Ordered.sr +share/examples/sr/chap08/barrier1.sr +share/examples/sr/chap08/barrier2.sr +share/examples/sr/chap09/CS.sr +share/examples/sr/chap09/buffer.sr +share/examples/sr/chap09/cs1.sr +share/examples/sr/chap09/cs2.sr +share/examples/sr/chap09/cs3.sr +share/examples/sr/chap09/cs4.sr +share/examples/sr/chap09/quadrature.sr +share/examples/sr/chap09/stream_merge.sr +share/examples/sr/chap10/Stack.sr +share/examples/sr/chap10/Stack_User.sr +share/examples/sr/chap10/conversation.sr +share/examples/sr/chap10/fun1.sr +share/examples/sr/chap10/fun2.sr +share/examples/sr/chap10/pipeline_sort.sr +share/examples/sr/chap11/RW_allocator.sr +share/examples/sr/chap11/bounded_buffer.sr +share/examples/sr/chap11/cs.sr +share/examples/sr/chap11/mailbox.sr +share/examples/sr/chap11/main1.sr +share/examples/sr/chap11/main2.sr +share/examples/sr/chap11/sieve.sr +share/examples/sr/chap11/swap.sr +share/examples/sr/chap12/foo.sr +share/examples/sr/chap12/glob.sr +share/examples/sr/chap12/main1.sr +share/examples/sr/chap12/main2.sr +share/examples/sr/chap13/centralized.sr +share/examples/sr/chap13/decentralized.sr +share/examples/sr/chap13/distributed.sr +share/examples/sr/chap14/bag.sr +share/examples/sr/chap14/broadcast.sr +share/examples/sr/chap14/heartbeat.sr +share/examples/sr/chap14/strip.sr +share/examples/sr/chap15/co.sr +share/examples/sr/chap15/gs.sr +share/examples/sr/chap15/heartbeat.sr +share/examples/sr/chap15/hosts +share/examples/sr/chap15/strip.sr +share/examples/sr/chap15/vm.sr +share/examples/sr/chap16/cities14 +share/examples/sr/chap16/cities3 +share/examples/sr/chap16/cities4 +share/examples/sr/chap16/cities6 +share/examples/sr/chap16/cities8 +share/examples/sr/chap16/distributed.sr +share/examples/sr/chap16/sequential.sr +share/examples/sr/chap16/shared.sr +share/examples/sr/chap17/ci.sr +share/examples/sr/chap17/ds.sr +share/examples/sr/chap17/fs.sr +share/examples/sr/chap17/globals.sr +share/examples/sr/chap17/login.sr +share/examples/sr/chap17/main.sr +share/examples/sr/chap18/Bus.sr +share/examples/sr/chap18/Processor.sr +share/examples/sr/chap18/Scheduler.sr +share/examples/sr/csp2sr/1/Script +share/examples/sr/csp2sr/1/a.csp +share/examples/sr/csp2sr/2/Script +share/examples/sr/csp2sr/2/b.csp +share/examples/sr/csp2sr/3/Script +share/examples/sr/csp2sr/3/c.csp +share/examples/sr/csp2sr/4/Script +share/examples/sr/csp2sr/4/d.csp +share/examples/sr/csp2sr/5/Script +share/examples/sr/csp2sr/5/e.csp +share/examples/sr/csp2sr/6/Script +share/examples/sr/csp2sr/6/i.csp +share/examples/sr/csp2sr/7/Script +share/examples/sr/csp2sr/7/f.csp +share/examples/sr/csp2sr/8/Script +share/examples/sr/csp2sr/8/f.csp +share/examples/sr/csp2sr/dp1/Script +share/examples/sr/csp2sr/dp1/dp.csp +share/examples/sr/csp2sr/dp1/te.std +share/examples/sr/csp2sr/dp1/ti.std +share/examples/sr/csp2sr/dp2/Script +share/examples/sr/csp2sr/dp2/dp.csp +share/examples/sr/csp2sr/nest/Script +share/examples/sr/csp2sr/nest/nest.csp +share/examples/sr/csp2sr/pair1/Script +share/examples/sr/csp2sr/pair1/pair.csp +share/examples/sr/csp2sr/pair2/Script +share/examples/sr/csp2sr/pair2/pair.csp +share/examples/sr/csp2sr/pair3/Script +share/examples/sr/csp2sr/pair3/pair.csp +share/examples/sr/csp2sr/sieve/Script +share/examples/sr/csp2sr/sieve/sieve.csp +share/examples/sr/csp2sr/sort1/Script +share/examples/sr/csp2sr/sort1/sort.csp +share/examples/sr/csp2sr/sort2/Script +share/examples/sr/csp2sr/sort2/sort.csp +share/examples/sr/csp2sr/wxe1/Script +share/examples/sr/csp2sr/wxe1/both.std +share/examples/sr/csp2sr/wxe1/g.csp +share/examples/sr/csp2sr/wxe2/Script +share/examples/sr/csp2sr/wxe2/h.csp +share/examples/sr/m2sr/barrier1/Script +share/examples/sr/m2sr/barrier1/b.sr +share/examples/sr/m2sr/barrier1/barrier.m +share/examples/sr/m2sr/barrier1/test.sr +share/examples/sr/m2sr/barrier2/Script +share/examples/sr/m2sr/barrier2/barrier.m +share/examples/sr/m2sr/barrier2/sc.std +share/examples/sr/m2sr/barrier2/test.sr +share/examples/sr/m2sr/bb1/Script +share/examples/sr/m2sr/bb1/a.m +share/examples/sr/m2sr/bb1/test.sr +share/examples/sr/m2sr/bb2/Script +share/examples/sr/m2sr/bb2/a.m +share/examples/sr/m2sr/bb2/test.sr +share/examples/sr/m2sr/critsec/Script +share/examples/sr/m2sr/critsec/a.m +share/examples/sr/m2sr/critsec/all.std +share/examples/sr/m2sr/critsec/test.sr +share/examples/sr/m2sr/cscan1/Script +share/examples/sr/m2sr/cscan1/a.m +share/examples/sr/m2sr/cscan1/test.sr +share/examples/sr/m2sr/cscan2/Script +share/examples/sr/m2sr/cscan2/a.m +share/examples/sr/m2sr/cscan2/all.std +share/examples/sr/m2sr/cscan2/test.sr +share/examples/sr/m2sr/nocv/Script +share/examples/sr/m2sr/nocv/nocv.m +share/examples/sr/m2sr/nocv/test.sr +share/examples/sr/m2sr/noproc/Script +share/examples/sr/m2sr/noproc/noproc.m +share/examples/sr/m2sr/noproc/test.sr +share/examples/sr/m2sr/timer/Script +share/examples/sr/m2sr/timer/test.sr +share/examples/sr/m2sr/timer/timer.m +share/examples/sr/other/heartbeat/Script +share/examples/sr/other/heartbeat/in1.1.std +share/examples/sr/other/heartbeat/in1.3.std +share/examples/sr/other/heartbeat/in2.2.std +share/examples/sr/other/heartbeat/in2.4.std +share/examples/sr/other/heartbeat/in3.3.std +share/examples/sr/other/heartbeat/in4.3.std +share/examples/sr/other/heartbeat/in4.4.std +share/examples/sr/other/heartbeat/in4.5.std +share/examples/sr/other/heartbeat/in5.1.std +share/examples/sr/other/heartbeat/in5.4.std +share/examples/sr/other/heartbeat/in6.2.std +share/examples/sr/other/heartbeat/in6.7.std +share/examples/sr/other/heartbeat/input1 +share/examples/sr/other/heartbeat/input2 +share/examples/sr/other/heartbeat/input3 +share/examples/sr/other/heartbeat/input4 +share/examples/sr/other/heartbeat/input5 +share/examples/sr/other/heartbeat/input6 +share/examples/sr/other/heartbeat/main.sr +share/examples/sr/other/heartbeat/node.sr +share/examples/sr/other/heartbeat/printer.sr +share/examples/sr/other/mbrot/No_input.std +share/examples/sr/other/mbrot/Script +share/examples/sr/other/mbrot/bkend.c +share/examples/sr/other/mbrot/main.sr +share/examples/sr/other/mbrot/mbrot.c +share/examples/sr/other/mbrot/remote.sr +share/examples/sr/other/probe/Script +share/examples/sr/other/probe/in1.1.std +share/examples/sr/other/probe/in1.3.std +share/examples/sr/other/probe/in2.2.std +share/examples/sr/other/probe/in2.4.std +share/examples/sr/other/probe/in3.3.std +share/examples/sr/other/probe/in4.3.std +share/examples/sr/other/probe/in4.4.std +share/examples/sr/other/probe/in4.5.std +share/examples/sr/other/probe/in5.1.std +share/examples/sr/other/probe/in5.4.std +share/examples/sr/other/probe/in6.2.std +share/examples/sr/other/probe/in6.7.std +share/examples/sr/other/probe/input1 +share/examples/sr/other/probe/input2 +share/examples/sr/other/probe/input3 +share/examples/sr/other/probe/input4 +share/examples/sr/other/probe/input5 +share/examples/sr/other/probe/input6 +share/examples/sr/other/probe/main.sr +share/examples/sr/other/probe/node.sr +share/examples/sr/other/probe/printer.sr +share/examples/sr/other/queens/No_input.std +share/examples/sr/other/queens/Script +share/examples/sr/other/queens/queens.sr +share/examples/sr/other/remote/Script +share/examples/sr/other/remote/remote.sr +share/examples/sr/other/tty/No_input.std +share/examples/sr/other/tty/Script +share/examples/sr/other/tty/tty.sr +share/examples/sr/other/wondrous/No_input.std +share/examples/sr/other/wondrous/Script +share/examples/sr/other/wondrous/wondrous.sr +share/examples/sr/sranimator/Makefile +share/examples/sr/sranimator/README +share/examples/sr/sranimator/bbdriver.sr +share/examples/sr/sranimator/bbin.sr +share/examples/sr/sranimator/bbproc.sr +share/examples/sr/sranimator/bubblesort.sr +share/examples/sr/sranimator/dining.sr +share/examples/sr/sranimator/hello.sr +share/examples/sr/sranimator/quicksort.sr +share/examples/sr/sranimator/rwdriver.sr +share/examples/sr/sranimator/rwfair.sr +share/examples/sr/sranimator/rwstarve.sr +share/examples/sr/sranimator/tfonts.sr +share/examples/sr/sranimator/tlines.sr +share/examples/sr/sranimator/tresize.sr +share/examples/sr/sranimator/tsteps.sr +share/examples/sr/sranimator/tzoom.sr +share/examples/sr/srwin/Makefile +share/examples/sr/srwin/README +share/examples/sr/srwin/button.sr +share/examples/sr/srwin/colors.100 +share/examples/sr/srwin/colors.20 +share/examples/sr/srwin/colors.50 +share/examples/sr/srwin/demo.sr +share/examples/sr/srwin/gauss.sr +share/examples/sr/srwin/hello.sr +share/examples/sr/srwin/mandel.sr +share/examples/sr/srwin/qsort.sr +share/examples/sr/srwin/winquad.sr +@dirrm lib/sr +@dirrm share/doc/sr/notes +@dirrm share/doc/sr/ps +@dirrm share/doc/sr +@unexec /bin/rm -rf %D/share/examples/sr |