summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-10 13:12:31 +0000
committerwiz <wiz@pkgsrc.org>2014-08-10 13:12:31 +0000
commit952b8c435615aacffc4f5e7a99a91a922262e435 (patch)
treede66727b10b01ad81dd984359882436bf27555c0 /games
parent8ad152b824f4a84eeb5b0badcbae7238e671b040 (diff)
downloadpkgsrc-952b8c435615aacffc4f5e7a99a91a922262e435.tar.gz
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.
Diffstat (limited to 'games')
-rw-r--r--games/MyGoGrinder/DESCR2
-rw-r--r--games/MyGoGrinder/Makefile46
-rw-r--r--games/MyGoGrinder/PLIST49
-rw-r--r--games/MyGoGrinder/distinfo5
4 files changed, 102 insertions, 0 deletions
diff --git a/games/MyGoGrinder/DESCR b/games/MyGoGrinder/DESCR
new file mode 100644
index 00000000000..6742001c850
--- /dev/null
+++ b/games/MyGoGrinder/DESCR
@@ -0,0 +1,2 @@
+MyGoGrinder is a Java program to solve Go (Weiqi, Baduk) problems.
+This work is based on GoGrinder.
diff --git a/games/MyGoGrinder/Makefile b/games/MyGoGrinder/Makefile
new file mode 100644
index 00000000000..5ba2dfcbf14
--- /dev/null
+++ b/games/MyGoGrinder/Makefile
@@ -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"
diff --git a/games/MyGoGrinder/PLIST b/games/MyGoGrinder/PLIST
new file mode 100644
index 00000000000..1475b8219b4
--- /dev/null
+++ b/games/MyGoGrinder/PLIST
@@ -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
diff --git a/games/MyGoGrinder/distinfo b/games/MyGoGrinder/distinfo
new file mode 100644
index 00000000000..1093cf380df
--- /dev/null
+++ b/games/MyGoGrinder/distinfo
@@ -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