blob: 21ee37867c33212e3fa9a2477454368d3378de89 (
plain) (
blame)
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
|
PORTNAME= javatari
PORTVERSION= 4.1
PORTREVISION= 1
CATEGORIES= emulators java
MASTER_SITES= http://javatari.org/old/java/files/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= danilo@FreeBSD.org
COMMENT= Multiplayer Atari 2600 emulator written in pure Java
WWW= https://javatari.org
LICENSE= AGPLv3
EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip
USE_JAVA= yes
NO_BUILD= yes
PLIST_FILES= %%JAVAJARDIR%%/${DISTNAME}${EXTRACT_SUFX} \
bin/javatari
SUB_FILES= javatari
SUB_LIST+= JARFILE="${JARFILE}"
JARFILE= ${DISTNAME}${EXTRACT_SUFX}
DESKTOP_ENTRIES= "Javatari" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
"Game;" false
PLIST_FILES+= share/pixmaps/${PORTNAME}.png
post-extract:
@(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -d ${WRKDIR} ${JARFILE} \
org/javatari/pc/screen/images/LogoIcon32.png)
do-install:
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/javatari ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/org/javatari/pc/screen/images/LogoIcon32.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>
|