summaryrefslogtreecommitdiff
path: root/games/ccgo
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-29 12:42:22 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-29 12:42:22 +0000
commit17af74fdfb57623dfa3f26f01796aaebbe88a786 (patch)
treef687405001b0188451898d2cd386074c82057195 /games/ccgo
parent23554fcb50d7d3674fe1b7d9a1c50be73bcf6013 (diff)
downloadpkgsrc-17af74fdfb57623dfa3f26f01796aaebbe88a786.tar.gz
Update to 0.3.4.
Changes in the package: - Use subst.mk instead of a custom pre-configure. - Depend on gnome2-dirs, gnugo and pkgconfig. - Drop useless regexx dependency. Changes since previous versions: - ccgo 0.3.3 to 0.3.4 * allow reviving marked-dead groups when scoring local games * fix compatibiliy with new IGS * fix ignored handicaps in importing SGF files * update State when getting own info * allow undo when playing with computer - ccgo 0.3.2 to 0.3.3 * support SGF files with handicap setup at root node * allow handicaps in matches with gnugo * minor enhancements - ccgo 0.3.0 to 0.3.2 * internationalization * remove dependancy on regexx * many fixes
Diffstat (limited to 'games/ccgo')
-rw-r--r--games/ccgo/Makefile25
-rw-r--r--games/ccgo/PLIST3
-rw-r--r--games/ccgo/distinfo6
3 files changed, 20 insertions, 14 deletions
diff --git a/games/ccgo/Makefile b/games/ccgo/Makefile
index 00eb8c61363..3623659978d 100644
--- a/games/ccgo/Makefile
+++ b/games/ccgo/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2004/01/23 21:50:44 jmmv Exp $
+# $NetBSD: Makefile,v 1.11 2004/02/29 12:42:22 jmmv Exp $
#
-DISTNAME= ccgo-0.3.1
-PKGREVISION= 6
+DISTNAME= ccgo-0.3.4
CATEGORIES= games
MASTER_SITES= http://ccdw.org/~cjj/prog/ccgo/
@@ -10,21 +9,27 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://ccdw.org/~cjj/prog/ccgo/
COMMENT= Go board with IGS and gnugo interface
+DEPENDS+= gnome2-dirs>=1.2:../../misc/gnome2-dirs
+DEPENDS+= gnugo>=3.4:../../games/gnugo
+
BUILD_USES_MSGFMT= YES
USE_BUILDLINK2= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
-post-patch:
-.for src in game_setup.cc settings.cc
- ${CP} ${WRKSRC}/${src} ${WRKSRC}/${src}.old
- ${SED} -e 's|/usr/games|${PREFIX}/bin|g' < ${WRKSRC}/${src}.old > ${WRKSRC}/${src}
-.endfor
+SUBST_CLASSES+= ccgo
+SUBST_STAGE.ccgo= pre-configure
+SUBST_FILES.ccgo= game_setup.cc settings.cc
+SUBST_MESSAGE.ccgo= "Fixing paths to gnugo."
+SUBST_SED.ccgo= -e 's|/usr/games/gnugo|${PREFIX.gnugo}/bin/gnugo|g'
+
+EVAL_PREFIX+= PREFIX.gnugo
+PREFIX.gnugo_DEFAULT= ${LOCALBASE}
-.include "../../textproc/regexx/buildlink2.mk"
.include "../../converters/libiconv/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/gconfmm/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../x11/gtkmm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/ccgo/PLIST b/games/ccgo/PLIST
index 3a62f45aa4b..36a7aedaa2f 100644
--- a/games/ccgo/PLIST
+++ b/games/ccgo/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/16 03:56:27 rh Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/02/29 12:42:22 jmmv Exp $
bin/ccgo
man/man6/ccgo.6
share/gnome/apps/Games/ccgo.desktop
@@ -19,3 +19,4 @@ share/pixmaps/ccgo/playing_icon.png
share/pixmaps/ccgo/teaching_icon.png
share/pixmaps/ccgo/white_stone.png
@dirrm share/pixmaps/ccgo
+@comment in gnome-dirs: @dirrm share/gnome/apps/Games
diff --git a/games/ccgo/distinfo b/games/ccgo/distinfo
index c6509d5c874..d0baa06141c 100644
--- a/games/ccgo/distinfo
+++ b/games/ccgo/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/03/16 03:56:27 rh Exp $
+$NetBSD: distinfo,v 1.2 2004/02/29 12:42:22 jmmv Exp $
-SHA1 (ccgo-0.3.1.tar.gz) = 6e83e8d4af5b8f5406446c99b8d809aad467e4f7
-Size (ccgo-0.3.1.tar.gz) = 450845 bytes
+SHA1 (ccgo-0.3.4.tar.gz) = c23aac53c27d020b5e420fc5823a71316ae426d5
+Size (ccgo-0.3.4.tar.gz) = 480022 bytes
SHA1 (patch-aa) = cb799ba2a360c73b7d62f29195eb780a4f0a1edf
SHA1 (patch-ab) = 9e2113bc179a6597336c284f0bd915b5c446ecf6
SHA1 (patch-ac) = 40bbc99e781bc7d46f2b54a1e47f55b9babc203e