summaryrefslogtreecommitdiffstats
path: root/lang/mdk
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-11 05:59:42 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-11 05:59:42 +0800
commit0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc (patch)
tree34dd480266d2b2ce6b486f809cae2064c1cd073e /lang/mdk
parentab6ad13ed5835fe5fba85de8cbc8d4226e0930e0 (diff)
downloadmarcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.tar
marcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.tar.gz
marcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.tar.bz2
marcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.tar.lz
marcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.tar.xz
marcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.tar.zst
marcuscom-ports-0bf7715d8a2be8d25482f66c2dd3c97ff7e67fdc.zip
Fix the build with new gtk20.
Reported by: pointyhat-exp git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9753 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'lang/mdk')
-rw-r--r--lang/mdk/Makefile39
-rw-r--r--lang/mdk/distinfo3
-rw-r--r--lang/mdk/pkg-descr22
-rw-r--r--lang/mdk/pkg-plist11
4 files changed, 75 insertions, 0 deletions
diff --git a/lang/mdk/Makefile b/lang/mdk/Makefile
new file mode 100644
index 000000000..88a39f5a9
--- /dev/null
+++ b/lang/mdk/Makefile
@@ -0,0 +1,39 @@
+# ex:ts=8
+# New ports collection makefile for: mdk
+# Date created: Apr 1, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mdk
+PORTVERSION= 1.2.1
+PORTREVISION= 1
+CATEGORIES= lang gnome
+MASTER_SITES= ${MASTER_SITE_GNU:S/$/:gnu/} \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
+MASTER_SITE_SUBDIR= ${PORTNAME}/v${PORTVERSION}/:gnu \
+ ${PORTNAME}/:sf
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:gnu \
+ ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:sf
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= A set of utilities for developing programs using MIX and MIXAL
+
+LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
+ readline.5:${PORTSDIR}/devel/readline
+
+USE_X_PREFIX= yes
+USE_GNOME= gnometarget libglade2
+USE_GETOPT_LONG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-nls
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+INFO= mdk
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/lang/mdk/distinfo b/lang/mdk/distinfo
new file mode 100644
index 000000000..614615025
--- /dev/null
+++ b/lang/mdk/distinfo
@@ -0,0 +1,3 @@
+MD5 (mdk-1.2.1.tar.gz) = 51c10c384b03016412729051091f63a7
+SHA256 (mdk-1.2.1.tar.gz) = c207a61e54a9d7777ef6666821113d55b211d1c652f13327d0cce6dfd473d3aa
+SIZE (mdk-1.2.1.tar.gz) = 1044323
diff --git a/lang/mdk/pkg-descr b/lang/mdk/pkg-descr
new file mode 100644
index 000000000..0b9e0fdab
--- /dev/null
+++ b/lang/mdk/pkg-descr
@@ -0,0 +1,22 @@
+MIX is Donald Knuth's mythical computer as described in his monumental work
+The Art Of Computer Programming. As any of its real counterparts, the MIX
+features registers, memory cells, an overflow toggle, comparison flags,
+input-output devices, and a set of binary instructions executable by its
+virtual CPU. You can programme the MIX using an assembly language called
+MIXAL, the MIX Assembly Language.
+
+The MIX Development Kit offers an emulation of MIX and MIXAL. The current
+version of MDK includes the following applications:
+
+ - mixasm A MIXAL compiler, which translates your source files into binary
+ ones, executable by the MIX virtual machine.
+ - mixvm A MIX virtual machine which is able to run and debug compiled MIXAL
+ programs, using a command line interface with readline's line editting
+ capabilities.
+ - gmixvm A MIX virtual machine with a GTK+ GUI which allows you running and
+ debugging your MIXAL programs through a nice graphical interface.
+ - mixvm.el An elisp program which allows you to run mixvm within an Emacs
+ GUD window, simultaneously viewing your MIXAL source file in another
+ buffer.
+
+WWW: http://www.gnu.org/software/mdk/mdk.html
diff --git a/lang/mdk/pkg-plist b/lang/mdk/pkg-plist
new file mode 100644
index 000000000..cca433ec4
--- /dev/null
+++ b/lang/mdk/pkg-plist
@@ -0,0 +1,11 @@
+bin/gmixvm
+bin/mixasm
+bin/mixguile
+bin/mixvm
+%%DATADIR%%/mixal-mode.el
+%%DATADIR%%/mixgtk.glade
+%%DATADIR%%/mixguile-commands.scm
+%%DATADIR%%/mixguile-vm-stat.scm
+%%DATADIR%%/mixguile.scm
+%%DATADIR%%/mixvm.el
+@dirrm %%DATADIR%%