You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
e870fe8667
In preparation for changing the default.
66 lines
2.3 KiB
Tcl
66 lines
2.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup simh simh 3.9-0 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 1
|
|
checksums rmd160 a464e7d1fc6d58dd23a3ef623c3c018d5d60b050 \
|
|
sha256 e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b \
|
|
size 3103657
|
|
|
|
categories emulators
|
|
maintainers nomaintainer
|
|
# MIT license with an added no-advertising clause
|
|
license Permissive GPLConflict
|
|
|
|
description A highly portable, multi-system simulator.
|
|
|
|
long_description The Computer History Simulation Project is a loose \
|
|
Internet-based collective of people interested in \
|
|
restoring historically significant computer hardware and \
|
|
software systems by simulation. The goal of the project is \
|
|
to create highly portable system simulators and to publish \
|
|
them as freeware on the Internet, with freely available \
|
|
copies of significant or representative software.
|
|
|
|
homepage http://simh.trailing-edge.com
|
|
|
|
# These lines are expected to go away once releases occur on GitHub
|
|
master_sites http://simh.trailing-edge.com/sources/
|
|
use_zip yes
|
|
distname ${name}v[string map {. {}} ${version}]
|
|
extract.mkdir yes
|
|
|
|
depends_lib port:libpcap
|
|
|
|
post-patch {
|
|
reinplace -E -locale C "s|/usr(/lib/libpcap.A.dylib)|${prefix}\\1|g" ${worksrcpath}/sim_ether.c
|
|
}
|
|
|
|
use_configure no
|
|
|
|
set bindir ${worksrcpath}/BIN
|
|
|
|
pre-build {
|
|
file mkdir ${bindir}
|
|
}
|
|
|
|
build.args GCC="${configure.cc} [get_canonical_archflags]" \
|
|
INCPATH="${prefix}/include" \
|
|
LIBPATH="${prefix}/lib" \
|
|
USE_NETWORK=1
|
|
|
|
destroot {
|
|
foreach binary [glob -tails -directory ${bindir} *] {
|
|
xinstall -c -m 755 ${bindir}/${binary} ${destroot}${prefix}/bin/simh-${binary}
|
|
}
|
|
|
|
xinstall -d -m 755 ${destroot}${prefix}/share/simh/VAX
|
|
xinstall -c -m 644 ${worksrcpath}/VAX/ka655x.bin ${destroot}${prefix}/share/simh/VAX
|
|
}
|
|
|
|
github.livecheck.regex {([0-9.-]+)}
|