aboutsummaryrefslogtreecommitdiff
path: root/lang/intercal
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-04-17 21:52:20 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-04-17 21:52:20 +0000
commit7091278830f60c5d67a2ec24b95f59a85af43822 (patch)
treed2bd5fa6bba6373cab173dc9b5c2441ea75b32e2 /lang/intercal
parentfe161c146ca34ec9212e3bbd26c43f71c6781632 (diff)
downloadports-7091278830f60c5d67a2ec24b95f59a85af43822.tar.gz
ports-7091278830f60c5d67a2ec24b95f59a85af43822.zip
Import of the INTERCAL compiler, ick, version 0.17.
PR: 6080
Notes
Notes: svn path=/head/; revision=10547
Diffstat (limited to 'lang/intercal')
-rw-r--r--lang/intercal/Makefile25
-rw-r--r--lang/intercal/distinfo1
-rw-r--r--lang/intercal/files/patch-aa67
-rw-r--r--lang/intercal/pkg-comment1
-rw-r--r--lang/intercal/pkg-descr7
-rw-r--r--lang/intercal/pkg-plist98
6 files changed, 199 insertions, 0 deletions
diff --git a/lang/intercal/Makefile b/lang/intercal/Makefile
new file mode 100644
index 000000000000..d3e8f5d2ae54
--- /dev/null
+++ b/lang/intercal/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: intercal
+# Version required: 0.17
+# Date created: 20 March 1998
+# Whom: Matthew Hunt <mph@freebsd.org>
+#
+# $Id$
+#
+
+DISTNAME= intercal-0.17
+CATEGORIES= lang
+MASTER_SITES= http://earthspace.net/~esr/
+
+MAINTAINER= mph@freebsd.org
+
+WRKSRC= $(WRKDIR)/$(DISTNAME)/src
+
+pre-install:
+ ${MKDIR} ${PREFIX}/share/intercal
+ ${MKDIR} ${PREFIX}/lib/intercal
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/intercal/pit
+ ${CP} -R $(WRKDIR)/$(DISTNAME)/pit/* ${PREFIX}/share/intercal/pit
+
+.include <bsd.port.mk>
diff --git a/lang/intercal/distinfo b/lang/intercal/distinfo
new file mode 100644
index 000000000000..ddd6f095c249
--- /dev/null
+++ b/lang/intercal/distinfo
@@ -0,0 +1 @@
+MD5 (intercal-0.17.tar.gz) = 27449cdca064438142b64f566deed980
diff --git a/lang/intercal/files/patch-aa b/lang/intercal/files/patch-aa
new file mode 100644
index 000000000000..12b5f3723008
--- /dev/null
+++ b/lang/intercal/files/patch-aa
@@ -0,0 +1,67 @@
+--- Makefile.orig Fri Feb 27 02:33:59 1998
++++ Makefile Fri Apr 17 17:44:20 1998
+@@ -8,31 +8,31 @@
+ # all over creation behind your back.
+ # (/dev/null may be another good choice :-))
+
+-DVMT=~/WWW/intercal-0.17
+-#DVMT=/usr/local
++#DVMT=~/WWW/intercal-0.17
++DVMT=$(PREFIX)
+
+ BINDIR = $(DVMT)/bin
+-INCDIR = $(DVMT)/lib
+-LIBDIR = $(DVMT)/lib
++INCDIR = $(DVMT)/share/intercal
++LIBDIR = $(DVMT)/lib/intercal
+ #INCDIR = $(PWD)
+ #LIBDIR = $(PWD)
+
+ YDEBUG = -vlt
+-DEBUG = -g -DDEBUG
++# DEBUG = -g -DDEBUG
+ # DEBUG = -O
+-CFLAGS = -I. $(DEBUG) -DICKINCLUDEDIR=\"$(INCDIR)\" \
++CFLAGS += -I. $(DEBUG) -DICKINCLUDEDIR=\"$(INCDIR)\" \
+ -DICKLIBDIR=\"$(LIBDIR)\" -DYYDEBUG
+ LDFLAGS =
+
+-CC = gcc -Wall -W
++#CC = gcc -Wall -W
+
+ # You can use lex or flex
+-#LEX = lex
+-LEX = flex
++LEX = lex
++#LEX = flex
+
+ # You can use either yacc or bison
+-#YACC = yacc
+-YACC = bison -y
++YACC = yacc
++#YACC = bison -y
+
+ CSOURCES = ick.y lexer.l feh.c lose.c fiddle.c perpetrate.c
+ ISOURCES = cesspool.c arrgghh.c ick-wrap.c
+@@ -53,7 +53,7 @@
+ mv lex.yy.c lexer.c
+
+ # Uncomment the following if using a stock lex
+-# LEXLIBS = -ll
++LEXLIBS = -ll
+ lextest: y.tab.h lexer.c ick.h lose.o
+ $(CC) -DMAIN lexer.c lose.o $(LEXLIBS) -o lextest
+
+@@ -70,9 +70,9 @@
+ -ranlib libick.a
+
+ install: all
+- cp ick $(BINDIR)
+- cp lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR)
+- cp libick.a ../pit/lib/syslib.i ../pit/lib/syslib.?i $(LIBDIR)
++ $(BSD_INSTALL_PROGRAM) ick $(BINDIR)
++ $(BSD_INSTALL_DATA) lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR)
++ $(BSD_INSTALL_DATA) libick.a ../pit/lib/syslib.i ../pit/lib/syslib.?i $(LIBDIR)
+
+ clean:
+ rm -f yacc.* y.tab.* y.output *~ *.[oa] lexer.c ick.c lextest ick
diff --git a/lang/intercal/pkg-comment b/lang/intercal/pkg-comment
new file mode 100644
index 000000000000..9bc864caa9f4
--- /dev/null
+++ b/lang/intercal/pkg-comment
@@ -0,0 +1 @@
+The C-INTERCAL compiler, ick, and supporting libraries.
diff --git a/lang/intercal/pkg-descr b/lang/intercal/pkg-descr
new file mode 100644
index 000000000000..f488898519cd
--- /dev/null
+++ b/lang/intercal/pkg-descr
@@ -0,0 +1,7 @@
+A compiler for the INTERCAL language, which has a syntax and
+feature set differing considerably from all other programming
+languages. This is the C-INTERCAL compiler, which compiles
+INTERCAL to C, and then invokes cc as a backend, much like the
+"f2c" Fortran compiler.
+
+The INTERCAL resource page: http://sagan.earthspace.net/intercal/
diff --git a/lang/intercal/pkg-plist b/lang/intercal/pkg-plist
new file mode 100644
index 000000000000..14b95ff0729c
--- /dev/null
+++ b/lang/intercal/pkg-plist
@@ -0,0 +1,98 @@
+bin/ick
+lib/intercal/libick.a
+lib/intercal/syslib.3i
+lib/intercal/syslib.4i
+lib/intercal/syslib.5i
+lib/intercal/syslib.6i
+lib/intercal/syslib.7i
+lib/intercal/syslib.i
+share/intercal/abcess.h
+share/intercal/fiddle.h
+share/intercal/ick-wrap.c
+share/intercal/lose.h
+share/intercal/pit/CATALOG
+share/intercal/pit/Makefile
+share/intercal/pit/beer.doc
+share/intercal/pit/beer.i
+share/intercal/pit/blinkers
+share/intercal/pit/bubble.doc
+share/intercal/pit/bubble.i
+share/intercal/pit/change.doc
+share/intercal/pit/change.i
+share/intercal/pit/count.3i
+share/intercal/pit/count.doc
+share/intercal/pit/delta.fft
+share/intercal/pit/fft.doc
+share/intercal/pit/fft.i
+share/intercal/pit/flonck.doc
+share/intercal/pit/flonck.i
+share/intercal/pit/glider
+share/intercal/pit/gun
+share/intercal/pit/hail_mary.3i
+share/intercal/pit/hail_mary.doc
+share/intercal/pit/hello.i
+share/intercal/pit/icat.i
+share/intercal/pit/iching.doc
+share/intercal/pit/iching1.i
+share/intercal/pit/iching2.i
+share/intercal/pit/ins.doc
+share/intercal/pit/ins.i
+share/intercal/pit/iogerunds.doc
+share/intercal/pit/iogerunds.i
+share/intercal/pit/lib/1910.doc
+share/intercal/pit/lib/floatlib.doc
+share/intercal/pit/lib/floatlib.i
+share/intercal/pit/lib/lib2.doc
+share/intercal/pit/lib/lib2.i
+share/intercal/pit/lib/numio.doc
+share/intercal/pit/lib/numio.i
+share/intercal/pit/lib/plus.i
+share/intercal/pit/lib/syslib-orig.i
+share/intercal/pit/lib/syslib.3i
+share/intercal/pit/lib/syslib.4i
+share/intercal/pit/lib/syslib.5i
+share/intercal/pit/lib/syslib.6i
+share/intercal/pit/lib/syslib.7i
+share/intercal/pit/lib/syslib.doc
+share/intercal/pit/lib/syslib.i
+share/intercal/pit/lib/syslib3-7.doc
+share/intercal/pit/life.doc
+share/intercal/pit/life.i
+share/intercal/pit/life2.doc
+share/intercal/pit/life2.i
+share/intercal/pit/pi.doc
+share/intercal/pit/pi.i
+share/intercal/pit/pow.i
+share/intercal/pit/primes.doc
+share/intercal/pit/primes.i
+share/intercal/pit/quine.i
+share/intercal/pit/random.doc
+share/intercal/pit/random.i
+share/intercal/pit/random2.i
+share/intercal/pit/rot13.doc
+share/intercal/pit/rot13.i
+share/intercal/pit/rot13b.doc
+share/intercal/pit/rot13b.i
+share/intercal/pit/sample.i
+share/intercal/pit/sink.doc
+share/intercal/pit/sink.i
+share/intercal/pit/t_tet
+share/intercal/pit/tests/limits.3i
+share/intercal/pit/tests/limits.i
+share/intercal/pit/tests/test1.i
+share/intercal/pit/tests/test16bit.i
+share/intercal/pit/tests/test2.i
+share/intercal/pit/tests/testarray.i
+share/intercal/pit/tests/testcf.i
+share/intercal/pit/tests/testlib2.i
+share/intercal/pit/tests/testops.3i
+share/intercal/pit/tests/testops.5i
+share/intercal/pit/tests/testsplat.i
+share/intercal/pit/tophat.fft
+share/intercal/pit/yapp.doc
+share/intercal/pit/yapp.i
+@dirrm lib/intercal
+@dirrm share/intercal/pit/lib
+@dirrm share/intercal/pit/tests
+@dirrm share/intercal/pit
+@dirrm share/intercal