summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/intercal/Makefile15
-rw-r--r--lang/intercal/files/md53
-rw-r--r--lang/intercal/files/patch-sum4
-rw-r--r--lang/intercal/patches/patch-aa18
-rw-r--r--lang/intercal/patches/patch-ab63
-rw-r--r--lang/intercal/pkg/COMMENT1
-rw-r--r--lang/intercal/pkg/DESCR15
-rw-r--r--lang/intercal/pkg/PLIST56
8 files changed, 175 insertions, 0 deletions
diff --git a/lang/intercal/Makefile b/lang/intercal/Makefile
new file mode 100644
index 00000000000..13185787398
--- /dev/null
+++ b/lang/intercal/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/22 16:53:16 wiz Exp $
+#
+
+DISTNAME= intercal-0.20
+CATEGORIES= lang
+MASTER_SITES= http://www.tuxedo.org/~esr/intercal/
+
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://www.tuxedo.org/~esr/intercal/
+
+MAKE_ENV+= PREFIX="${PREFIX}" MKDIR="${MKDIR}"
+MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
+MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/intercal/files/md5 b/lang/intercal/files/md5
new file mode 100644
index 00000000000..e97d424945f
--- /dev/null
+++ b/lang/intercal/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/22 16:53:16 wiz Exp $
+
+MD5 (intercal-0.20.tar.gz) = 7ac506a2e12e8fc5f21e594e871864d1
diff --git a/lang/intercal/files/patch-sum b/lang/intercal/files/patch-sum
new file mode 100644
index 00000000000..933a57d259e
--- /dev/null
+++ b/lang/intercal/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/11/22 16:53:16 wiz Exp $
+
+MD5 (patch-aa) = 53097a17ec1304b9d91185d4cd2ecf2c
+MD5 (patch-ab) = 4d5273f02f3cccde276d60bf12dda5bb
diff --git a/lang/intercal/patches/patch-aa b/lang/intercal/patches/patch-aa
new file mode 100644
index 00000000000..c0b5fccec58
--- /dev/null
+++ b/lang/intercal/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/22 16:53:16 wiz Exp $
+
+--- Makefile.orig Wed Sep 15 21:28:34 1999
++++ Makefile Wed Nov 22 16:54:08 2000
+@@ -3,6 +3,13 @@
+ #
+ VERSION=0.20
+
++all:
++ cd src && ${MAKE}
++install:
++ ${MKDIR} ${PREFIX}/share/doc/intercal
++ ${INSTALL_DATA} NEWS READ.ME ${PREFIX}/share/doc/intercal
++ cd src && ${MAKE} install
++
+ dist: intercal-$(VERSION).tar.gz
+
+ intercal-$(VERSION).tar.gz:
diff --git a/lang/intercal/patches/patch-ab b/lang/intercal/patches/patch-ab
new file mode 100644
index 00000000000..7f1ef9fd4f1
--- /dev/null
+++ b/lang/intercal/patches/patch-ab
@@ -0,0 +1,63 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/11/22 16:53:16 wiz Exp $
+
+--- src/Makefile.orig Fri Dec 18 05:49:09 1998
++++ src/Makefile Wed Nov 22 17:37:20 2000
+@@ -8,11 +8,12 @@
+ # all over creation behind your back.
+ # (/dev/null may be another good choice :-))
+
+-BINDIR = /usr/bin
+-INCDIR = /usr/include/intercal
+-LIBDIR = /usr/share/intercal
+-#INCDIR = $(PWD)
+-#LIBDIR = $(PWD)
++BINDIR = $(PREFIX)/bin
++INCDIR = $(PREFIX)/include/intercal
++LIBDIR = $(PREFIX)/lib/intercal
++EGDIR = ${PREFIX}/share/examples/intercal
++#INCDIR = .
++#LIBDIR = .
+
+ YDEBUG = -vlt
+ DEBUG = -g -DDEBUG
+@@ -32,11 +33,12 @@
+ CC = gcc -Wall -W
+
+ # You can use lex or flex
+-#LEX = lex
+-LEX = flex
++LEX = lex
++#LEX = flex
+
+ # You should use bison, because some yaccs won't work correctly
+-YACC = bison -y
++#YACC = bison -y
++YACC = yacc
+
+ CSOURCES = ick.y lexer.l feh.c lose.c fiddle.c perpetrate.c
+ ISOURCES = cesspool.c arrgghh.c ick-wrap.c
+@@ -74,14 +76,16 @@
+ -ranlib libick.a
+
+ install: all
+- cp ick $(BINDIR)
+- -mkdir $(INCDIR)
+- cp lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR)
+- -mkdir $(LIBDIR)
+- cp libick.a $(LIBDIR)
+- (cd ../pit; cp *.i *.3i t_tet *.fft glider gun blinkers $(LIBDIR))
+- -mkdir $(LIBDIR)/lib
+- (cd ../pit/lib; cp *.*i $(LIBDIR)/lib)
++ ${INSTALL_PROGRAM} ick ${BINDIR}
++ ${MKDIR} ${INCDIR}
++ ${INSTALL_DATA} lose.h abcess.h fiddle.h ick-wrap.c ${INCDIR}
++ ${MKDIR} ${LIBDIR}
++ ${INSTALL_DATA} libick.a ${LIBDIR}
++ cd ../pit/lib && \
++ ${INSTALL_DATA} *.*i ${LIBDIR}
++ ${MKDIR} ${EGDIR}
++ cd ../pit && \
++ ${INSTALL_DATA} *.i *.3i t_tet *.fft glider gun blinkers ${EGDIR}
+
+ 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 00000000000..5ae3154ed49
--- /dev/null
+++ b/lang/intercal/pkg/COMMENT
@@ -0,0 +1 @@
+the ultimate language for obfuscation and job security
diff --git a/lang/intercal/pkg/DESCR b/lang/intercal/pkg/DESCR
new file mode 100644
index 00000000000..227cc306380
--- /dev/null
+++ b/lang/intercal/pkg/DESCR
@@ -0,0 +1,15 @@
+INTERCAL. The language designed to be Turing-complete but as
+fundamentally unlike any existing language as possible. Expressions
+that look like line noise. Control constracts that will make you gasp,
+make you laugh, and possibly make you hurl. Data structures? We don't
+need no steenking data structures!
+
+INTERCAL. Designed very early one May morning in 1972 by two hackers
+who are still trying to live it down. Initially implemented on an IBM
+360 running batch SPITBOL. Described by a manual that circulated for
+years after the short life of the first implementation, reducing
+strong men to tears (of laughter). Revived in 1990 by the C-INTERCAL
+compiler, and now the center of an international community of
+technomasochists.
+
+INTERCAL. Now you, too, can be a part of the madness.
diff --git a/lang/intercal/pkg/PLIST b/lang/intercal/pkg/PLIST
new file mode 100644
index 00000000000..9037b518976
--- /dev/null
+++ b/lang/intercal/pkg/PLIST
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/22 16:53:16 wiz Exp $
+bin/ick
+include/intercal/abcess.h
+include/intercal/fiddle.h
+include/intercal/ick-wrap.c
+include/intercal/lose.h
+lib/intercal/libick.a
+share/doc/intercal/NEWS
+share/doc/intercal/READ.ME
+share/examples/intercal/beer.i
+share/examples/intercal/blinkers
+share/examples/intercal/bubble.i
+share/examples/intercal/change.i
+share/examples/intercal/count.3i
+share/examples/intercal/delta.fft
+share/examples/intercal/fft.i
+share/examples/intercal/flonck.i
+share/examples/intercal/glider
+share/examples/intercal/gun
+share/examples/intercal/hail_mary.3i
+share/examples/intercal/hello.i
+share/examples/intercal/icat.i
+share/examples/intercal/iching1.i
+share/examples/intercal/iching2.i
+share/examples/intercal/ins.i
+share/examples/intercal/iogerunds.i
+share/examples/intercal/life.i
+share/examples/intercal/life2.i
+share/examples/intercal/pi.i
+share/examples/intercal/pow.i
+share/examples/intercal/primes.i
+share/examples/intercal/quine.i
+share/examples/intercal/random.i
+share/examples/intercal/random2.i
+share/examples/intercal/rot13.i
+share/examples/intercal/rot13b.i
+share/examples/intercal/sample.i
+share/examples/intercal/sink.i
+share/examples/intercal/t_tet
+share/examples/intercal/tophat.fft
+share/examples/intercal/yapp.i
+lib/intercal/floatlib.i
+lib/intercal/lib2.i
+lib/intercal/numio.i
+lib/intercal/plus.i
+lib/intercal/syslib-orig.i
+lib/intercal/syslib.3i
+lib/intercal/syslib.4i
+lib/intercal/syslib.5i
+lib/intercal/syslib.6i
+lib/intercal/syslib.7i
+lib/intercal/syslib.i
+@dirrm lib/intercal
+@dirrm share/examples/intercal
+@dirrm share/doc/intercal
+@dirrm include/intercal