source: trunk/dports/emulators/simh/Portfile @ 28726

Last change on this file since 28726 was 28726, checked in by gwright@…, 13 years ago

Version bump to v37-3.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 28726 2007-09-08 03:01:05Z gwright@macports.org $
2
3PortSystem 1.0
4
5name            simh
6version         v37-3
7categories      emulators
8platforms       darwin
9maintainers     gwright@macports.org
10description     A highly portable, multi-system simulator.
11long_description        \
12                The Computer History Simulation Project is a loose      \
13                Internet-based collective of people interested in       \
14                restoring historically significant computer hardware    \
15                and software systems by simulation. The goal of the     \
16                project is to create highly portable system simulators  \
17                and to publish them as freeware on the Internet,        \
18                with freely available copies of significant or          \
19                representative software.
20
21homepage        http://simh.trailing-edge.com
22master_sites    http://simh.trailing-edge.com/sources/
23checksums       md5 370305b11e3516d3416cbb78aedf1050
24use_zip         yes
25distname        ${name}${version}
26worksrcdir      .
27configure       {}
28
29pre-build       { file mkdir ${worksrcpath}/BIN }
30
31depends_lib     port:libpcap
32build.target    "USE_NETWORK=1 all"
33
34post-extract    {
35                reinplace "s|-lrt||g" ${worksrcpath}/makefile
36                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/makefile
37}
38
39destroot {
40                set binaries [ exec ls ${worksrcpath}/BIN ]
41                foreach binary $binaries {
42                        system "install -c -m 755 ${worksrcpath}/BIN/${binary} ${destroot}${prefix}/bin/simh-${binary}"
43                }
44
45                xinstall -d -m 755 ${destroot}${prefix}/share/simh/VAX
46                xinstall -c -m 644 ${worksrcpath}/VAX/ka655x.bin ${destroot}${prefix}/share/simh/VAX
47}
48
Note: See TracBrowser for help on using the repository browser.