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

Last change on this file since 15185 was 15185, checked in by gwright, 15 years ago

Version bump to v35-1.
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.7 2005/11/27 13:21:12 gwright Exp $
2
3PortSystem 1.0
4
5name            simh
6version         v35-1
7categories      emulators
8platforms       darwin
9maintainers     darwinports@opendarwin.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 ead371c802d6a7feba99031bf55895fe
24use_zip         yes
25distname        ${name}${version}
26worksrcdir      .
27configure       {}
28
29pre-build {
30                file mkdir ${worksrcpath}/BIN
31}
32
33variant network {
34                depends_lib     port:libpcap
35                build.target    "USE_NETWORK=1 all"
36
37                post-extract    {
38                                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/makefile
39                }
40}
41
42destroot {
43                set binaries [ exec ls ${worksrcpath}/BIN ]
44                foreach binary $binaries {
45                        system "install -c -m 755 ${worksrcpath}/BIN/${binary} ${destroot}${prefix}/bin/simh-${binary}"
46
47                xinstall -d -m 755 ${destroot}${prefix}/share/simh/VAX
48                xinstall -c -m 644 ${worksrcpath}/VAX/ka655.bin  ${destroot}${prefix}/share/simh/VAX
49                xinstall -c -m 644 ${worksrcpath}/VAX/ka655x.bin ${destroot}${prefix}/share/simh/VAX
50                }
51}
52
Note: See TracBrowser for help on using the repository browser.