summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-14 17:13:19 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-14 17:13:19 +0000
commit75912dcabb178c94a7a07a35abebb2da40822156 (patch)
treebb444c2987713f0545e4d0d30ac05e49bb7a4806 /lang
parentAdd dis 1.0, a moderately Infernal programming language. (diff)
Add malbolge 1.0, an Infernal programming language.
Cleaned up before commit. PR: 28147 Submitted by: simond@irrelevant.org
Notes
Notes: svn path=/head/; revision=43999
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/malbolge/Makefile31
-rw-r--r--lang/malbolge/distinfo1
-rw-r--r--lang/malbolge/pkg-comment1
-rw-r--r--lang/malbolge/pkg-descr9
-rw-r--r--lang/malbolge/pkg-plist4
6 files changed, 47 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index da322bcdc5a8..418889d14675 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -64,6 +64,7 @@
SUBDIR += logo
SUBDIR += lua
SUBDIR += m3gdb
+ SUBDIR += malbolge
SUBDIR += mawk
SUBDIR += mdk
SUBDIR += mit-scheme
diff --git a/lang/malbolge/Makefile b/lang/malbolge/Makefile
new file mode 100644
index 000000000000..675c15c52164
--- /dev/null
+++ b/lang/malbolge/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: malbolge
+# Date created: 14 June 2001
+# Whom: simond@irrelevant.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= malbolge
+PORTVERSION= 1.0
+CATEGORIES= lang
+MASTER_SITES= http://www.mines.edu/students/b/bolmstea/malbolge/
+DISTNAME= malbolge
+
+MAINTAINER= simond@irrelevant.org
+
+post-patch:
+ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/malbolge.c
+
+do-build:
+ ${CC} ${CFLAGS} ${WRKSRC}/malbolge.c -o ${WRKSRC}/malbolge
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/malbolge ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/malbolge
+ ${INSTALL_DATA} ${WRKSRC}/malbolge.txt ${PREFIX}/share/doc/malbolge
+ ${INSTALL_DATA} ${WRKSRC}/malbolge.txt ${WRKSRC}/nop.mal \
+ ${PREFIX}/share/doc/malbolge
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/malbolge/distinfo b/lang/malbolge/distinfo
new file mode 100644
index 000000000000..e09f4aa9dd48
--- /dev/null
+++ b/lang/malbolge/distinfo
@@ -0,0 +1 @@
+MD5 (malbolge.tar.gz) = b7b0123a5be7611688130876da82ba82
diff --git a/lang/malbolge/pkg-comment b/lang/malbolge/pkg-comment
new file mode 100644
index 000000000000..cd616dc5c8f3
--- /dev/null
+++ b/lang/malbolge/pkg-comment
@@ -0,0 +1 @@
+An Infernal programming language
diff --git a/lang/malbolge/pkg-descr b/lang/malbolge/pkg-descr
new file mode 100644
index 000000000000..fe7ea8e69a3b
--- /dev/null
+++ b/lang/malbolge/pkg-descr
@@ -0,0 +1,9 @@
+Malbolge was truly created with the idea that programming should be hard.
+It should be as close to the Infernal as a programming language possibly
+can be. It will continue to evolve over time, as newer, more twisted minds
+attack this problem.
+
+WWW: http://www.mines.edu/students/b/bolmstea/malbolge/index.html
+
+- Simon Dick
+simond@irrelevant.org
diff --git a/lang/malbolge/pkg-plist b/lang/malbolge/pkg-plist
new file mode 100644
index 000000000000..4bc526bf7cea
--- /dev/null
+++ b/lang/malbolge/pkg-plist
@@ -0,0 +1,4 @@
+bin/malbolge
+%%PORTDOCS%%share/doc/malbolge/malbolge.txt
+%%PORTDOCS%%share/doc/malbolge/nop.mal
+%%PORTDOCS%%@dirrm share/doc/malbolge