Page MenuHomeFreeBSD

New port: emulators/edumips64: Free, cross-platform, educational, visual MIPS64 CPU simulator
ClosedPublic

Authored by 0mp on May 2 2019, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 5:08 PM
Unknown Object (File)
Sun, Nov 17, 5:06 PM
Unknown Object (File)
Sun, Nov 17, 5:06 PM
Unknown Object (File)
Sun, Nov 17, 5:06 PM
Unknown Object (File)
Sun, Nov 17, 3:02 PM
Unknown Object (File)
Oct 31 2024, 5:28 PM
Unknown Object (File)
Oct 25 2024, 11:44 PM
Unknown Object (File)
Oct 25 2024, 11:44 PM

Details

Summary
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/
Test Plan
  • portlint
  • testport on 11.2 i386
  • manual testing on 13.0 amd64; the port runs just fine

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tobik added inline comments.
emulators/edumips64/Makefile
8–9 ↗(On Diff #56969)

Nitpick: The manuals are only installed with DOCS=on, so should be behind DOCS_DISTFILES.

18 ↗(On Diff #56969)

No point in settings this. JAVA_RUN=jre is the default.

28 ↗(On Diff #56969)

JAVAJARDIR is already in SUB_LIST by default.

37 ↗(On Diff #56969)

${STAGEDIR}${PREFIX}

41 ↗(On Diff #56969)

While not all maintainers really do it, the PHB says to use INSTALL_MAN here.

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html

The two ${INSTALL_*} can be combined into one call.

emulators/edumips64/files/pkg-message.in
1–7 ↗(On Diff #56969)

Is this message really needed? It does not tell me much. That edumips64 is startable with edumips64 is kind of expected and there does not appear to be anything special to configure after installation.

The port should install a .desktop file (e.g. via DESKTOP_ENTRIES) for users to start it from their desktops. Especially since this appears to have a GUI.

emulators/edumips64/Makefile
7–9 ↗(On Diff #56969)

${PORTNAME}-${DISTVERSION} is ${DISTNAME}.

  • Move documents to DOCS_DISTFILES
  • Remove redundant JAVA_RUN=jre
  • Clean up SUB_LIST
  • Use INSTALL_MAN
  • Remove pkg-message and add a .desktop file
  • Use ${DISTNAME} where appropriate
  • Fix typos
0mp marked 6 inline comments as done.May 4 2019, 5:52 PM
This revision is now accepted and ready to land.May 4 2019, 6:49 PM
This revision was automatically updated to reflect the committed changes.