Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile +++ head/emulators/Makefile @@ -32,6 +32,7 @@ SUBDIR += dynagui SUBDIR += dynamips-community SUBDIR += e-uae + SUBDIR += edumips64 SUBDIR += emulationstation SUBDIR += fceux SUBDIR += fmsx Index: head/emulators/edumips64/Makefile =================================================================== --- head/emulators/edumips64/Makefile +++ head/emulators/edumips64/Makefile @@ -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 Index: head/emulators/edumips64/distinfo =================================================================== --- head/emulators/edumips64/distinfo +++ head/emulators/edumips64/distinfo @@ -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 Index: head/emulators/edumips64/files/edumips64.in =================================================================== --- head/emulators/edumips64/files/edumips64.in +++ head/emulators/edumips64/files/edumips64.in @@ -0,0 +1,4 @@ +#! /bin/sh - +# $FreeBSD$ + +exec "%%JAVA%%" -jar %%JAVAJARDIR%%/%%JARFILE%% "$@" Index: head/emulators/edumips64/pkg-descr =================================================================== --- head/emulators/edumips64/pkg-descr +++ head/emulators/edumips64/pkg-descr @@ -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/