blob: 6294d143a893cd74bd1a40e7f4d7556afb2d8309 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: xqf
# Date created: 08 February 1999
# Whom: steve farrell
#
# $FreeBSD$
#
PORTNAME= xqf
PORTVERSION= 1.0.5
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A server browser for many popular 3D action games
RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat
USE_GNOME= intlhack
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN6= xqf.6
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= GTK2 "GTK+ 2.0 support" on \
GEOIP "GeoIP support" on \
BZIP2 "bzip2 compression" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GTK2)
USE_GNOME+= gtk20
CONFIGURE_ARGS+= --enable-gtk2
.else
USE_GNOME+= gdkpixbuf
.endif
.if !defined(WITHOUT_GEOIP)
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
.else
CONFIGURE_ARGS+= --disable-geoip
.endif
.if !defined(WITHOUT_BZIP2)
CONFIGURE_ARGS+= --enable-bzip2
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|