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

Last change on this file since 57453 was 57453, checked in by ryandesign@…, 10 years ago

Remove autoconf, automake and libtool build dependencies from ports using
"use_autoconf yes", "use_automake yes" or "use_autoreconf yes" because
MacPorts 1.8 adds these build dependencies automatically when needed.
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 57453 2009-09-11 08:17:15Z ryandesign@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
38depends_lib       port:guile \
39                  port:glib2 \
40                  port:gmp \
41                  port:bison \
42                  port:gettext \
43                  port:libiconv \
44                  port:readline \
45                  port:ncurses \
46                  port:libtool \
47                  port:intltool
48
49patchfiles        patch-lib-Makefile.am \
50                  patch-lib-foo.c \
51                  patch-mixlib-xmix_vm.c
52
53configure.cflags-append "-I${prefix}/include"
54configure.args    --disable-gui \
55                  --mandir=${prefix}/share/man \
56                  --infodir=${prefix}/share/info
57
58build.type        gnu
59use_automake      yes
60use_autoconf      yes
61
62post-extract {
63             system "touch ${worksrcpath}/lib/foo.c"
64             system "cd ${worksrcpath} && aclocal -I m4"
65}
66
67variant gui {
68   configure.args-delete  --disable-gui
69   depends_lib-append     port:gtk2 \
70                          port:libglade2
71
72   patchfiles-append patch-mixgtk-Makefile.am
73}
74
Note: See TracBrowser for help on using the repository browser.