Bug 178248 - [New Port] emulators/javatari
Summary: [New Port] emulators/javatari
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 05:40 UTC by Danilo Egêa Gondolfo
Modified: 2013-05-02 00:30 UTC (History)
0 users

See Also:


Attachments
file.shar (2.50 KB, text/plain)
2013-04-30 05:40 UTC, Danilo Egêa Gondolfo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo Egêa Gondolfo 2013-04-30 05:40:00 UTC
A multiplayer Atari 2600 emulator written in pure Java.
No external libs.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-30 05:40:12 UTC
Class Changed
From-To: update->change-request

Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-30 05:40:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

bdrewery@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-05-02 00:27:20 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-05-02 00:27:23 UTC
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@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@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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"