Bug 171854 - [NEW PORT] games/speakinghangman: Educational game to practice and expand English and Spanish
Summary: [NEW PORT] games/speakinghangman: Educational game to practice and expand Eng...
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: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 20:30 UTC by nemysis
Modified: 2012-09-22 00:00 UTC (History)
1 user (show)

See Also:


Attachments
.shar (3.61 KB, text/plain)
2012-09-21 20:30 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-09-21 20:30:07 UTC
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

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)

How-To-Repeat: 
portlint -A
WARN: Makefile: [33]: possible direct use of command "false" found. use ${FALSE} instead.
WARN: Makefile: "RESTRICTED" found. do not forget to update ports/LEGAL.
0 fatal errors and 2 warnings found.

WARN: Makefile: [33]  because is used

DESKTOP_ENTRIES=...false


WARN: Makefile: "RESTRICTED" because is used

RESTRICTED=	License does not allow redistribution


Build log RedPorts

https://redports.org/buildarchive/20120921134610-1777/

and

https://redports.org/buildarchive/20120918221336-23254/
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2012-09-21 20:48:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jhale

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-21 23:51:15 UTC
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%%
_______________________________________________
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"
Comment 3 Jason E. Hale freebsd_committer freebsd_triage 2012-09-21 23:51:58 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!