summaryrefslogtreecommitdiffstats
path: root/games/live-f1/Makefile
blob: 85f80e0b24e5d889fb4ca86a0a3f9b61bda8716b (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
32
33
34
35
36
37
38
39
40
41
42
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=	live-f1
PORTVERSION=	0.2.11
CATEGORIES=	games
MASTER_SITES=	https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/
EXTRACT_SUFX=	.tgz

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Native client for the official Formula 1 Live Timing service

LICENSE=	GPLv2

LIB_DEPENDS=	neon:${PORTSDIR}/www/neon29

FETCH_ARGS=	-pRr
WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}

OPTIONS_DEFINE=	NLS

USES=		pkgconfig gettext:build iconv
USE_GMAKE=	yes
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=	--enable-nls
.else
CONFIGURE_ARGS+=	--disable-nls
.endif

PLIST_FILES=	bin/live-f1
MAN1=		live-f1.1

#pre-configure:
#	@cd ${WRKSRC} && autopoint

.include <bsd.port.mk>
OpenPOWER on IntegriCloud