2013-09-29 15:45:23 +02:00
|
|
|
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
|
2013-05-02 01:27:09 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= javatari
|
2014-04-12 16:56:10 +02:00
|
|
|
PORTVERSION= 4.1
|
2013-05-02 01:27:09 +02:00
|
|
|
CATEGORIES= emulators java
|
2015-05-26 20:29:48 +02:00
|
|
|
MASTER_SITES= http://javatari.org/java/files/
|
2014-04-12 16:56:10 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
|
2013-05-02 01:27:09 +02:00
|
|
|
EXTRACT_SUFX= .jar
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
2013-09-29 15:45:23 +02:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2013-05-02 01:27:09 +02:00
|
|
|
COMMENT= Multiplayer Atari 2600 emulator written in pure Java
|
|
|
|
|
2013-12-05 20:13:14 +01:00
|
|
|
LICENSE= AGPLv3
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip
|
2013-05-02 01:27:09 +02:00
|
|
|
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.6+
|
|
|
|
NO_BUILD= yes
|
2013-05-16 21:46:52 +02:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${DISTNAME}${EXTRACT_SUFX} \
|
2013-12-19 15:43:27 +01:00
|
|
|
bin/javatari
|
2013-05-02 01:27:09 +02:00
|
|
|
SUB_FILES= javatari
|
|
|
|
SUB_LIST+= JARFILE="${JARFILE}"
|
2013-05-16 21:46:52 +02:00
|
|
|
JARFILE= ${DISTNAME}${EXTRACT_SUFX}
|
2013-05-02 01:27:09 +02:00
|
|
|
|
2013-12-05 20:13:14 +01:00
|
|
|
DESKTOP_ENTRIES= "Javatari" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
|
2014-04-12 16:56:10 +02:00
|
|
|
"Game;" false
|
2013-05-02 01:27:09 +02:00
|
|
|
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:
|
2013-09-29 15:45:23 +02:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/javatari ${STAGEDIR}${PREFIX}/bin
|
2013-05-02 01:27:09 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/org/javatari/pc/screen/images/LogoIcon32.png \
|
2013-09-29 15:45:23 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
2013-05-02 01:27:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|