pkgsrc/games/ccgo/Makefile
2004-04-12 05:12:01 +00:00

36 lines
1,011 B
Makefile

# $NetBSD: Makefile,v 1.13 2004/04/12 05:12:01 snj Exp $
#
DISTNAME= ccgo-0.3.4
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://ccdw.org/~cjj/prog/ccgo/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://ccdw.org/~cjj/prog/ccgo/
COMMENT= Go board with IGS and gnugo interface
DEPENDS+= gnome2-dirs>=1.5:../../misc/gnome2-dirs
DEPENDS+= gnugo>=3.4:../../games/gnugo
BUILD_USES_MSGFMT= YES
USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
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 "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gconfmm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../x11/gtkmm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"