summaryrefslogtreecommitdiff
path: root/games/ccgo/Makefile
blob: 9718f48622fa649c5e7a97c332f3efcf00a49f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.61 2017/08/01 14:58:58 wiz Exp $

DISTNAME=	ccgo-0.3.6.5
PKGREVISION=	2
CATEGORIES=	games
MASTER_SITES=	https://ccdw.org/~cjj/prog/ccgo/src/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://ccdw.org/~cjj/prog/ccgo/
COMMENT=	Go board with IGS and gnugo interface
LICENSE=	gnu-gpl-v3

DEPENDS+=	gnugo>=3.4:../../games/gnugo

USE_LANGUAGES=		c c++11
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"