source: trunk/dports/lang/mdk/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem        1.0
4
5name              mdk
6version           1.2.3
7categories        lang
8maintainers       gmail.com:aconchillo
9platforms         darwin
10description       A set of utilities for developing programs using MIX and \
11                  MIXAL
12long_description  MDK stands for MIX Development Kit, and provides \
13                  tools for developing and executing, in a MIX virtual \
14                  machine, MIXAL programs. \
15                  \
16                  The MIX is Donald Knuth's mythical computer, \
17                  described in the first volume of The Art of Computer \
18                  Programming, which is programmed using MIXAL, the MIX \
19                  assembly language. \
20                  \
21                  MDK includes a MIXAL assembler (mixasm) and a MIX \
22                  virtual machine (mixvm) with a command line \
23                  interface. In addition, a GTK+ GUI to mixvm, called \
24                  gmixvm, and a Guile interpreter with an embedded MIX \
25                  virtual machine called mixguile, are provided. \
26                  \
27                  Using these interfaces, you can debug your MIXAL \
28                  programs at source code level, and read/modify the \
29                  contents of all the components of the MIX computer \
30                  (including block devices, which are simulated using \
31                  the file system).
32homepage          http://www.gnu.org/software/mdk/mdk.html
33master_sites      gnu:mdk/v${version}/
34checksums         md5 1c74ec62c847792706be412289c8152b
35
36depends_build     path:bin/pkg-config:pkgconfig \
37                  port:automake
38
39depends_lib       port:guile \
40                  port:glib2 \
41                  port:gmp \
42                  port:bison \
43                  port:gettext \
44                  port:libiconv \
45                  port:readline \
46                  port:ncurses \
47                  port:libtool \
48                  port:intltool
49
50patchfiles        patch-lib-Makefile.am \
51                  patch-lib-foo.c \
52                  patch-mixlib-xmix_vm.c
53
54configure.cflags-append "-I${prefix}/include"
55configure.args    --disable-gui \
56                  --mandir=${prefix}/share/man \
57                  --infodir=${prefix}/share/info
58
59build.type        gnu
60use_automake      yes
61use_autoconf      yes
62
63post-extract {
64             system "touch ${worksrcpath}/lib/foo.c"
65             system "cd ${worksrcpath} && aclocal -I m4"
66}
67
68variant gui {
69   configure.args-delete  --disable-gui
70   depends_lib-append     port:gtk2 \
71                          port:libglade2
72
73   patchfiles-append patch-mixgtk-Makefile.am
74}
75
Note: See TracBrowser for help on using the repository browser.