60abafcb0c
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
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# $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>
|