summaryrefslogtreecommitdiff
path: root/games/xqf/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-04 10:16:40 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-04 10:16:40 +0000
commit6e3e856f460d3a5c4e0a1ad0eb7aed7f7499f2b5 (patch)
tree492059896ae00bfe8a31ffa80ed8cca3fd67f499 /games/xqf/Makefile
parentUpdate to 1.0.17 (diff)
- Update to version 0.9.13
PR: 59752 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=94928
Diffstat (limited to 'games/xqf/Makefile')
-rw-r--r--games/xqf/Makefile32
1 files changed, 28 insertions, 4 deletions
diff --git a/games/xqf/Makefile b/games/xqf/Makefile
index 8fdda0e858f2..149ab57294c4 100644
--- a/games/xqf/Makefile
+++ b/games/xqf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xqf
-PORTVERSION= 0.9.12
+PORTVERSION= 0.9.13
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,13 +16,37 @@ COMMENT= Find quake servers
RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat
-USE_GNOME= gdkpixbuf gnometarget
+USE_GETOPT_LONG= yes
+USE_GNOME= gnometarget
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= xqf.6
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.if defined(WITH_GTK2)
+USE_GNOME+= gtk20
+CONFIGURE_ARGS+= --enable-gtk2
+.else
+USE_GNOME+= gdkpixbuf
+.endif
+
+.if defined(WITH_GEOIP)
+LIB_DEPENDS+= GeoIP.3:${PORTSDIR}/net/GeoIP
+.else
+CONFIGURE_ARGS+= --disable-geoip
+.endif
+
+.if !defined(WITHOUT_BZIP2)
+CONFIGURE_ARGS+= --enable-bzip2
+.if !exists(/usr/bin/bzip2)
+RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
+.endif
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}