aboutsummaryrefslogtreecommitdiffstats
path: root/games/xqf/Makefile
blob: ce379a3697a32d77d8f1bf4670475e31791eab2b (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
# Created by: steve farrell
# $FreeBSD$

PORTNAME=   xqf
PORTVERSION=    1.0.5
PORTREVISION=   9
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${DISTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Server browser for many popular 3D action games

RUN_DEPENDS=    qstat:games/qstat

USE_GNOME=  intlhack
USES=       gettext gmake pkgconfig
USE_XORG=   x11
GNU_CONFIGURE=  yes

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

PORTDATA=   *
PORTDOCS=   *

OPTIONS_DEFINE= GTK2 GEOIP BZIP2 DOCS
OPTIONS_DEFAULT=GTK2 GEOIP BZIP2

GTK2_USE=       GNOME=gtk20
GTK2_USE_OFF=       GNOME=gdkpixbuf
GTK2_CONFIGURE_ENABLE=  gtk2

GEOIP_CONFIGURE_ENABLE= geoip
GEOIP_LIB_DEPENDS=  libGeoIP.so:net/GeoIP

BZIP2_CONFIGURE_ENABLE= bzip2

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

.include <bsd.port.mk>