summaryrefslogtreecommitdiff
path: root/lang/Sather
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1994-11-01 06:08:02 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1994-11-01 06:08:02 +0000
commit7fb85a897c3b187b8acba354f6e6bad8e6e6dfa6 (patch)
tree2c89ca7d581fb772e29f61c585a9bb274e8e6fff /lang/Sather
parentPart of last commit... (diff)
The Sather 1.0 language.
Notes
Notes: svn path=/head/; revision=307
Diffstat (limited to 'lang/Sather')
-rw-r--r--lang/Sather/Makefile20
-rw-r--r--lang/Sather/files/patch-0265
2 files changed, 85 insertions, 0 deletions
diff --git a/lang/Sather/Makefile b/lang/Sather/Makefile
new file mode 100644
index 000000000000..6c67e1acb404
--- /dev/null
+++ b/lang/Sather/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: Sather
+# Version required: 1.0.1
+# Date created: Mon Oct 31 22:04:12 PST 1994
+# Whom: hsu
+#
+# $Id$
+#
+
+DISTNAME= Sather-1.0.1
+MASTER_SITES= ftp://ftp.icsi.berkeley.edu/pub/sather/
+DISTFILES= Sather-1.0.1.tar.Z
+WRKSRC= ${WRKDIR}/Sather
+
+install:
+ @if [ ! -e ${PREFIX}/bin ]; then mkdir -p ${PREFIX}/bin; fi
+ @if [ ! -e ${PREFIX}/man/man1 ]; then mkdir -p ${PREFIX}/man/man1; fi
+ install -c -m 555 ${WRKSRC}/Compiler/cs ${PREFIX}/bin
+ install -c -m 555 ${WRKSRC}/Doc/man/man1/cs.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/lang/Sather/files/patch-02 b/lang/Sather/files/patch-02
new file mode 100644
index 000000000000..e07a0c3645fa
--- /dev/null
+++ b/lang/Sather/files/patch-02
@@ -0,0 +1,65 @@
+*** Makefile.0 Fri Oct 28 12:41:26 1994
+--- Makefile Mon Oct 31 04:00:03 1994
+***************
+*** 23,37 ****
+ #
+ # Don't forget to edit (or at least inspect) the file System/CONFIG.proto.
+
+! CPP= /lib/cpp -C -P
+ RANLIB= ranlib
+! CC= gcc
+! CFLAGS= -O
+ GC_CC= ${CC}
+ MV= mv
+ CMP= cmp
+ CS= cs
+! SHOME= /u/davids/Sather
+ AR= ar
+ RM= rm -f
+
+--- 23,37 ----
+ #
+ # Don't forget to edit (or at least inspect) the file System/CONFIG.proto.
+
+! CPP= /usr/bin/cpp -C -P
+ RANLIB= ranlib
+! CC= cc
+! CFLAGS= -O2
+ GC_CC= ${CC}
+ MV= mv
+ CMP= cmp
+ CS= cs
+! SHOME= ..
+ AR= ar
+ RM= rm -f
+
+***************
+*** 39,44 ****
+--- 39,46 ----
+ SYSTEM= System/GC/gc.a System/base.a System/MACROS System/CONFIG System/ITERS
+ BOOTCS= ${SHOME}/Boot/${CS}
+ BOOTHOME= ${SHOME}
++
++ all: testall
+
+ # Make the boot compiler and give it a workout on itself and some test cases
+ testall: bootstrap test
+*** System/CONFIG.proto.0 Mon Oct 31 03:55:23 1994
+--- System/CONFIG.proto Mon Oct 31 03:57:59 1994
+***************
+*** 13,19 ****
+ "#/System/base.a #/System/GC/gc.a -lm"
+
+ -- extra args to pass to C compile if optimization turned on
+! "-O"
+
+ -- extra args to pass to C compile if debugging turned on
+ "-g"
+--- 13,19 ----
+ "#/System/base.a #/System/GC/gc.a -lm"
+
+ -- extra args to pass to C compile if optimization turned on
+! "-O2"
+
+ -- extra args to pass to C compile if debugging turned on
+ "-g"