aboutsummaryrefslogtreecommitdiff
path: root/lang/dis
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-14 16:59:44 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-14 16:59:44 +0000
commit6b270faecd9d7dc2193ad363f354a08b4833e8b3 (patch)
treeb75169b2a19a55b678a0c935aad295f564f8f7d7 /lang/dis
parentaf5117e59eea6fb842dac0681717cd14dcd3c855 (diff)
downloadports-6b270faecd9d7dc2193ad363f354a08b4833e8b3.tar.gz
ports-6b270faecd9d7dc2193ad363f354a08b4833e8b3.zip
Notes
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