View | Details | Raw Unified | Return to bug 218151
Collapse All | Expand All

(-)./Makefile (-6 / +13 lines)
Lines 3-12 Link Here
3
3
4
PORTNAME=	simh
4
PORTNAME=	simh
5
PORTVERSION=	3.9.0
5
PORTVERSION=	3.9.0
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	emulators
7
CATEGORIES=	emulators
8
MASTER_SITES=	http://simh.trailing-edge.com/sources/
8
MASTER_SITES=	http://simh.trailing-edge.com/sources/:src \
9
		http://www.ml1.org.uk/distfiles/:pdf \
10
		http://www.ancientgeek.org.uk/distfiles/:pdf
9
DISTNAME=	${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E}
11
DISTNAME=	${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E}
12
DISTFILES=	${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E}.zip:src \
13
		${PORTNAME}_docpdf.zip:pdf
10
14
11
MAINTAINER=	bob@eager.cx
15
MAINTAINER=	bob@eager.cx
12
COMMENT=	Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others
16
COMMENT=	Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others
Lines 20-28 Link Here
20
MAKE_ENV=	GCC="${CC}" CFLAGS_O="${CFLAGS}" USE_NETWORK=1
24
MAKE_ENV=	GCC="${CC}" CFLAGS_O="${CFLAGS}" USE_NETWORK=1
21
MAKEFILE=	makefile
25
MAKEFILE=	makefile
22
26
23
SUB_FILES=	pkg-message
27
SUB_FILES=	pkg-message simh.1
24
28
25
PORTDOCS=	0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt
29
READMES=	0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt
30
PORTDOCS=	${READMES} pdf/*
26
31
27
OPTIONS_DEFINE=	DOCS
32
OPTIONS_DEFINE=	DOCS
28
33
Lines 44-52 Link Here
44
	${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin
49
	${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin
45
	@${MKDIR} ${STAGEDIR}${DATADIR}
50
	@${MKDIR} ${STAGEDIR}${DATADIR}
46
	${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${STAGEDIR}${DATADIR}
51
	${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${STAGEDIR}${DATADIR}
52
	${INSTALL_MAN} ${WRKDIR}/simh.1 ${STAGEDIR}${PREFIX}/man/man1
47
53
48
do-install-DOCS-on:
54
do-install-DOCS-on:
49
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
55
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf
50
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
56
	(cd ${WRKSRC} && ${INSTALL_DATA} ${READMES} ${STAGEDIR}${DOCSDIR})
57
	(cd ${WRKSRC} && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR})
51
58
52
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)./distinfo (+3 lines)
Lines 1-2 Link Here
1
TIMESTAMP = 1490544722
1
SHA256 (simhv39-0.zip) = e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
2
SHA256 (simhv39-0.zip) = e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
2
SIZE (simhv39-0.zip) = 3103657
3
SIZE (simhv39-0.zip) = 3103657
4
SHA256 (simh_docpdf.zip) = dff83e9a55f5e8bc2364489d6cc2a6731c60237acf37f4c46f080914896f8a0c
5
SIZE (simh_docpdf.zip) = 2282195
(-)./files/pkg-message.in (-1 / +5 lines)
Lines 1-5 Link Here
1
*********************************************************************
1
*********************************************************************
2
2
3
The file needed by the VAX emulator is located in %%DATADIR%%
3
The 'eclipse' emulator has been renamed to 'simh-eclipse'.
4
5
The file needed by the VAX emulator is located in:
6
7
	%%DATADIR%%
4
8
5
*********************************************************************
9
*********************************************************************
(-)./files/simh.1.in (+110 lines)
Line 0 Link Here
1
.Dd March 26, 2017
2
.Os
3
.Dt SIMH 1 CON
4
.Sh NAME
5
.Nm simh
6
.Nd Simulation suite for various computer systems
7
.Sh SYNOPSIS
8
.Nm
9
.Op Fl e
10
.Op Fl q
11
.Op Fl v
12
.Oo
13
.Ar startup-file
14
.Op Ar arguments
15
.Oc
16
.Sh DESCRIPTION
17
.Nm
18
is a comprehensive suite of simulators for a number of legacy computer systems.
19
.Pp
20
Note that there is no actual
21
.Nm
22
command; each simulator is invoked with its own command.
23
Currently, the
24
available commands are:
25
.Bd -ragged -offset indent
26
.Sy altair ,
27
.Sy altairz80 ,
28
.Sy gri ,
29
.Sy h316 ,
30
.Sy hp2100 ,
31
.Sy i1401 ,
32
.Sy i1620 ,
33
.Sy i7094 ,
34
.Sy ibm1130 ,
35
.Sy id16 ,
36
.Sy id32 ,
37
.Sy lgp ,
38
.Sy nova ,
39
.Sy pdp1 ,
40
.Sy pdp10 ,
41
.Sy pdp11 ,
42
.Sy pdp15 ,
43
.Sy pdp4 ,
44
.Sy pdp7 ,
45
.Sy pdp8 ,
46
.Sy pdp9 ,
47
.Sy s3 ,
48
.Sy sds ,
49
.Sy simh-eclipse ,
50
.Sy swtp6800mp-a ,
51
.Sy swtp6800mp-a2 ,
52
.Sy vax ,
53
.Sy vax780 .
54
.Ed
55
.Pp
56
The following options are available for all of the commands:
57
.Bl -tag
58
.It Fl e
59
Processing of
60
.Ar startup-file
61
(including nested command invocations) is aborted if
62
a command error is encountered.
63
.It Fl q
64
Certain informational messages are suppressed.
65
.It Fl v
66
The commands in
67
.Ar startup-file
68
are echoed before they are executed.
69
.El
70
.Pp
71
If
72
.Ar startup-file
73
is specified, it is used as an initial source of simulator commands.
74
If
75
.Ar startup-file
76
is not specified,
77
the simulator looks for a startup file consisting of the simulator
78
name (including its path components) plus the extension
79
.Pa .ini .
80
.Pp
81
If a startup file is specified, either on the
82
command line or implicitly via the
83
.Pa .ini
84
capability, it should contain a series of non-interactive simulator
85
commands, one per line.
86
These commands can be used to set up standard parameters, for example disk
87
sizes.
88
.Pp
89
After initializing its internal structures and processing the startup file (if any),
90
the simulator types out its name and version and then prompts for input with:
91
.Bd -ragged -offset indent
92
.Sy sim>
93
.Ed
94
.Sh ENVIRONMENT
95
No environment variables are used.
96
.Sh DIAGNOSTICS
97
Usually self explanatory.
98
.Sh EXIT STATUS
99
.Nm
100
exits 0 on success, and >0 if an error occurs.
101
.Sh SEE ALSO
102
.Pp
103
Documentation is available for each of the simulators. There is
104
also generic simulator documentation. It can be found locally in
105
.Pa %%DOCSDIR%%
106
(if installed), and also at
107
.Pa http://simh.trailing-edge.com/pdf/all_docs.html .
108
.Sh AUTHORS
109
.An "Robert M. Supnik and many others" .
110
.Fx "port maintenance, and this manual page, by" An "Bob Eager" Aq bob@eager.cx .
(-)./pkg-descr (-2 / +1 lines)
Lines 14-20 Link Here
14
 - Scientific Data Systems SDS 940
14
 - Scientific Data Systems SDS 940
15
15
16
These simulators are capable of running the Unix V5, V6 and V7 binaries
16
These simulators are capable of running the Unix V5, V6 and V7 binaries
17
licenced for non-commercial use by SCO.  See ${WRKDIR}/simh_doc.txt for
17
licenced for non-commercial use by SCO.  See documentation for further details.
18
further details.
19
18
20
WWW: http://simh.trailing-edge.com
19
WWW: http://simh.trailing-edge.com
(-)./pkg-plist (+1 lines)
Lines 26-29 Link Here
26
bin/swtp6800mp-a2
26
bin/swtp6800mp-a2
27
bin/vax
27
bin/vax
28
bin/vax780
28
bin/vax780
29
man/man1/simh.1.gz
29
%%DATADIR%%/ka655x.bin
30
%%DATADIR%%/ka655x.bin

Return to bug 218151