blob: bce6211c0cd823aaf79d29f35345045fa551fbc8 (
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
34
35
36
37
38
39
|
# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$
# $MCom$
PORTNAME= gnome-chess
PORTVERSION= 3.12.2
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 pathfix \
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
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
GNUCHESS_RUN_DEPENDS= gnuchess:${PORTSDIR}/games/gnuchess
post-patch:
@${REINPLACE_CMD} -e 's|HAVE_LINUX_PRCTL_H 1|HAVE_LINUX_PRCTL_H 0|g' \
${WRKSRC}/configure
${RM} ${WRKSRC}/src/chess-engine.c
.include <bsd.port.mk>
|