summaryrefslogtreecommitdiff
path: root/lang/o2c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-11-05 09:07:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-11-05 09:07:44 +0000
commitb1cf59535c70b37f79dbb4a7374b9908cd760c4c (patch)
treede86c8c77ebfec33fb4888f702c1c1fc593cce83 /lang/o2c
parent- update for cairo release (diff)
Remove expired ports
Notes
Notes: svn path=/head/; revision=147349
Diffstat (limited to 'lang/o2c')
-rw-r--r--lang/o2c/Makefile42
-rw-r--r--lang/o2c/distinfo2
-rw-r--r--lang/o2c/files/o246
-rw-r--r--lang/o2c/files/patch-aa69
-rw-r--r--lang/o2c/files/patch-ab31
-rw-r--r--lang/o2c/pkg-descr8
-rw-r--r--lang/o2c/pkg-message4
-rw-r--r--lang/o2c/pkg-plist43
8 files changed, 0 insertions, 245 deletions
diff --git a/lang/o2c/Makefile b/lang/o2c/Makefile
deleted file mode 100644
index cd4a3fac3b71..000000000000
--- a/lang/o2c/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# New ports collection makefile for: Oberon2C
-# Date created: December 3, 1997
-# Whom: Oliver Breuninger <ob@seicom.NET>
-#
-# $FreeBSD$
-
-PORTNAME= o2c
-PORTVERSION= 1.16
-CATEGORIES= lang
-MASTER_SITES= ftp://ftp.uni-kl.de/pub/informatik/software/ \
- http://www.breuninger.org/files/distfiles/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Oberon-2 compiler
-DEPRECATED= "o2c is supplanted by lang/oo2c"
-EXPIRATION_DATE= 2005-09-28
-
-# does not support 64-bit platforms
-ONLY_FOR_ARCHS= i386
-
-USE_REINPLACE= yes
-MAKE_ENV= MAKEOBJDIR=.
-MAN1= o2b.1 o2c.1 o2ef.1 o2whereis.1
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
-post-extract:
- @${CP} ${FILESDIR}/o2 ${WRKSRC}
-
-post-patch:
- @${REINPLACE_CMD} -e \
- "s|\@PREFIX\@|${PREFIX}|g;" ${WRKSRC}/system/o2c.red.template
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/system/o2c.red.template ${PREFIX}/lib/o2c-1.16
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/lang/o2c/distinfo b/lang/o2c/distinfo
deleted file mode 100644
index 5b1466ed5bed..000000000000
--- a/lang/o2c/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (o2c-1.16.tar.gz) = 5e4c80d8ec4e744953c408dc9301a147
-SIZE (o2c-1.16.tar.gz) = 357838
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
-
diff --git a/lang/o2c/pkg-descr b/lang/o2c/pkg-descr
deleted file mode 100644
index 389b1368b1ba..000000000000
--- a/lang/o2c/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-
-Niklaus Wirth's language Oberon-2 implemented by a german university at
-Kaiserslautern.
-
-Oberon informations at http://www.oberon.ethz.ch/
-
-- Oliver Breuninger
-ob@seicom.NET
diff --git a/lang/o2c/pkg-message b/lang/o2c/pkg-message
deleted file mode 100644
index 5a11ae8dfb1c..000000000000
--- a/lang/o2c/pkg-message
+++ /dev/null
@@ -1,4 +0,0 @@
-
-You may want to install /usr/local/lib/o2c-1.16/o2c.red.template
-as .o2c.red into your home directory.
-
diff --git a/lang/o2c/pkg-plist b/lang/o2c/pkg-plist
deleted file mode 100644
index c6f4fa53e359..000000000000
--- a/lang/o2c/pkg-plist
+++ /dev/null
@@ -1,43 +0,0 @@
-bin/o2
-bin/o2b
-bin/o2c
-bin/o2ef
-bin/o2whereis
-lib/o2c-1.16/_OGCC.c
-lib/o2c-1.16/_OGCC.h
-lib/o2c-1.16/ErrorList.Txt
-lib/o2c-1.16/CType.Mod
-lib/o2c-1.16/CharInfo.Mod
-lib/o2c-1.16/ConvTypes.Mod
-lib/o2c-1.16/Dos.Mod
-lib/o2c-1.16/Dos.c
-lib/o2c-1.16/FOut.Mod
-lib/o2c-1.16/Filenames.Mod
-lib/o2c-1.16/Files.Mod
-lib/o2c-1.16/Files.c
-lib/o2c-1.16/FIn.Mod
-lib/o2c-1.16/In.Mod
-lib/o2c-1.16/IntStr.Mod
-lib/o2c-1.16/Math.Mod
-lib/o2c-1.16/MathL.Mod
-lib/o2c-1.16/MathL.c
-lib/o2c-1.16/Out.Mod
-lib/o2c-1.16/RandomNumbers.Mod
-lib/o2c-1.16/RealStr.Mod
-lib/o2c-1.16/Redir.Mod
-lib/o2c-1.16/Rts.Mod
-lib/o2c-1.16/Rts.c
-lib/o2c-1.16/Strings.Mod
-lib/o2c-1.16/Strings2.Mod
-lib/o2c-1.16/Time.Mod
-lib/o2c-1.16/Types.Mod
-lib/o2c-1.16/Types.c
-lib/o2c-1.16/Unix.Mod
-lib/o2c-1.16/Unix.c
-lib/o2c-1.16/UpdateLib.Mod
-lib/o2c-1.16/X11.Mod
-lib/o2c-1.16/Xresource.Mod
-lib/o2c-1.16/Xutil.Mod
-lib/o2c-1.16/XYplane.Mod
-lib/o2c-1.16/o2c.red.template
-@dirrm lib/o2c-1.16