svn commit: r317067 - in head/emulators: . javatari javatari/files

Bryan Drewery bdrewery at FreeBSD.org
Wed May 1 23:27:10 UTC 2013


Author: bdrewery
Date: Wed May  1 23:27:09 2013
New Revision: 317067
URL: http://svnweb.freebsd.org/changeset/ports/317067

Log:
  A multiplayer Atari 2600 emulator written in pure Java.
  No external libs.
  
  WWW: http://javatari.org
  
  PR:		ports/178248
  Submitted by:	Danilo Egea Gondolfo <danilogondolfo at gmail.com>

Added:
  head/emulators/javatari/
  head/emulators/javatari/Makefile   (contents, props changed)
  head/emulators/javatari/distinfo   (contents, props changed)
  head/emulators/javatari/files/
  head/emulators/javatari/files/javatari.in   (contents, props changed)
  head/emulators/javatari/pkg-descr   (contents, props changed)
Modified:
  head/emulators/Makefile

Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile	Wed May  1 23:23:51 2013	(r317066)
+++ head/emulators/Makefile	Wed May  1 23:27:09 2013	(r317067)
@@ -62,6 +62,7 @@
     SUBDIR += ia64sim
     SUBDIR += ines
     SUBDIR += its
+    SUBDIR += javatari
     SUBDIR += joytran
     SUBDIR += jzintv
     SUBDIR += kcemu

Added: head/emulators/javatari/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/javatari/Makefile	Wed May  1 23:27:09 2013	(r317067)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME=	javatari
+PORTVERSION=	3.20
+CATEGORIES=	emulators java
+MASTER_SITES=	http://javatari.org/files/
+DISTNAME=	${PORTNAME}320
+EXTRACT_SUFX=	.jar
+EXTRACT_ONLY=
+
+MAINTAINER=	danilogondolfo at gmail.com
+COMMENT=	Multiplayer Atari 2600 emulator written in pure Java
+
+EXTRACT_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
+
+USE_JAVA=	yes
+JAVA_VERSION=	1.6+
+NO_BUILD=	yes
+PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}320.jar \
+				bin/javatari
+SUB_FILES=	javatari
+SUB_LIST+=	JARFILE="${JARFILE}"
+JARFILE=	${PORTNAME}320.jar
+
+DESKTOP_ENTRIES=	"Javatari" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" "Application;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} ${JAVAJARDIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/javatari ${PREFIX}/bin
+	${INSTALL_DATA} ${WRKDIR}/org/javatari/pc/screen/images/LogoIcon32.png \
+		${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+.include <bsd.port.mk>

Added: head/emulators/javatari/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/javatari/distinfo	Wed May  1 23:27:09 2013	(r317067)
@@ -0,0 +1,2 @@
+SHA256 (javatari320.jar) = 5588ea7e7c5752ea81fbddcdd952d33b8d345d1715858b0c52046d99e705dc81
+SIZE (javatari320.jar) = 947296

Added: head/emulators/javatari/files/javatari.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/javatari/files/javatari.in	Wed May  1 23:27:09 2013	(r317067)
@@ -0,0 +1,8 @@
+#!/bin/csh
+# $FreeBSD$
+
+set JAVA = "%%LOCALBASE%%/bin/java"
+set JARPATH = "%%JAVALIBDIR%%"
+setenv JAVA_VERSION "%%JAVA_VERSION%%"
+
+exec "${JAVA}" -jar %%JAVAJARDIR%%/%%JARFILE%%

Added: head/emulators/javatari/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/javatari/pkg-descr	Wed May  1 23:27:09 2013	(r317067)
@@ -0,0 +1,4 @@
+A multiplayer Atari 2600 emulator written in pure Java. 
+No external libs.
+
+WWW: http://javatari.org


More information about the svn-ports-all mailing list