Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2020 20:53:15 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538700 - in head/emulators: . simh-hp3000 simh-hp3000/files
Message-ID:  <202006132053.05DKrFJl048349@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Jun 13 20:53:15 2020
New Revision: 538700
URL: https://svnweb.freebsd.org/changeset/ports/538700

Log:
  New port: emulators/simh-hp3000: HP 3000 series emulator
  
  hp3000 is a simulator for the classic SIO machines. This group consists
  of the 3000 CX, the Series I, Series II, and the HP 3000 Series III that
  is simulated here. A large variety of CPU options, device interface
  cards, and peripherals are provided.
  
  WWW: http://simh.trailing-edge.com/hp/
  
  PR:		246238
  Submitted by:	Bob Eager <bob@eager.cx>

Added:
  head/emulators/simh-hp3000/
  head/emulators/simh-hp3000/Makefile   (contents, props changed)
  head/emulators/simh-hp3000/distinfo   (contents, props changed)
  head/emulators/simh-hp3000/files/
  head/emulators/simh-hp3000/files/LICENSE   (contents, props changed)
  head/emulators/simh-hp3000/files/hp3000.1.in   (contents, props changed)
  head/emulators/simh-hp3000/pkg-descr   (contents, props changed)
  head/emulators/simh-hp3000/pkg-plist   (contents, props changed)
Modified:
  head/emulators/Makefile

Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile	Sat Jun 13 20:50:40 2020	(r538699)
+++ head/emulators/Makefile	Sat Jun 13 20:53:15 2020	(r538700)
@@ -125,6 +125,7 @@
     SUBDIR += rubygem-fission
     SUBDIR += simh
     SUBDIR += simh-hp2100
+    SUBDIR += simh-hp3000
     SUBDIR += simh-hpdoc
     SUBDIR += skyeye
     SUBDIR += snes9x-gtk

Added: head/emulators/simh-hp3000/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/simh-hp3000/Makefile	Sat Jun 13 20:53:15 2020	(r538700)
@@ -0,0 +1,46 @@
+# $FreeBSD$
+
+PORTNAME=	hp3000
+DISTVERSION=	3.11-0.8
+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=	HP3000-source-release-${DISTVERSION:E}.zip:src
+DIST_SUBDIR=	simh-hp
+EXTRACT_ONLY=	HP3000-source-release-${DISTVERSION:E}.zip
+
+MAINTAINER=	bob@eager.cx
+COMMENT=	Emulates classic HP 3000 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=	hp3000.1
+
+.include <bsd.port.pre.mk>
+
+do-build:
+	(cd ${WRKSRC}; GCC=clang ${GMAKE} -C SCP hp3000)
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/hp3000 ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKDIR}/hp3000.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/SCP/doc/*.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/SCP/doc/hp3000_guide.pdf ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.post.mk>

Added: head/emulators/simh-hp3000/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/simh-hp3000/distinfo	Sat Jun 13 20:53:15 2020	(r538700)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1582502963
+SHA256 (simh-hp/HP3000-source-release-8.zip) = 2c003841b8c189299d45253520fd687694687c0a023aae9c79650234948b5a66
+SIZE (simh-hp/HP3000-source-release-8.zip) = 1412655

Added: head/emulators/simh-hp3000/files/LICENSE
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/simh-hp3000/files/LICENSE	Sat Jun 13 20:53:15 2020	(r538700)
@@ -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-hp3000/files/hp3000.1.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/simh-hp3000/files/hp3000.1.in	Sat Jun 13 20:53:15 2020	(r538700)
@@ -0,0 +1,72 @@
+.Dd February 23, 2020
+.Dt HP3000 1 CON
+.Os
+.Sh NAME
+.Nm hp3000
+.Nd Simulator for HP 3000 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 classic SIO machines. This group consists of the
+3000 CX, the Series I, Series II, and the HP 3000 Series III that is
+simulated here. 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 hp2100 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@eager.cx .

Added: head/emulators/simh-hp3000/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/simh-hp3000/pkg-descr	Sat Jun 13 20:53:15 2020	(r538700)
@@ -0,0 +1,6 @@
+hp3000 is a simulator for the classic SIO machines. This group consists
+of the 3000 CX, the Series I, Series II, and the HP 3000 Series III that
+is simulated here. A large variety of CPU options, device interface
+cards, and peripherals are provided.
+
+WWW: http://simh.trailing-edge.com/hp/

Added: head/emulators/simh-hp3000/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/simh-hp3000/pkg-plist	Sat Jun 13 20:53:15 2020	(r538700)
@@ -0,0 +1,5 @@
+bin/hp3000
+man/man1/hp3000.1.gz
+%%DOCSDIR%%/hp3000_diag.txt
+%%DOCSDIR%%/hp3000_guide.pdf
+%%DOCSDIR%%/hp3000_release.txt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006132053.05DKrFJl048349>