aboutsummaryrefslogtreecommitdiffstats
path: root/lang/dis
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2001-06-15 00:59:44 +0800
committermarkp <markp@FreeBSD.org>2001-06-15 00:59:44 +0800
commit57c53c466c4596bf13b6c269ff1028e2c2211cdc (patch)
tree10ff6c7e98f2b3cf82342aad1512cb42f21739a2 /lang/dis
parent382b603105a72be582ea958bd08bc17b04c8762a (diff)
downloadfreebsd-ports-gnome-57c53c466c4596bf13b6c269ff1028e2c2211cdc.tar.gz
freebsd-ports-gnome-57c53c466c4596bf13b6c269ff1028e2c2211cdc.tar.zst
freebsd-ports-gnome-57c53c466c4596bf13b6c269ff1028e2c2211cdc.zip
Add dis 1.0, a moderately Infernal programming language.
Cleaned up before commit. PR: 28146 Submitted by: simond@irrelevant.org
Diffstat (limited to 'lang/dis')
-rw-r--r--lang/dis/Makefile33
-rw-r--r--lang/dis/distinfo1
-rw-r--r--lang/dis/pkg-comment1
-rw-r--r--lang/dis/pkg-descr12
-rw-r--r--lang/dis/pkg-plist7
5 files changed, 54 insertions, 0 deletions
diff --git a/lang/dis/Makefile b/lang/dis/Makefile
new file mode 100644
index 000000000000..ab208c5b4e21
--- /dev/null
+++ b/lang/dis/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: dis
+# Date created: 14 June 2001
+# Whom: simond@irrelevant.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= dis
+PORTVERSION= 1.0
+CATEGORIES= lang
+MASTER_SITES= http://www.mines.edu/students/b/bolmstea/malbolge/
+DISTNAME= dis
+
+MAINTAINER= simond@irrelevant.org
+
+post-patch:
+ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/dis.c
+
+do-build:
+ ${CC} ${CFLAGS} ${WRKSRC}/dis.c -o ${WRKSRC}/dis
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dis ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/dis
+ ${INSTALL_DATA} ${WRKSRC}/dis.txt ${PREFIX}/share/doc/dis
+.endif
+ ${MKDIR} ${PREFIX}/share/examples/dis
+ ${INSTALL_DATA} ${WRKSRC}/666.dis ${PREFIX}/share/examples/dis
+ ${INSTALL_DATA} ${WRKSRC}/cat.dis ${PREFIX}/share/examples/dis
+ ${INSTALL_DATA} ${WRKSRC}/cat_expl.dis ${PREFIX}/share/examples/dis
+
+.include <bsd.port.mk>
diff --git a/lang/dis/distinfo b/lang/dis/distinfo
new file mode 100644
index 000000000000..38c8c1417c9d
--- /dev/null
+++ b/lang/dis/distinfo
@@ -0,0 +1 @@
+MD5 (dis.tar.gz) = b71153263caa50eb6a3641812010aa2e
diff --git a/lang/dis/pkg-comment b/lang/dis/pkg-comment
new file mode 100644
index 000000000000..87635d776955
--- /dev/null
+++ b/lang/dis/pkg-comment
@@ -0,0 +1 @@
+A moderately Infernal programming language
diff --git a/lang/dis/pkg-descr b/lang/dis/pkg-descr
new file mode 100644
index 000000000000..3d7dc73e73c0
--- /dev/null
+++ b/lang/dis/pkg-descr
@@ -0,0 +1,12 @@
+Unfortunately, Malbolge was created too well--it has defied current attempts
+to use it, and, no doubt, will be even worse in the future. Therefore, the
+author, in a fit of sanity, created a second language, called Dis, after
+Dante's Capital City of Hell, at the center of which is Malbolge. Dis is
+like Malbolge, but, instead of attempting to be the absolute worst
+programming language ever, simply tries to walk the fine line between
+inhumanly difficult to use and actually impossible to use.
+
+WWW: http://www.mines.edu/students/b/bolmstea/malbolge/index.html
+
+- Simon Dick
+simond@irrelevant.org
diff --git a/lang/dis/pkg-plist b/lang/dis/pkg-plist
new file mode 100644
index 000000000000..67b6a52fe542
--- /dev/null
+++ b/lang/dis/pkg-plist
@@ -0,0 +1,7 @@
+bin/dis
+share/examples/dis/666.dis
+share/examples/dis/cat.dis
+share/examples/dis/cat_expl.dis
+@dirrm share/examples/dis
+%%PORTDOCS%%share/doc/dis/dis.txt
+%%PORTDOCS%%@dirrm share/doc/dis