pkgsrc/games/ccgo/Makefile
jperkin 6d55caa13b Remove mk/find-prefix.mk usage from the games category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:50:30 +00:00

30 lines
915 B
Makefile

# $NetBSD: Makefile,v 1.55 2015/11/25 12:50:30 jperkin Exp $
DISTNAME= ccgo-0.3.6.3
PKGREVISION= 23
CATEGORIES= games
MASTER_SITES= http://ccdw.org/~cjj/prog/ccgo/src/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ccdw.org/~cjj/prog/ccgo/
COMMENT= Go board with IGS and gnugo interface
DEPENDS+= gnugo>=3.4:../../games/gnugo
USE_LANGUAGES= c c++
USE_TOOLS+= msgfmt pkg-config
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|${LOCALBASE}/bin/gnugo|g'
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gconfmm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtkmm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"