summaryrefslogtreecommitdiffstats
path: root/games/live-f1/Makefile
blob: 8f8f8596a952ad01f7899ef7cd83dbd1933fc6ed (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
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

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

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

LICENSE=	GPLv2

BROKEN=		unfetchable
LIB_DEPENDS=	libneon.so:www/neon

WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}

OPTIONS_DEFINE=	NLS

USES=		pkgconfig gettext-tools iconv gmake tar:tgz
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/live-f1 \
		man/man1/live-f1.1.gz

.include <bsd.port.options.mk>

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

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