diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2005-11-05 09:07:44 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2005-11-05 09:07:44 +0000 |
commit | b1cf59535c70b37f79dbb4a7374b9908cd760c4c (patch) | |
tree | de86c8c77ebfec33fb4888f702c1c1fc593cce83 /lang/o2c/files | |
parent | 46ce9b21a3308230eb3c7821516af7ccc044bb41 (diff) | |
download | ports-b1cf59535c70b37f79dbb4a7374b9908cd760c4c.tar.gz ports-b1cf59535c70b37f79dbb4a7374b9908cd760c4c.zip |
Notes
Diffstat (limited to 'lang/o2c/files')
-rw-r--r-- | lang/o2c/files/o2 | 46 | ||||
-rw-r--r-- | lang/o2c/files/patch-aa | 69 | ||||
-rw-r--r-- | lang/o2c/files/patch-ab | 31 |
3 files changed, 0 insertions, 146 deletions
diff --git a/lang/o2c/files/o2 b/lang/o2c/files/o2 deleted file mode 100644 index 525ce0a35802..000000000000 --- a/lang/o2c/files/o2 +++ /dev/null @@ -1,46 +0,0 @@ -#! /bin/csh - -if ( $#argv == 0 ) goto usage -if ( $1 == "--make" ) goto make -if ( $1 == "-m" ) goto make - -compile: -# -# compile files, check extension -# -if ( $1 == "-c" ) then - set file = $2 -else - set file = $1 -endif -echo Extension $file:e -if ( $file:e != "Mod" ) then - set file = $file".Mod" -endif -echo compiling $file "..." -o2c $file | o2ef | more -goto end - -make: -# -# make Oberon program, remove Extension -# -echo making $2:r $3:r $4:r $5:r $6:r "..." -o2c --make $2:r $3:r $4:r $5:r $6:r -goto end - -usage: -# -# show a litle help -# -echo "" -echo " o2 [option] File " -echo "" -echo " option: " -echo " --make make Project " -echo " -m make Project " -echo " -c (default) compile Module " -echo "" - -end: - diff --git a/lang/o2c/files/patch-aa b/lang/o2c/files/patch-aa deleted file mode 100644 index c2be79fca4e5..000000000000 --- a/lang/o2c/files/patch-aa +++ /dev/null @@ -1,69 +0,0 @@ ---- Makefile.orig Fri Mar 28 13:15:40 1997 -+++ Makefile Tue Jun 16 14:28:16 1998 -@@ -4,10 +4,9 @@ - # in "compiler/OMachine.Mod" accordingly. - - # where to install the binaries? --BIN = $(HOME)/bin --MANPATH = /usr/man -- -- -+BIN = ${PREFIX}/bin -+MANPATH = ${PREFIX}/man -+LIBPATH = ${PREFIX}/lib/o2c-1.16 - - # you shouldn't have to change anything below - -@@ -28,7 +27,7 @@ - fi - -rm -f o2c_stage0 o2c_stage1 o2c_stage2 o2c all - # check the hardcoded type sizes against the C types -- gcc -o sizes system/sizes.c -+ gcc -o sizes system/sizes.c -Isystem - ./sizes - # build compiler executable from the distributed C sources - $(MAKE) -f makefile_o2c CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' build -@@ -62,26 +61,31 @@ - ./o2c -MORv --redir system/o2c.red.template UpdateLib - mv o2c o2c_stage2 - --install: all -- if [ ! -f $(HOME)/.o2c.red ]; then \ -- cp system/o2c.red.template $(HOME)/.o2c.red; \ -- fi -+install.man: -+ for i in $(COMMANDS) ; do \ -+ cp docs/$$i.1 $(MANPATH)/man1/$$i.1 ; \ -+ chmod 644 $(MANPATH)/man1/$$i.1 ; \ -+ done -+ -+install: all install.man - chmod -R ugo+rX * - -rm -f o2c -- ln o2c_stage2 o2c -+ cp o2c_stage2 o2c -+ mkdir -p $(LIBPATH) -+ cp system/_OGCC.c $(LIBPATH) -+ cp system/_OGCC.h $(LIBPATH) -+ cp system/ErrorList.Txt $(LIBPATH) -+ cp lib/* $(LIBPATH) -+ chmod 644 $(LIBPATH)/* - for i in $(COMMANDS) ; do \ - cp $$i $(BIN)/$$i ; \ - chmod 755 $(BIN)/$$i ; \ - done -- --install.man: -- for i in $(COMMANDS) ; do \ -- cp docs/$$i.1 $(MANPATH)/man1/$$i.1 ; \ -- chmod 644 $(MANPATH)/man1/$$i.1 ; \ -- done -+ cp o2 $(BIN) -+ chmod 755 $(BIN)/o2 - - clean: -- -rm -f makefile_o2c Makefile sizes -+ -rm -f sizes - -rm -f o2c_stage0 o2c_stage1 o2c_stage2 o2c all UpdateLib - -rm -rf obj.distrib - -for i in $(COMMANDS) UpdateLib ; do rm -f $$i obj/_$$i.[co] ; done diff --git a/lang/o2c/files/patch-ab b/lang/o2c/files/patch-ab deleted file mode 100644 index 59a05e14d288..000000000000 --- a/lang/o2c/files/patch-ab +++ /dev/null @@ -1,31 +0,0 @@ ---- system/o2c.red.template.orig Fri Mar 28 13:15:18 1997 -+++ system/o2c.red.template Wed Dec 3 16:54:26 1997 -@@ -8,8 +8,9 @@ - # paths for sources - *.Mod = -- .; # first search the current directory -- lib; # the standard libs, they _have to be_ in the path list -- compiler # the compiler sources -- + RCS # include RCS files in the search -+ .; # first search the current directory -+ lib; -+ @PREFIX@/lib/o2c-1.16; # the standard libs, they _have to be_ in the path list -+ compiler # the compiler sources -+ + RCS # include RCS files in the search - - # places for the compiler generated files -@@ -18,8 +19,11 @@ - - # interface files, have to be in the path list --*.c = lib -+*.c = -+ lib; -+ @PREFIX@/lib/o2c-1.16 - - # system files: standard include file and list of error messages --_OGCC.?, ErrorList.Txt = system -- -+_OGCC.?, ErrorList.Txt = -+ system; -+ @PREFIX@/lib/o2c-1.16 - |