aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnomechess/Makefile
blob: c135b8b7cf4a260ae70a1bcd8a070959e0d1858c (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
40
41
42
43
# Created by: Jeremy Lea <reg@shale.csir.co.za>
# $FreeBSD$

PORTNAME=   gnomechess
PORTVERSION=    3.8.3
CATEGORIES= games gnome
MASTER_SITES=   GNOME
MASTER_SITE_SUBDIR= sources/gnome-chess/3.8
DISTNAME=   gnome-chess-${PORTVERSION}

MAINTAINER= johans@FreeBSD.org
COMMENT=    A GUI chess front-end to crafy, for the GNOME Desktop Environment

RUN_DEPENDS=    crafty:${PORTSDIR}/games/crafty
BUILD_DEPENDS=  crafty:${PORTSDIR}/games/crafty \
        itstool:${PORTSDIR}/textproc/itstool \
        xmllint:${PORTSDIR}/textproc/libxml2 \
        p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser

USES=       pathfix pkgconfig desktop-file-utils shared-mime-info
USE_GL=     gl glu
USE_GNOME=  gtk30 librsvg2
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_XZ=     yes
INSTALLS_OMF=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
MAKE_ARGS=  XML_I18N_UPDATE="${TRUE}" XML_I18N_EXTRACT="${TRUE}"
DATADIR=    ${PREFIX}/share/gnome-chess

MAN6=       gnome-chess.6

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>