From nobody Thu Sep 21 07:42:42 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RrnS22Pm8z4tjLr; Thu, 21 Sep 2023 07:42:42 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrnS21tfjz4Fw6; Thu, 21 Sep 2023 07:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695282162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iUtauIqsRruJGLdu4VeSvwez+F/k32+P3iTM474jWWw=; b=a2X6m11x46dbhOJ9d6KMX0TsWNDn6Cto+RW8jJ4RTVSfg3Xt7tABtFlV/Fm5BuflOBhXkH OWpBwya/bA6P2kHAhqDhNybKXh2UytNfwipEIBAcwWhptoYIv/0UQwsCMqGjPtHWwRndJM NEtU9ARifDesVzkkbLH34UE8OduR4Xy0Zdjo7GRqOpW3UFp/67EJ3uiYed/vNLu18hnrjj TmCR+j1RNebr8m2WwYKj3uO1brESbFHytDw4/iyGKaOWV5ssatQwLn7vWLCOxU7YOp+2AB BRQbrpvaBUtmOH+SQbBHW7JKub7H1snFbfhaAxljqexCFk3He6s0gg9cHTRYPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695282162; a=rsa-sha256; cv=none; b=TOUoxsfBQmDAsn+EzfeOAf+lu8+qnnr+1ODpEdjglX3EgZT4XzvK3+8iqVJM05VTyfsdpB mdsbKtVw1Z0NtGurVTFex0cSJ85yF9Txu/HtzZGULU9HeKg/FZOmcjdj5J7Msnmtmn/mTI pL1j4M67Dt47jErFkYcyHM9ixddzDUE5RwsfK6fDfLf159YYh0wdiYUU298bJBksFg5oRw KMrG0fHQjrxfUAuA8B5SD+0CbTBbaStxoX5QGrnU7VcIonZP/nzj3DgbVtFAy6qApSVT9g MG5PvdDvGfYWQltnY701B40Qw5TE+qzGyI1+uYckcME7UYFb51DFSUprtsQzZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695282162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iUtauIqsRruJGLdu4VeSvwez+F/k32+P3iTM474jWWw=; b=FGhxSgeXdoSz4jcthmAcmUdxlIRXi/9ybKwksyWkuwjOIurJurdgt6vDC3fWWxizxarwTT IX86Q+3BH6vfrFSoY4Q7KIzV0eNawbQ03DK6TdUvUBJUfUrvmFi89STAVKrHFu9gLE+f0e YzcN3aLXKWAER7SjsPYzL03HGEWy9oHiSGVXkmZT1JPNLYWKDDlDnzEN2UnQOrE1ZP8RDN lqvNZFPPp3zut9LVUvTIlwHkrUR5oYKDxH3cher0X753AtgX/tzJ2F9oOyVskRb9b4zWAo 6kL7HEvmO6cHB2F/B9fIMJjRKY9cNzeHfUwfOFDHjMmxs4y5rKqHXJr187HdgA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RrnS20yPszWG1; Thu, 21 Sep 2023 07:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38L7ggrt024096; Thu, 21 Sep 2023 07:42:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38L7gg7v024094; Thu, 21 Sep 2023 07:42:42 GMT (envelope-from git) Date: Thu, 21 Sep 2023 07:42:42 GMT Message-Id: <202309210742.38L7gg7v024094@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kevin Bowling Subject: git: 7e5d33afc501 - main - emulators/open-simh: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7e5d33afc501e9b8f944500cd208dcb3bdb7afae Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e5d33afc501e9b8f944500cd208dcb3bdb7afae commit 7e5d33afc501e9b8f944500cd208dcb3bdb7afae Author: Kevin Bowling AuthorDate: 2023-09-21 07:27:09 +0000 Commit: Kevin Bowling CommitDate: 2023-09-21 07:42:35 +0000 emulators/open-simh: New port --- emulators/Makefile | 1 + emulators/open-simh/Makefile | 52 +++++++++++++++++++++++ emulators/open-simh/distinfo | 3 ++ emulators/open-simh/files/pkg-message | 16 ++++++++ emulators/open-simh/pkg-descr | 12 ++++++ emulators/open-simh/pkg-plist | 77 +++++++++++++++++++++++++++++++++++ 6 files changed, 161 insertions(+) diff --git a/emulators/Makefile b/emulators/Makefile index b60e5f88483d..5854d0feb7b6 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -95,6 +95,7 @@ SUBDIR += nestopia SUBDIR += o2em SUBDIR += ods2reader + SUBDIR += open-simh SUBDIR += open-vm-tools SUBDIR += openmsx SUBDIR += p5-Acme-6502 diff --git a/emulators/open-simh/Makefile b/emulators/open-simh/Makefile new file mode 100644 index 000000000000..17bcbb249034 --- /dev/null +++ b/emulators/open-simh/Makefile @@ -0,0 +1,52 @@ +PORTNAME= open-simh +PORTVERSION= 4.1.0.20230920 +CATEGORIES= emulators + +MAINTAINER= kbowling@FreeBSD.org +COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others +WWW= https://opensimh.org/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu +LIB_DEPENDS= libpcre.so:devel/pcre \ + libpng16.so:graphics/png +RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu + +USES= dos2unix gmake libedit sdl +DOS2UNIX_GLOB= *.c *.h *.ini *.mak *.txt makefile + +USE_GITHUB= yes + +GH_ACCOUNT= open-simh +GH_PROJECT= simh +GH_TAGNAME= d4f85d01bdf7301d5f7a2c4e51c3a84024561b26 + +USE_SDL= sdl2 ttf2 + +MAKEFILE= makefile +MAKE_ENV= CFLAGS_O="${CFLAGS}" \ + FONTPATH="${PREFIX}/share/fonts/dejavu" \ + GCC="${CC}" \ + TESTS=0 \ + WARNINGS=ALLOWED + +CONFLICTS_INSTALL= simh simh-hp2100 simh-hp3000 + +.include + +post-extract: + @${MKDIR} ${WRKSRC}/BIN + +post-build: +# eclipse, gri and nova conflict with other ports, prefix with simh- + @${MV} ${WRKSRC}/BIN/eclipse ${WRKSRC}/BIN/simh-eclipse + @${MV} ${WRKSRC}/BIN/gri ${WRKSRC}/BIN/simh-gri + @${MV} ${WRKSRC}/BIN/nova ${WRKSRC}/BIN/simh-nova + +do-install: + @${RM} -rf ${WRKSRC}/BIN/buildtools + ${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/emulators/open-simh/distinfo b/emulators/open-simh/distinfo new file mode 100644 index 000000000000..639efebe6b54 --- /dev/null +++ b/emulators/open-simh/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1695274105 +SHA256 (open-simh-simh-4.1.0.20230920-d4f85d01bdf7301d5f7a2c4e51c3a84024561b26_GH0.tar.gz) = da2fcf7b37d9804ccc8bae6787573d624ba5347ae5fa4ab2cec6141aebeef159 +SIZE (open-simh-simh-4.1.0.20230920-d4f85d01bdf7301d5f7a2c4e51c3a84024561b26_GH0.tar.gz) = 31243456 diff --git a/emulators/open-simh/files/pkg-message b/emulators/open-simh/files/pkg-message new file mode 100644 index 000000000000..cb174d722b4d --- /dev/null +++ b/emulators/open-simh/files/pkg-message @@ -0,0 +1,16 @@ +[ +{ type: install + message: <