most recent changes, diff for simh
Index: emulators/simh/Portfile
--- emulators/simh/Portfile (revision 37840)
+++ emulators/simh/Portfile (revision 37841)
@@ -3,7 +3,7 @@
PortSystem 1.0
name simh
-version v37-3
+version v38-0
categories emulators
platforms darwin
maintainers gwright@macports.org
@@ -20,7 +20,16 @@
homepage http://simh.trailing-edge.com
master_sites http://simh.trailing-edge.com/sources/
-checksums md5 370305b11e3516d3416cbb78aedf1050
+
+checksums md5 d4bf6b7708e1f429e1e9b3c9e3e93b24 \
+ sha1 e1afbebede7dc4b2e0f7b13fca3ee6aa8d34f9c1 \
+ rmd160 f1986d45f9b17a905957d1dca4eaa70098a7cae6
+
+patchfiles patch-vax780_defs.h.diff \
+ patch-vaxmod_defs.h.diff \
+ patch-vax_cpu.c.diff \
+ patch-sim_defs.h.diff
+
use_zip yes
distname ${name}${version}
worksrcdir .
@@ -31,13 +40,20 @@
depends_lib port:libpcap
build.target "USE_NETWORK=1 all"
+build {
+# system "export OSTYPE"
+ system "cd ${worksrcpath} && OSTYPE=darwin make USE_NETWORK=1 all"
+}
+
post-extract {
- reinplace "s|-lrt||g" ${worksrcpath}/makefile
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/makefile
}
destroot {
- set binaries [ exec ls ${worksrcpath}/BIN ]
+ set binaries {altair altairz80 eclipse gri h316 hp2100
+ i1401 i1620 i7094 ibm1130 id16 id32 lgp
+ nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7
+ pdp8 pdp9 s3 sds vax vax780 }
foreach binary $binaries {
system "install -c -m 755 ${worksrcpath}/BIN/${binary} ${destroot}${prefix}/bin/simh-${binary}"
}