Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2012 22:51:02 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304644 - in head: . games games/speakinghangman games/speakinghangman/files
Message-ID:  <201209212251.q8LMp2GM026731@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Sep 21 22:51:02 2012
New Revision: 304644
URL: http://svn.freebsd.org/changeset/ports/304644

Log:
  Add new port games/speakinghangman
  
  Educational game to practice and expand English and Spanish
  
  PR:		ports/171854
  Submitted by:	nemysis <nemysis at gmx.ch>
  Approved by:	makc (mentor)

Added:
  head/games/speakinghangman/
  head/games/speakinghangman/Makefile   (contents, props changed)
  head/games/speakinghangman/distinfo   (contents, props changed)
  head/games/speakinghangman/files/
  head/games/speakinghangman/files/speakinghangman.in   (contents, props changed)
  head/games/speakinghangman/pkg-descr   (contents, props changed)
  head/games/speakinghangman/pkg-plist   (contents, props changed)
Modified:
  head/LEGAL   (contents, props changed)
  head/games/Makefile

Modified: head/LEGAL
==============================================================================
--- head/LEGAL	Fri Sep 21 22:24:49 2012	(r304643)
+++ head/LEGAL	Fri Sep 21 22:51:02 2012	(r304644)
@@ -423,6 +423,7 @@ squeezeboxserver-*	audio/squeezeboxserve
 						firmware, documentation, and
 						images
 sof-*-cdrom-x86.run	games/linux-sof		Redistribution is limited
+speakinghangmanfree*	games/speakinghangman	Licence does not allow redistribution
 speedmgmt*		net/pppoa		Not for redistribution -- see
 						http://www.alcatel.com/consumer-
 						/dsl/disclaimer_lx.htm

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Fri Sep 21 22:24:49 2012	(r304643)
+++ head/games/Makefile	Fri Sep 21 22:51:02 2012	(r304644)
@@ -849,6 +849,7 @@
     SUBDIR += spacehulk
     SUBDIR += spacejunk
     SUBDIR += speak
+    SUBDIR += speakinghangman
     SUBDIR += species
     SUBDIR += spellathon
     SUBDIR += spellcast

Added: head/games/speakinghangman/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/speakinghangman/Makefile	Fri Sep 21 22:51:02 2012	(r304644)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME=	speakinghangman
+PORTVERSION=	1.0.0
+CATEGORIES=	games java
+MASTER_SITES=	http://www.athenasoft.net/hangman/ \
+		http://www.athenasoft.net/assets/images/hangman/:icons
+DISTFILES=	${RESTRICTED_FILES} \
+		icon48x48.png:icons
+DIST_SUBDIR=	${PORTNAME}
+EXTRACT_ONLY=	${RESTRICTED_FILES}
+
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Educational game to practice and expand English and Spanish
+
+RESTRICTED=	License does not allow redistribution
+RESTRICTED_FILES=	${PORTNAME}free-${DISTVERSION}${EXTRACT_SUFX}
+
+USE_JAVA=	yes
+JAVA_VERSION=	1.6+
+NO_BUILD=	yes
+
+WRKSRC=		${WRKDIR}/${PORTNAME}free-${PORTVERSION}
+
+DATADIR=	${JAVASHAREDIR}/${PORTNAME}
+
+SUB_FILES=	${PORTNAME}
+
+DESKTOP_ENTRIES="Speaking Hangman" \
+		"Educational game to practice and expand English and Spanish" \
+		"${PORTNAME}.png" \
+		"${PORTNAME}" \
+		"Game;LogicGame;" \
+		false
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "lib *.jar" ${DATADIR})
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/icon48x48.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+.include <bsd.port.mk>

Added: head/games/speakinghangman/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/speakinghangman/distinfo	Fri Sep 21 22:51:02 2012	(r304644)
@@ -0,0 +1,4 @@
+SHA256 (speakinghangman/speakinghangmanfree-1.0.0.tar.gz) = 47f33279aeedb097496ea8b6db682883e8c3f835933804ba3b9c31c09ce2ba17
+SIZE (speakinghangman/speakinghangmanfree-1.0.0.tar.gz) = 7530355
+SHA256 (speakinghangman/icon48x48.png) = b27943dfb41994f60c140218f0d207c93af6b4d6a682bae72c338a530899c589
+SIZE (speakinghangman/icon48x48.png) = 2545

Added: head/games/speakinghangman/files/speakinghangman.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/speakinghangman/files/speakinghangman.in	Fri Sep 21 22:51:02 2012	(r304644)
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+export JAVA_VERSION="%%JAVA_VERSION%%"
+
+cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
+-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/HangmanFree_V1.0.0.jar" "${@}"

Added: head/games/speakinghangman/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/speakinghangman/pkg-descr	Fri Sep 21 22:51:02 2012	(r304644)
@@ -0,0 +1,6 @@
+Speaking Hangman is an educational game to practice and expand your English
+and Spanish vocabularies. The game is designed for people of any age above
+7 years. Speaking Hangman Free is a Demo version of Speaking Hangman free
+for you to download and try.
+
+WWW: http://www.athenasoft.net/hangman/index.en.php

Added: head/games/speakinghangman/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/speakinghangman/pkg-plist	Fri Sep 21 22:51:02 2012	(r304644)
@@ -0,0 +1,9 @@
+bin/speakinghangman
+%%DATADIR%%/HangmanFree_V1.0.0.jar
+%%DATADIR%%/lib/DeploymentUtilities_V0.3.0.jar
+%%DATADIR%%/lib/HangmanPanel_V1.0.0.jar
+%%DATADIR%%/lib/J2DGameEngine_V0.3.0.jar
+%%DATADIR%%/lib/jl1.0.jar
+share/pixmaps/speakinghangman.png
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209212251.q8LMp2GM026731>