pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/cgoban-java Updated cgoban-java to 3.3.1, since ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac700279d28e
branches:  trunk
changeset: 518877:ac700279d28e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Sep 20 23:07:12 2006 +0000

description:
Updated cgoban-java to 3.3.1, since the old version of the software is
useless. There is only a single server speaking this protocol, which has
been updated some days ago. It does not accept the 2.x clients anymore.

Now it is possible to play Rengo on the new server. Another change is
that the rating system has been adjusted to reality.

diffstat:

 games/cgoban-java/DESCR    |   8 ++++----
 games/cgoban-java/Makefile |  28 ++++++++++++----------------
 games/cgoban-java/PLIST    |   4 ++--
 games/cgoban-java/distinfo |   8 ++++----
 4 files changed, 22 insertions(+), 26 deletions(-)

diffs (83 lines):

diff -r 4b719e8f1f16 -r ac700279d28e games/cgoban-java/DESCR
--- a/games/cgoban-java/DESCR   Wed Sep 20 22:49:53 2006 +0000
+++ b/games/cgoban-java/DESCR   Wed Sep 20 23:07:12 2006 +0000
@@ -1,5 +1,5 @@
-  CGoban-java (CGoban 2) is a port of the SGF editor of CGoban 1 to Java
+CGoban-java (CGoban 3) is a port of the SGF editor of CGoban 1 to Java
 combined with a client for the Kiseido Go Server.  It is missing the Go
-Modem Protocol adapter from CGoban 1 and the IGS/NNGS client from cgoban 1,
-but the SGF editor is a bit better (and of course the KGS client in it is
-much better than the IGS/NNGS client in CGoban 1).
+Modem Protocol adapter from CGoban 1 and the IGS/NNGS client from cgoban
+1, but the SGF editor is a bit better (and of course the KGS client in
+it is much better than the IGS/NNGS client in CGoban 1).
diff -r 4b719e8f1f16 -r ac700279d28e games/cgoban-java/Makefile
--- a/games/cgoban-java/Makefile        Wed Sep 20 22:49:53 2006 +0000
+++ b/games/cgoban-java/Makefile        Wed Sep 20 23:07:12 2006 +0000
@@ -1,32 +1,28 @@
-# $NetBSD: Makefile,v 1.31 2006/02/05 23:09:13 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2006/09/20 23:07:12 rillig Exp $
 #
 
-DISTNAME=      cgoban-unix-2.6.12
-PKGNAME=       ${DISTNAME:S/unix/java/}
-PKGREVISION=   1
+DISTNAME=      cgoban-java-3.3.1
 CATEGORIES=    games java
-MASTER_SITES=  http://kgs.kiseido.com/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  http://files.gokgs.com/javaBin/
+DISTFILES=     cgoban.jar
+DIST_SUBDIR=   ${DISTNAME}
 
 MAINTAINER=    rh%NetBSD.org@localhost
 HOMEPAGE=      http://kgs.kiseido.com/en_US/download.html
-COMMENT=       Java Go server client and SGF viewer/editor
+COMMENT=       Client for the Kiseido Go Server and SGF viewer/editor
 
-WRKSRC=                ${WRKDIR}/cgoban
-NO_BUILD=      yes
+WRKSRC=                ${WRKDIR}
+USE_JAVA=      run
 USE_JAVA2=     yes
-USE_JAVA=      run
 
 INSTALLATION_DIRS=     bin libexec
 
-do-configure:
-       ${SED}  -e 's|\(_DIR=\).|\1${PREFIX}/libexec|'                  \
-               -e 's|^\(java\)|${PKG_JAVA_HOME}/bin/\1|'               \
-               < ${WRKSRC}/cgoban.sh.in > ${WRKSRC}/cgoban.sh
+do-build:
+       printf "#! ${SH}\\nexec ${PKG_JAVA_HOME}/bin/java -jar ${PREFIX}/libexec/cgoban3.jar \"\$$@\"\\n" > ${WRKSRC}/cgoban-java.sh
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/cgoban.sh ${PREFIX}/bin/cgoban-java
-       ${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${PREFIX}/libexec
+       ${INSTALL_SCRIPT} ${WRKSRC}/cgoban-java.sh ${PREFIX}/bin/cgoban-java
+       ${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${PREFIX}/libexec/cgoban3.jar
 
 .include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4b719e8f1f16 -r ac700279d28e games/cgoban-java/PLIST
--- a/games/cgoban-java/PLIST   Wed Sep 20 22:49:53 2006 +0000
+++ b/games/cgoban-java/PLIST   Wed Sep 20 23:07:12 2006 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/07 00:27:04 rh Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/09/20 23:07:12 rillig Exp $
 bin/cgoban-java
-libexec/cgoban.jar
+libexec/cgoban3.jar
diff -r 4b719e8f1f16 -r ac700279d28e games/cgoban-java/distinfo
--- a/games/cgoban-java/distinfo        Wed Sep 20 22:49:53 2006 +0000
+++ b/games/cgoban-java/distinfo        Wed Sep 20 23:07:12 2006 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2005/04/11 06:54:55 rh Exp $
+$NetBSD: distinfo,v 1.23 2006/09/20 23:07:12 rillig Exp $
 
-SHA1 (cgoban-unix-2.6.12.tar.bz2) = ccc12a651d3e6aedc4795e920202c8308730b947
-RMD160 (cgoban-unix-2.6.12.tar.bz2) = 9e21a05bf9b1c1331cf82d87be33a81d3231edbb
-Size (cgoban-unix-2.6.12.tar.bz2) = 1180638 bytes
+SHA1 (cgoban-java-3.3.1/cgoban.jar) = cd21b112f70c91724b9582a6d95d174883a8441c
+RMD160 (cgoban-java-3.3.1/cgoban.jar) = 629ae6fc47be2b84201fe0fe4fc9cf84ae471264
+Size (cgoban-java-3.3.1/cgoban.jar) = 1359423 bytes



Home | Main Index | Thread Index | Old Index