The Sather 1.0 language.
This commit is contained in:
parent
26762336aa
commit
7fb85a897c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307
20
lang/Sather/Makefile
Normal file
20
lang/Sather/Makefile
Normal file
@ -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>
|
65
lang/Sather/files/patch-02
Normal file
65
lang/Sather/files/patch-02
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user