1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/games/speakinghangman/Makefile
Jason E. Hale 3f09c957eb 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)
2012-09-21 22:51:02 +00:00

42 lines
1.1 KiB
Makefile

# $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>