summaryrefslogtreecommitdiffstats
path: root/games/gnome-chess/Makefile
blob: fc4b83af40ffe0a340eb747dced098b7d7647caf (plain) (blame)
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
32
33
# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   gnome-chess
PORTVERSION=    3.12.3
CATEGORIES= games gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Gnome chess

BUILD_DEPENDS=  vala:${PORTSDIR}/lang/vala \
        itstool:${PORTSDIR}/textproc/itstool

USES=       desktop-file-utils gettext gmake pkgconfig tar:xz
USE_GNOME=  gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_XORG=   x11
USE_GL=     gl glu
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

GLIB_SCHEMAS=   org.gnome.gnome-chess.gschema.xml

OPTIONS_DEFINE= GNUCHESS
OPTIONS_DEFAULT=GNUCHESS
GNUCHESS_DESC=  Use gnuchess engine for computer player
GNUCHESS_RUN_DEPENDS=   gnuchess:${PORTSDIR}/games/gnuchess

.include <bsd.port.mk>