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)
This commit is contained in:
Jason E. Hale 2012-09-21 22:51:02 +00:00
parent 3ea59fb409
commit 3f09c957eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304644
7 changed files with 71 additions and 0 deletions

1
LEGAL
View file

@ -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

View file

@ -849,6 +849,7 @@
SUBDIR += spacehulk
SUBDIR += spacejunk
SUBDIR += speak
SUBDIR += speakinghangman
SUBDIR += species
SUBDIR += spellathon
SUBDIR += spellcast

View file

@ -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>

View file

@ -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

View file

@ -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" "${@}"

View file

@ -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

View file

@ -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%%