From owner-svn-ports-all@freebsd.org Sat Jun 13 20:50:43 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 009C3342C94; Sat, 13 Jun 2020 20:50:43 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49kqVp5H8yz4TMf; Sat, 13 Jun 2020 20:50:42 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B037A2102F; Sat, 13 Jun 2020 20:50:42 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05DKogVO042677; Sat, 13 Jun 2020 20:50:42 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05DKofq5042667; Sat, 13 Jun 2020 20:50:41 GMT (envelope-from pi@FreeBSD.org) Message-Id: <202006132050.05DKofq5042667@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 13 Jun 2020 20:50:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538699 - in head/emulators: . simh-hp2100 simh-hp2100/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/emulators: . simh-hp2100 simh-hp2100/files X-SVN-Commit-Revision: 538699 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 20:50:43 -0000 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 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@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 + +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 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@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