lang/mdk: Update to 1.3.0 and take maintainership

Submitted by:	kfv@kfv.io
Approved by:	lwhsu
Differential Revision:	https://reviews.freebsd.org/D28688
This commit is contained in:
Guangyuan Yang 2021-02-22 01:24:35 +00:00
parent 274a3bc074
commit e1fe3f149c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566260
4 changed files with 27 additions and 36 deletions

View file

@ -2,32 +2,26 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= mdk PORTNAME= mdk
PORTVERSION= 1.2.10 PORTVERSION= 1.3.0
PORTREVISION= 2
CATEGORIES= lang gnome CATEGORIES= lang gnome
MASTER_SITES= GNU/${PORTNAME}/v${PORTVERSION} MASTER_SITES= GNU/${PORTNAME}/v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= kfv@kfv.io
COMMENT= Utilities for developing programs using MIX and MIXAL COMMENT= Utilities for developing programs using MIX and MIXAL
LICENSE= GPLv3 LICENSE= GPLv3
USES= gettext gmake gnome ncurses pkgconfig readline:port USES= gettext gmake gnome ncurses pkgconfig readline:port
USE_GNOME= glib20 intltool USE_GNOME= glib20 gtk30 intltool
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
TEST_TARGET= check TEST_TARGET= check
INFO= mdk INFO= mdk
OPTIONS_DEFINE= GLADE GUILE NLS OPTIONS_DEFINE= GUILE NLS
OPTIONS_DEFAULT=GLADE GUILE OPTIONS_DEFAULT=GUILE
OPTIONS_SUB= yes OPTIONS_SUB= yes
GLADE_CONFIGURE_ENABLE= gui
GLADE_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
GLADE_USE= GNOME=cairo,gdkpixbuf2,libglade2
GUILE_CONFIGURE_WITH= guile GUILE_CONFIGURE_WITH= guile
GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2 \ GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2 \
libgc-threaded.so:devel/boehm-gc-threaded libgc-threaded.so:devel/boehm-gc-threaded
@ -38,9 +32,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure ${WRKSRC}/configure
post-patch-GLADE-on:
# Fix path in command for default external editor
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \
${WRKSRC}/mixgtk/Makefile.in
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1546975575 TIMESTAMP = 1613399722
SHA256 (mdk-1.2.10.tar.gz) = b0f4323a607a3346769499b00fdd6d4748af5a61dd8a24511867ef5d96c08ce7 SHA256 (mdk-1.3.0.tar.gz) = 8b1e5dd7f47b738cb966ef717be92a501494d9ba6d87038f09e8fa29101b132e
SIZE (mdk-1.2.10.tar.gz) = 1175425 SIZE (mdk-1.3.0.tar.gz) = 1184722

View file

@ -1,21 +1,23 @@
MIX is Donald Knuth's mythical computer as described in his monumental work 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 The Art of Computer Programming. As any of its real counterparts, the MIX
features registers, memory cells, an overflow toggle, comparison flags, features registers, memory cells, an overflow toggle, comparison flags,
input-output devices, and a set of binary instructions executable by its input-output devices, and a set of binary instructions executable by its virtual
virtual CPU. You can programme the MIX using an assembly language called CPU. You can program the MIX using an assembly language called MIXAL, the MIX
MIXAL, the MIX Assembly Language. Assembly Language.
The MIX Development Kit offers an emulation of MIX and MIXAL. The current MDK (MIX Development Kit) offers an emulation of MIX and MIXAL. The current
version of MDK includes the following applications: version MDK includes the following applications:
- mixasm A MIXAL compiler, which translates your source files into binary - mixasm: A MIXAL compiler, which translates your source files into binary
ones, executable by the MIX virtual machine. ones, executable by the MIX virtual machine.
- mixvm A MIX virtual machine which is able to run and debug compiled MIXAL - 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 programs, using a command line interface with readline's line editting
capabilities. capabilities.
- gmixvm A MIX virtual machine with a GTK+ GUI which allows you running and - gmixvm: A MIX virtual machine with a GTK+ GUI which allows you running and
debugging your MIXAL programs through a nice graphical interface. debugging your MIXAL programs through a nice graphical interface.
- mixvm.el An elisp program which allows you to run mixvm within an Emacs - mixguile: A Guile interpreter with an embedded MIX virtual machine,
manipulable through a library of Scheme functions.
- mixvm.el: An elisp program which allows you to run mixvm within an Emacs
GUD window, simultaneously viewing your MIXAL source file in another GUD window, simultaneously viewing your MIXAL source file in another
buffer. buffer.

View file

@ -1,11 +1,11 @@
%%GLADE%%bin/gmixvm bin/gmixvm
bin/mixasm bin/mixasm
%%GUILE%%bin/mixguile bin/mixguile
bin/mixvm bin/mixvm
%%NLS%%share/locale/de/LC_MESSAGES/mdk.mo share/locale/de/LC_MESSAGES/mdk.mo
%%DATADIR%%/mixal-mode.el %%DATADIR%%/mixal-mode.el
%%GLADE%%%%DATADIR%%/mixgtk.glade %%DATADIR%%/mixgtk.glade
%%GUILE%%%%DATADIR%%/mixguile-commands.scm %%DATADIR%%/mixguile-commands.scm
%%GUILE%%%%DATADIR%%/mixguile-vm-stat.scm %%DATADIR%%/mixguile-vm-stat.scm
%%GUILE%%%%DATADIR%%/mixguile.scm %%DATADIR%%/mixguile.scm
%%DATADIR%%/mixvm.el %%DATADIR%%/mixvm.el