summaryrefslogtreecommitdiffstats
path: root/games/gnome-chess/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnome-chess/Makefile')
-rw-r--r--games/gnome-chess/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile
new file mode 100644
index 000000000..ce8296e33
--- /dev/null
+++ b/games/gnome-chess/Makefile
@@ -0,0 +1,38 @@
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gnome-chess
+PORTVERSION= 3.10.1.1
+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
+
+USE_XZ= yes
+USES= desktop-file-utils gettext gmake pathfix pkgconfig
+INSTALLS_ICONS= yes
+USE_XORG= x11
+USE_GL= gl glu
+USE_GNOME= gtk30 intlhack librsvg2 libxml2:build
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -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
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGNUCHESS}
+RUN_DEPENDS= gnuchess:${PORTSDIR}/games/gnuchess
+.endif
+
+.include <bsd.port.mk>