Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2012 21:21:15 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jhale@FreeBSD.org
Subject:   ports/171854: [NEW PORT] games/speakinghangman: Educational game to practice and expand English and Spanish
Message-ID:  <20120921192145.D04BA106566C@hub.freebsd.org>
Resent-Message-ID: <201209211930.q8LJU78q038154@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171854
>Category:       ports
>Synopsis:       [NEW PORT] games/speakinghangman: Educational game to practice and expand English and Spanish
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 21 19:30:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
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/

>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	speakinghangman
#	speakinghangman/Makefile
#	speakinghangman/pkg-descr
#	speakinghangman/files
#	speakinghangman/files/speakinghangman.in
#	speakinghangman/distinfo
#	speakinghangman/pkg-plist
#
echo c - speakinghangman
mkdir -p speakinghangman > /dev/null 2>&1
echo x - speakinghangman/Makefile
sed 's/^X//' >speakinghangman/Makefile << '25509bbf83b0b65905ec46b7fb2ebad2'
X# $FreeBSD$
X
XPORTNAME=	speakinghangman
XPORTVERSION=	1.0.0
XCATEGORIES=	games java
XMASTER_SITES=	http://www.athenasoft.net/hangman/ \
X		http://www.athenasoft.net/assets/images/hangman/:icons
XDISTFILES=	${PORTNAME}free-${DISTVERSION}${EXTRACT_SUFX} \
X		icon48x48.png:icons
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	${PORTNAME}free-${DISTVERSION}${EXTRACT_SUFX}
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Educational game to practice and expand English and Spanish
X
XRESTRICTED=	License does not allow redistribution
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.6+
XNO_BUILD=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}free-${PORTVERSION}
X
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
X
XSUB_FILES=	${PORTNAME}
X
XDESKTOP_ENTRIES="Speaking Hangman" \
X		"Educational game to practice and expand English and Spanish" \
X		"${PORTNAME}.png" \
X		"${PORTNAME}" \
X		"Game;LogicGame;" \
X		false
X
Xdo-install:
X# Executable
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X
X# Data
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "lib *.jar" ${DATADIR})
X
X# Pixmaps
X	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/icon48x48.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X
X.include <bsd.port.mk>
25509bbf83b0b65905ec46b7fb2ebad2
echo x - speakinghangman/pkg-descr
sed 's/^X//' >speakinghangman/pkg-descr << '233c8a07e3e6240f1fb0b04a47121bfe'
XSpeaking Hangman is an educational game to practice and expand your English
Xand Spanish vocabularies. The game is designed for people of any age above
X7 years. Speaking Hangman Free is a Demo version of Speaking Hangman free
Xfor you to download and try.
X
XWWW: http://www.athenasoft.net/hangman/index.en.php
233c8a07e3e6240f1fb0b04a47121bfe
echo c - speakinghangman/files
mkdir -p speakinghangman/files > /dev/null 2>&1
echo x - speakinghangman/files/speakinghangman.in
sed 's/^X//' >speakinghangman/files/speakinghangman.in << '47f665bff9a4944130e77f0ccd78d98d'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
Xexport JAVA_VERSION="%%JAVA_VERSION%%"
X
Xcd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
X-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/HangmanFree_V1.0.0.jar" "${@}"
47f665bff9a4944130e77f0ccd78d98d
echo x - speakinghangman/distinfo
sed 's/^X//' >speakinghangman/distinfo << '13142f379f29cfc5f40799a429981463'
XSHA256 (speakinghangman/speakinghangmanfree-1.0.0.tar.gz) = 47f33279aeedb097496ea8b6db682883e8c3f835933804ba3b9c31c09ce2ba17
XSIZE (speakinghangman/speakinghangmanfree-1.0.0.tar.gz) = 7530355
XSHA256 (speakinghangman/icon48x48.png) = b27943dfb41994f60c140218f0d207c93af6b4d6a682bae72c338a530899c589
XSIZE (speakinghangman/icon48x48.png) = 2545
13142f379f29cfc5f40799a429981463
echo x - speakinghangman/pkg-plist
sed 's/^X//' >speakinghangman/pkg-plist << '17c1bebd4a0094b1afa820510d220708'
Xbin/speakinghangman
X%%DATADIR%%/HangmanFree_V1.0.0.jar
X%%DATADIR%%/lib/DeploymentUtilities_V0.3.0.jar
X%%DATADIR%%/lib/HangmanPanel_V1.0.0.jar
X%%DATADIR%%/lib/J2DGameEngine_V0.3.0.jar
X%%DATADIR%%/lib/jl1.0.jar
Xshare/pixmaps/speakinghangman.png
X@dirrm %%DATADIR%%/lib
X@dirrm %%DATADIR%%
17c1bebd4a0094b1afa820510d220708
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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