svn commit: r538699 - in head/emulators: . simh-hp2100 simh-hp2100/files
Kurt Jaeger
pi at FreeBSD.org
Sat Jun 13 20:50:43 UTC 2020
Author: pi
Date: Sat Jun 13 20:50:40 2020
New Revision: 538699
URL: https://svnweb.freebsd.org/changeset/ports/538699
Log:
New port: emulators/simh-hp2100: HP 2100 series emulator
hp2100 is a simulator for the HP 2116/15/14, 2100, and 1000 M/E/F-Series
machines (hereafter referred collectively as the HP 2100 simulator). A
large variety of CPU options, device interface cards, and peripherals
are provided.
WWW: http://simh.trailing-edge.com/hp/
PR: 246237
Submitted by: Bob Eager <bob at eager.cx>
Added:
head/emulators/simh-hp2100/
head/emulators/simh-hp2100/Makefile (contents, props changed)
head/emulators/simh-hp2100/distinfo (contents, props changed)
head/emulators/simh-hp2100/files/
head/emulators/simh-hp2100/files/LICENSE (contents, props changed)
head/emulators/simh-hp2100/files/hp2100.1.in (contents, props changed)
head/emulators/simh-hp2100/pkg-descr (contents, props changed)
head/emulators/simh-hp2100/pkg-plist (contents, props changed)
Modified:
head/emulators/Makefile
Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile Sat Jun 13 20:34:55 2020 (r538698)
+++ head/emulators/Makefile Sat Jun 13 20:50:40 2020 (r538699)
@@ -124,6 +124,7 @@
SUBDIR += rtc
SUBDIR += rubygem-fission
SUBDIR += simh
+ SUBDIR += simh-hp2100
SUBDIR += simh-hpdoc
SUBDIR += skyeye
SUBDIR += snes9x-gtk
Added: head/emulators/simh-hp2100/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh-hp2100/Makefile Sat Jun 13 20:50:40 2020 (r538699)
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME= hp2100
+DISTVERSION= 3.11-0.29
+CATEGORIES= emulators
+MASTER_SITES= http://simh.trailing-edge.com/hp/releases/:src \
+ http://simh.trailing-edge.com/hp/docs/:app \
+ http://www.ml1.org.uk/distfiles/:src \
+ http://www.ml1.org.uk/distfiles/:app
+PKGNAMEPREFIX= simh-
+DISTFILES= HP2100-source-release-${DISTVERSION:E}.zip:src
+DIST_SUBDIR= simh-hp
+EXTRACT_ONLY= HP2100-source-release-${DISTVERSION:E}.zip
+
+MAINTAINER= bob at eager.cx
+COMMENT= Emulates classic HP 2100 computers
+
+LICENSE= SIMHv1
+LICENSE_NAME= SIMH License
+LICENSE_FILE= ${FILESDIR}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+RUN_DEPENDS= ${LOCALBASE}/share/doc/hpdoc/simh_doc.pdf:emulators/simh-hpdoc
+
+USES= gmake dos2unix zip
+
+NO_WRKSUBDIR= yes
+
+CONFLICTS_INSTALL= simh-3.[789]*
+DOS2UNIX_GLOB= *.c *.h *.txt *.mak makefile
+
+SUB_FILES= hp2100.1
+
+.include <bsd.port.pre.mk>
+
+do-build:
+ (cd ${WRKSRC}; GCC=clang ${GMAKE} -C SCP hp2100)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/hp2100 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKDIR}/hp2100.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/SCP/doc/*.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/SCP/doc/hp2100_guide.pdf ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.post.mk>
Added: head/emulators/simh-hp2100/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh-hp2100/distinfo Sat Jun 13 20:50:40 2020 (r538699)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1582463933
+SHA256 (simh-hp/HP2100-source-release-29.zip) = e381eb51cdbea84a729fe0fa45001b7a864adcbf97438af0c788696b0c18c0bf
+SIZE (simh-hp/HP2100-source-release-29.zip) = 1890682
+SHA256 (simh-hp/running_hp_2000_tsb.pdf) = 905f8748d38b60a2f128961126086268f5f1485d625572333fee418beec85300
+SIZE (simh-hp/running_hp_2000_tsb.pdf) = 111280
+SHA256 (simh-hp/hp_1000_io_simulation.pdf) = 64a523a8237ed6143614c1b0747f5aa933b8e77e2cf5daf9fe62a3845aea8dc8
+SIZE (simh-hp/hp_1000_io_simulation.pdf) = 272289
Added: head/emulators/simh-hp2100/files/LICENSE
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh-hp2100/files/LICENSE Sat Jun 13 20:50:40 2020 (r538699)
@@ -0,0 +1,23 @@
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject
+to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the names of the authors shall not
+be used in advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization from the
+authors.
Added: head/emulators/simh-hp2100/files/hp2100.1.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh-hp2100/files/hp2100.1.in Sat Jun 13 20:50:40 2020 (r538699)
@@ -0,0 +1,72 @@
+.Dd February 23, 2020
+.Dt HP2100 1 CON
+.Os
+.Sh NAME
+.Nm hp2100
+.Nd Simulator for HP 21xx/1000 series computers
+.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 simulator for the HP 2116/15/14, 2100, and 1000 M/E/F-Series
+machines (hereafter referred collectively as the HP 2100 simulator). A
+large variety of CPU options, device interface cards, and peripherals
+are provided.
+.Pp
+The following options are available:
+.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, default locations are searched. See the
+.Em SIMH User's Supplement
+for more details.
+.Pp
+If a startup file is specified, either on the
+command line or otherwise,
+it should contain a series of non-interactive simulator
+commands, one per line.
+These commands can be used to set up standard parameters.
+.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; it can be found locally in
+.Pa %%DOCSDIR%%
+(if installed), and also at
+.Pa http://simh.trailing-edge.com/hp/#Documentation .
+.Sh SEE ALSO
+.Xr hp3000 1 ,
+.Xr hpdoc 1 .
+.Sh AUTHORS
+.An "J. David Bryan, Robert M. Supnik and others" .
+.Fx "port maintenance, and this manual page, by"
+.An "Bob Eager" Aq bob at eager.cx .
Added: head/emulators/simh-hp2100/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh-hp2100/pkg-descr Sat Jun 13 20:50:40 2020 (r538699)
@@ -0,0 +1,6 @@
+hp2100 is a simulator for the HP 2116/15/14, 2100, and 1000 M/E/F-Series
+machines (hereafter referred collectively as the HP 2100 simulator). A
+large variety of CPU options, device interface cards, and peripherals
+are provided.
+
+WWW: http://simh.trailing-edge.com/hp/
Added: head/emulators/simh-hp2100/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/simh-hp2100/pkg-plist Sat Jun 13 20:50:40 2020 (r538699)
@@ -0,0 +1,6 @@
+bin/hp2100
+man/man1/hp2100.1.gz
+%%DOCSDIR%%/hp2100_bugfixes.txt
+%%DOCSDIR%%/hp2100_diag.txt
+%%DOCSDIR%%/hp2100_guide.pdf
+%%DOCSDIR%%/hp2100_release.txt
More information about the svn-ports-head
mailing list