svn commit: r438141 - in head/emulators/simh: . files
Alex Kozlov
ak at FreeBSD.org
Mon Apr 10 10:26:51 UTC 2017
Author: ak
Date: Mon Apr 10 10:26:49 2017
New Revision: 438141
URL: https://svnweb.freebsd.org/changeset/ports/438141
Log:
- Add a number of PDF files containing comprehensive documentation [1]
- Add manual page [1]
- Stop mangling binary files with dos2unix [2]
PR: 218151 [1]
PR: 218405 [2]
Submitted by: bob at eager.cx (maintainer) [1]
Submitted by: Brad Sliger <code at sliger.org> [2]
Approved by: bob at eager.cx (maintainer) [2]
Added:
head/emulators/simh/files/simh.1.in (contents, props changed)
Modified:
head/emulators/simh/Makefile
head/emulators/simh/distinfo
head/emulators/simh/files/pkg-message.in
head/emulators/simh/pkg-descr
head/emulators/simh/pkg-plist
Modified: head/emulators/simh/Makefile
==============================================================================
--- head/emulators/simh/Makefile Mon Apr 10 10:15:42 2017 (r438140)
+++ head/emulators/simh/Makefile Mon Apr 10 10:26:49 2017 (r438141)
@@ -3,10 +3,14 @@
PORTNAME= simh
PORTVERSION= 3.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
-MASTER_SITES= http://simh.trailing-edge.com/sources/
+MASTER_SITES= http://simh.trailing-edge.com/sources/:src \
+ http://www.ml1.org.uk/distfiles/:pdf \
+ http://www.ancientgeek.org.uk/distfiles/:pdf
DISTNAME= ${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E}
+DISTFILES= ${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E}.zip:src \
+ ${PORTNAME}_docpdf.zip:pdf
MAINTAINER= bob at eager.cx
COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others
@@ -16,13 +20,15 @@ LICENSE= BSD3CLAUSE
NO_WRKSUBDIR= yes
USES= gmake dos2unix zip
+DOS2UNIX_GLOB= *.c *.h *.txt *.mak *.ini makefile
CFLAGS+= -Wno-format-extra-args -Wno-comment -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses
MAKE_ENV= GCC="${CC}" CFLAGS_O="${CFLAGS}" USE_NETWORK=1
MAKEFILE= makefile
-SUB_FILES= pkg-message
+SUB_FILES= pkg-message simh.1
-PORTDOCS= 0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt
+READMES= 0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt
+PORTDOCS= ${READMES} pdf/*
OPTIONS_DEFINE= DOCS
@@ -44,9 +50,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKDIR}/simh.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${READMES} ${STAGEDIR}${DOCSDIR})
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
Modified: head/emulators/simh/distinfo
==============================================================================
--- head/emulators/simh/distinfo Mon Apr 10 10:15:42 2017 (r438140)
+++ head/emulators/simh/distinfo Mon Apr 10 10:26:49 2017 (r438141)
@@ -1,2 +1,5 @@
+TIMESTAMP = 1490544722
SHA256 (simhv39-0.zip) = e49b259b66ad6311ca9066dee3d3693cd915106a6938a52ed685cdbada8eda3b
SIZE (simhv39-0.zip) = 3103657
+SHA256 (simh_docpdf.zip) = dff83e9a55f5e8bc2364489d6cc2a6731c60237acf37f4c46f080914896f8a0c
+SIZE (simh_docpdf.zip) = 2282195
Modified: head/emulators/simh/files/pkg-message.in
==============================================================================
--- head/emulators/simh/files/pkg-message.in Mon Apr 10 10:15:42 2017 (r438140)
+++ head/emulators/simh/files/pkg-message.in Mon Apr 10 10:26:49 2017 (r438141)
@@ -1,5 +1,9 @@
*********************************************************************
-The file needed by the VAX emulator is located in %%DATADIR%%
+The 'eclipse' emulator has been renamed to 'simh-eclipse'.
+
+The file needed by the VAX emulator is located in:
+
+ %%DATADIR%%
*********************************************************************
Added: head/emulators/simh/files/simh.1.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh/files/simh.1.in Mon Apr 10 10:26:49 2017 (r438141)
@@ -0,0 +1,105 @@
+.Dd March 26, 2017
+.Dt SIMH 1 CON
+.Os
+.Sh NAME
+.Nm simh
+.Nd Simulation suite for various computer systems
+.Sh SYNOPSIS
+.Nm
+.Op Fl e
+.Op Fl q
+.Op Fl v
+.Oo
+.Ar startup-file
+.Op Ar arguments
+.Oc
+.Sh DESCRIPTION
+.Nm
+is a comprehensive suite of simulators for a number of legacy computer systems.
+.Pp
+Note that there is no actual
+.Nm
+command; each simulator is invoked with its own command.
+Currently, the
+available commands are:
+.Bd -ragged -offset indent
+.Sy altair ,
+.Sy altairz80 ,
+.Sy gri ,
+.Sy h316 ,
+.Sy hp2100 ,
+.Sy i1401 ,
+.Sy i1620 ,
+.Sy i7094 ,
+.Sy ibm1130 ,
+.Sy id16 ,
+.Sy id32 ,
+.Sy lgp ,
+.Sy nova ,
+.Sy pdp1 ,
+.Sy pdp10 ,
+.Sy pdp11 ,
+.Sy pdp15 ,
+.Sy pdp4 ,
+.Sy pdp7 ,
+.Sy pdp8 ,
+.Sy pdp9 ,
+.Sy s3 ,
+.Sy sds ,
+.Sy simh-eclipse ,
+.Sy swtp6800mp-a ,
+.Sy swtp6800mp-a2 ,
+.Sy vax ,
+.Sy vax780 .
+.Ed
+.Pp
+The following options are available for all of the commands:
+.Bl -tag -width indent
+.It Fl e
+Processing of
+.Ar startup-file
+(including nested command invocations) is aborted if
+a command error is encountered.
+.It Fl q
+Certain informational messages are suppressed.
+.It Fl v
+The commands in
+.Ar startup-file
+are echoed before they are executed.
+.El
+.Pp
+If
+.Ar startup-file
+is specified, it is used as an initial source of simulator commands.
+If
+.Ar startup-file
+is not specified,
+the simulator looks for a startup file consisting of the simulator
+name (including its path components) plus the extension
+.Pa .ini .
+.Pp
+If a startup file is specified, either on the
+command line or implicitly via the
+.Pa .ini
+capability, it should contain a series of non-interactive simulator
+commands, one per line.
+These commands can be used to set up standard parameters, for example disk
+sizes.
+.Pp
+After initializing its internal structures and processing the startup file (if any),
+the simulator types out its name and version and then prompts for input with:
+.Bd -ragged -offset indent
+.Sy sim>
+.Ed
+.Sh EXIT STATUS
+.Nm
+exits 0 on success, and >0 if an error occurs.
+.Sh SEE ALSO
+Documentation is available for each of the simulators. There is
+also generic simulator documentation. It can be found locally in
+.Pa %%DOCSDIR%%
+(if installed), and also at
+.Pa http://simh.trailing-edge.com/pdf/all_docs.html .
+.Sh AUTHORS
+.An "Robert M. Supnik and many others" .
+.Fx "port maintenance, and this manual page, by" An "Bob Eager" Aq bob at eager.cx .
Modified: head/emulators/simh/pkg-descr
==============================================================================
--- head/emulators/simh/pkg-descr Mon Apr 10 10:15:42 2017 (r438140)
+++ head/emulators/simh/pkg-descr Mon Apr 10 10:26:49 2017 (r438141)
@@ -14,7 +14,6 @@ SIMH implements simulators for:
- Scientific Data Systems SDS 940
These simulators are capable of running the Unix V5, V6 and V7 binaries
-licenced for non-commercial use by SCO. See ${WRKDIR}/simh_doc.txt for
-further details.
+licenced for non-commercial use by SCO. See documentation for further details.
WWW: http://simh.trailing-edge.com
Modified: head/emulators/simh/pkg-plist
==============================================================================
--- head/emulators/simh/pkg-plist Mon Apr 10 10:15:42 2017 (r438140)
+++ head/emulators/simh/pkg-plist Mon Apr 10 10:26:49 2017 (r438141)
@@ -26,4 +26,5 @@ bin/swtp6800mp-a
bin/swtp6800mp-a2
bin/vax
bin/vax780
+man/man1/simh.1.gz
%%DATADIR%%/ka655x.bin
More information about the svn-ports-all
mailing list