summaryrefslogtreecommitdiff
path: root/games/ccgo/Makefile
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/Makefile
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/Makefile')
-rw-r--r--games/ccgo/Makefile25
1 files changed, 15 insertions, 10 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"