Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2019 11:25:01 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500854 - in head/emulators: . edumips64 edumips64/files
Message-ID:  <201905051125.x45BP1rd097850@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Sun May  5 11:25:01 2019
New Revision: 500854
URL: https://svnweb.freebsd.org/changeset/ports/500854

Log:
  New port: emulators/edumips64: Free, cross-platform, educational, visual MIPS64 CPU simulator
  
  EduMIPS64 is a free (as in free speech) visual and cross-platform MIPS64
  CPU Simulator.
  
  The simulator was written in order to support Computer Architecture
  students with a free and cross-platform tool that allows them to run
  programs written in the MIPS64 assembly dialect and see how the CPU behaves
  during the execution, experimenting with various aspects of low-level
  programming that they learn throughout the course.
  
  EduMIPS64 started as a GPL Java port of WinMIPS64, a Windows-only MIPS64
  simulator, but independently evolved soon after into a stand-alone open
  source application.
  
  WWW: https://www.edumips.org/
  
  Reviewed by:	mat (previous version), tobik
  Differential Revision:	https://reviews.freebsd.org/D20143

Added:
  head/emulators/edumips64/
  head/emulators/edumips64/Makefile   (contents, props changed)
  head/emulators/edumips64/distinfo   (contents, props changed)
  head/emulators/edumips64/files/
  head/emulators/edumips64/files/edumips64.in   (contents, props changed)
  head/emulators/edumips64/pkg-descr   (contents, props changed)
Modified:
  head/emulators/Makefile

Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile	Sun May  5 11:06:40 2019	(r500853)
+++ head/emulators/Makefile	Sun May  5 11:25:01 2019	(r500854)
@@ -32,6 +32,7 @@
     SUBDIR += dynagui
     SUBDIR += dynamips-community
     SUBDIR += e-uae
+    SUBDIR += edumips64
     SUBDIR += emulationstation
     SUBDIR += fceux
     SUBDIR += fmsx

Added: head/emulators/edumips64/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/edumips64/Makefile	Sun May  5 11:25:01 2019	(r500854)
@@ -0,0 +1,48 @@
+# $FreeBSD$
+
+PORTNAME=	edumips64
+DISTVERSION=	1.2.5
+CATEGORIES=	emulators java
+MASTER_SITES=	https://github.com/lupino3/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTFILES=	${DISTNAME}.jar
+EXTRACT_ONLY=
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Free, cross-platform, educational, visual MIPS64 CPU simulator
+
+LICENSE=	GPLv2
+
+USE_JAVA=	yes
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	${JAVAJARDIR}/${JARFILE} bin/${PORTNAME}
+PORTDOCS=	${DISTNAME}-manual-en.pdf \
+		${DISTNAME}-manual-it.pdf
+
+SUB_FILES=	${PORTNAME}
+SUB_LIST=	JAVA=${JAVA} JARFILE=${JARFILE}
+
+DESKTOP_ENTRIES="EduMIPS64" "${COMMENT}" "" "${PORTNAME}" \
+		"Education;Emulator;" false
+
+OPTIONS_DEFINE=	DOCS
+DOCS_DISTFILES=	${DISTNAME}-manual-en.pdf \
+		${DISTNAME}-manual-it.pdf
+
+JARFILE=	${PORTNAME}.jar
+
+do-install:
+	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar \
+		${STAGEDIR}${JAVAJARDIR}/${JARFILE}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} \
+		${DISTDIR}/${DISTNAME}-manual-en.pdf \
+		${DISTDIR}/${DISTNAME}-manual-it.pdf \
+		${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/emulators/edumips64/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/edumips64/distinfo	Sun May  5 11:25:01 2019	(r500854)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1556991938
+SHA256 (edumips64-1.2.5.jar) = 39b678a7960babb24dec099aa48d685f074e5d431189e4550bf1f4e489e41b3b
+SIZE (edumips64-1.2.5.jar) = 1409951
+SHA256 (edumips64-1.2.5-manual-en.pdf) = 036a3e4735a0b8627f67f3210d3cb57b24d9ead89d494008327f1534a453af3f
+SIZE (edumips64-1.2.5-manual-en.pdf) = 174302
+SHA256 (edumips64-1.2.5-manual-it.pdf) = 3dce8209143fefe0a08f2aea1970612da7fc50cb96cff172ed8ff83eaefc4e74
+SIZE (edumips64-1.2.5-manual-it.pdf) = 180608

Added: head/emulators/edumips64/files/edumips64.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/edumips64/files/edumips64.in	Sun May  5 11:25:01 2019	(r500854)
@@ -0,0 +1,4 @@
+#! /bin/sh -
+# $FreeBSD$
+
+exec "%%JAVA%%" -jar %%JAVAJARDIR%%/%%JARFILE%% "$@"

Added: head/emulators/edumips64/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/edumips64/pkg-descr	Sun May  5 11:25:01 2019	(r500854)
@@ -0,0 +1,14 @@
+EduMIPS64 is a free (as in free speech) visual and cross-platform MIPS64 CPU
+Simulator.
+
+The simulator was written in order to support Computer Architecture students
+with a free and cross-platform tool that allows them to run programs written
+in the MIPS64 assembly dialect and see how the CPU behaves during the
+execution, experimenting with various aspects of low-level programming
+that they learn throughout the course.
+
+EduMIPS64 started as a GPL Java port of WinMIPS64, a Windows-only MIPS64
+simulator, but independently evolved soon after into a stand-alone
+open source application.
+
+WWW: https://www.edumips.org/



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