aboutsummaryrefslogtreecommitdiff
path: root/games/xqf/Makefile
blob: 5bd0e0c7403fef5d5f033737b01eeef427713016 (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
PORTNAME=	xqf
PORTVERSION=	1.0.6.2
PORTREVISION=	1
DISTVERSIONPREFIX=	${PORTNAME}-
CATEGORIES=	games

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Server browser for many popular 3D action games
WWW=		http://www.linuxgames.com/xqf/

RUN_DEPENDS=	qstat:games/qstat

USES=		autoreconf gettext gmake gnome pkgconfig xorg
USE_GNOME=	intlhack gdkpixbuf2 gdkpixbuf2xlib
USE_XORG=	x11
GNU_CONFIGURE=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	XQF

CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lX11

PORTDATA=	*
PORTDOCS=	*

OPTIONS_DEFINE=	GTK2 BZIP2 DOCS
OPTIONS_DEFAULT=GTK2 BZIP2

GTK2_USE=		GNOME=gtk20
GTK2_CONFIGURE_ENABLE=	gtk2

BZIP2_CONFIGURE_ENABLE=	bzip2

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>