Import MyGoGrinder-2.0.0.J6 as games/MyGoGrinder.

MyGoGrinder is a Java program to solve Go (Weiqi, Baduk) problems.
This work is based on GoGrinder.
This commit is contained in:
wiz 2014-08-10 13:12:31 +00:00
parent 14d0b36d71
commit 7d9d8b9096
4 changed files with 102 additions and 0 deletions

2
games/MyGoGrinder/DESCR Normal file
View file

@ -0,0 +1,2 @@
MyGoGrinder is a Java program to solve Go (Weiqi, Baduk) problems.
This work is based on GoGrinder.

View file

@ -0,0 +1,46 @@
# $NetBSD: Makefile,v 1.1 2014/08/10 13:12:31 wiz Exp $
DISTNAME= MyGoGrinder-2-0-0-J6
PKGNAME= ${DISTNAME:S/2-0-0-/2.0.0./}
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mygogrinder/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/mygogrinder/
COMMENT= Program to solve Go (Weiqi, Baduk) problems
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/MyGoGrinder
USE_LANGUAGES= # none
USE_JAVA= run
USE_JAVA2= yes
USE_TOOLS+= pax
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/${PKGBASE}
INSTALLATION_DIRS+= share/doc/${PKGBASE}
INSTALLATION_DIRS+= share/examples/${PKGBASE}
INSTALLATION_DIRS+= share/pixmaps
do-build:
${ECHO} '#!/bin/sh' > ${WRKDIR}/MyGoGrinder.sh
${ECHO} "exec ${JAVA_BINPREFIX}-java -jar "'"'"${PREFIX}/share/${PKGBASE}/MyGoGrinder.jar"'" "$$@"' >> ${WRKDIR}/MyGoGrinder.sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/MyGoGrinder.sh ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.ico ${DESTDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/*.png ${DESTDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/Tag*.txt ${DESTDIR}${PREFIX}/share/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/*.jar ${DESTDIR}${PREFIX}/share/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/License.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/DEMO.WGF ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}/demo.wgf
${INSTALL_DATA} ${WRKDIR}/"Xuan-Xuan-Qi-Jing-(problems).zip" ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
cd ${WRKSRC}/docs && pax -pp -rw * ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${CHMOD} a-wx ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/*.*
${CHMOD} a-wx ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/*/*.*
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"

49
games/MyGoGrinder/PLIST Normal file
View file

@ -0,0 +1,49 @@
@comment $NetBSD: PLIST,v 1.1 2014/08/10 13:12:31 wiz Exp $
bin/MyGoGrinder.sh
share/MyGoGrinder/MyGoGrinder.jar
share/MyGoGrinder/Tags list English.txt
share/MyGoGrinder/Tags-Liste teilw.Deutsch.txt
share/doc/MyGoGrinder/License.txt
share/doc/MyGoGrinder/Notizen HTML.txt
share/doc/MyGoGrinder/collections.html
share/doc/MyGoGrinder/docs.html
share/doc/MyGoGrinder/download.html
share/doc/MyGoGrinder/features.html
share/doc/MyGoGrinder/imgs/About.png
share/doc/MyGoGrinder/imgs/AutoAdv.png
share/doc/MyGoGrinder/imgs/Banner.png
share/doc/MyGoGrinder/imgs/BannerOld.png
share/doc/MyGoGrinder/imgs/Edit.png
share/doc/MyGoGrinder/imgs/Find.png
share/doc/MyGoGrinder/imgs/Help.png
share/doc/MyGoGrinder/imgs/Import.png
share/doc/MyGoGrinder/imgs/NextProb.png
share/doc/MyGoGrinder/imgs/Open.png
share/doc/MyGoGrinder/imgs/Prefs.png
share/doc/MyGoGrinder/imgs/PrevProb.png
share/doc/MyGoGrinder/imgs/Save.png
share/doc/MyGoGrinder/imgs/SelProbs.png
share/doc/MyGoGrinder/imgs/Split.png
share/doc/MyGoGrinder/imgs/fullscreen.png
share/doc/MyGoGrinder/imgs/index2.jpg
share/doc/MyGoGrinder/imgs/probframe.png
share/doc/MyGoGrinder/imgs/probframethumb.png
share/doc/MyGoGrinder/imgs/selectiondialog.png
share/doc/MyGoGrinder/imgs/selectiondialogthumb.png
share/doc/MyGoGrinder/imgs/settingsdialog.png
share/doc/MyGoGrinder/imgs/settingsfolder.png
share/doc/MyGoGrinder/imgs/sflogo.png
share/doc/MyGoGrinder/index.html
share/doc/MyGoGrinder/license.html
share/doc/MyGoGrinder/readme.txt
share/doc/MyGoGrinder/tagssortorder1.png
share/doc/MyGoGrinder/tagssortorder2.png
share/doc/MyGoGrinder/tips.html
share/doc/MyGoGrinder/wgf.html
share/examples/MyGoGrinder/Xuan-Xuan-Qi-Jing-(problems).zip
share/examples/MyGoGrinder/demo.wgf
share/pixmaps/Grinder128.png
share/pixmaps/Grinder32.png
share/pixmaps/Grinder48.png
share/pixmaps/Grinder64.png
share/pixmaps/MyGrinder.ico

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2014/08/10 13:12:31 wiz Exp $
SHA1 (MyGoGrinder-2-0-0-J6.zip) = ae8439f79380328b2faa7f5b4579545cfffd81a9
RMD160 (MyGoGrinder-2-0-0-J6.zip) = 77532256742065dadb3501d6b1d10b0beb39c666
Size (MyGoGrinder-2-0-0-J6.zip) = 1933496 bytes