pkgsrc/games/ccgo/Makefile
jlam 7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00

32 lines
924 B
Makefile

# $NetBSD: Makefile,v 1.19 2005/08/10 20:56:16 jlam Exp $
DISTNAME= ccgo-0.3.6.2
CATEGORIES= games
MASTER_SITES= http://ccdw.org/~cjj/prog/ccgo/src/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://ccdw.org/~cjj/prog/ccgo/
COMMENT= Go board with IGS and gnugo interface
DEPENDS+= gnugo>=3.4:../../games/gnugo
BUILD_USES_MSGFMT= yes
USE_TOOLS+= pkg-config
USE_DIRS+= gnome2-1.5
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/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"