aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-09-21 22:51:02 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-09-21 22:51:02 +0000
commit3f09c957eb770245fb28849348c7129250e48366 (patch)
tree6fbd240acca55151f9af8fff2c6eba8f90a33fec
parent3ea59fb409a784740372798eeb6eab6e9d030dfd (diff)
downloadports-3f09c957eb770245fb28849348c7129250e48366.tar.gz
ports-3f09c957eb770245fb28849348c7129250e48366.zip
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)
Notes
Notes: svn path=/head/; revision=304644
-rw-r--r--LEGAL1
-rw-r--r--games/Makefile1
-rw-r--r--games/speakinghangman/Makefile41
-rw-r--r--games/speakinghangman/distinfo4
-rw-r--r--games/speakinghangman/files/speakinghangman.in9
-rw-r--r--games/speakinghangman/pkg-descr6
-rw-r--r--games/speakinghangman/pkg-plist9
7 files changed, 71 insertions, 0 deletions
diff --git a/LEGAL b/LEGAL
index aafdfd5dffee..1a131582dd17 100644
--- a/LEGAL
+++ b/LEGAL
@@ -423,6 +423,7 @@ squeezeboxserver-* audio/squeezeboxserver Contains non-redistributable
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
diff --git a/games/Makefile b/games/Makefile
index 308b95817d59..e8968857dc50 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -849,6 +849,7 @@
SUBDIR += spacehulk
SUBDIR += spacejunk
SUBDIR += speak
+ SUBDIR += speakinghangman
SUBDIR += species
SUBDIR += spellathon
SUBDIR += spellcast
diff --git a/games/speakinghangman/Makefile b/games/speakinghangman/Makefile
new file mode 100644
index 000000000000..e4027fd12ccb
--- /dev/null
+++ b/games/speakinghangman/Makefile
@@ -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>
diff --git a/games/speakinghangman/distinfo b/games/speakinghangman/distinfo
new file mode 100644
index 000000000000..549c94ed2734
--- /dev/null
+++ b/games/speakinghangman/distinfo
@@ -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
diff --git a/games/speakinghangman/files/speakinghangman.in b/games/speakinghangman/files/speakinghangman.in
new file mode 100644
index 000000000000..c7662b9733b7
--- /dev/null
+++ b/games/speakinghangman/files/speakinghangman.in
@@ -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" "${@}"
diff --git a/games/speakinghangman/pkg-descr b/games/speakinghangman/pkg-descr
new file mode 100644
index 000000000000..f51aa16ad8a0
--- /dev/null
+++ b/games/speakinghangman/pkg-descr
@@ -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
diff --git a/games/speakinghangman/pkg-plist b/games/speakinghangman/pkg-plist
new file mode 100644
index 000000000000..c3c4a146497b
--- /dev/null
+++ b/games/speakinghangman/pkg-plist
@@ -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%%