blob: b13716a0e548962059f119472b8507576e53ddd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
PORTNAME= edumips64
DISTVERSION= 1.2.9
CATEGORIES= emulators education java
MASTER_SITES= https://github.com/lupino3/${PORTNAME}/releases/download/v${DISTVERSION}/
EXTRACT_SUFX= .jar
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Free, cross-platform, educational, visual MIPS64 CPU simulator
LICENSE= GPLv2
USE_JAVA= yes
JAVA_VERSION= 11+
DESKTOP_ENTRIES= "EduMIPS64" \
"${COMMENT}" \
"" \
"${PORTNAME}" \
"Education;Emulator;" \
false
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # none
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= ${PORTNAME}
SUB_LIST= JARFILE=${_JARFILE} \
JAVA=${JAVA}
NO_WRKSUBDIR= yes
PLIST_FILES= ${JAVAJARDIR}/${_JARFILE} \
bin/${PORTNAME}
PORTDOCS= ${DOCS_DISTFILES}
OPTIONS_DEFINE= DOCS
DOCS_DISTFILES= ${DISTNAME}-en.pdf \
${DISTNAME}-it.pdf
_JARFILE= ${PORTNAME}.jar
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
${STAGEDIR}${JAVAJARDIR}/${_JARFILE}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS_DISTFILES} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|