1999-04-03 04:09:41 +02:00
|
|
|
# New ports collection makefile for: xqf
|
|
|
|
# Date created: 08 February 1999
|
|
|
|
# Whom: steve farrell
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-04-03 04:09:41 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= xqf
|
2007-02-06 21:04:55 +01:00
|
|
|
PORTVERSION= 1.0.5
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 7
|
1999-04-03 04:09:41 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
1999-04-03 04:09:41 +02:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2005-11-12 20:12:42 +01:00
|
|
|
COMMENT= A server browser for many popular 3D action games
|
1999-04-03 04:09:41 +02:00
|
|
|
|
2004-10-26 19:59:25 +02:00
|
|
|
RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat
|
1999-04-03 04:09:41 +02:00
|
|
|
|
2005-11-12 20:12:42 +01:00
|
|
|
USE_GNOME= intlhack
|
2004-04-02 21:03:54 +02:00
|
|
|
USE_GETTEXT= yes
|
2004-10-26 19:59:25 +02:00
|
|
|
USE_GMAKE= yes
|
2003-01-03 20:13:21 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1999-05-09 18:59:33 +02:00
|
|
|
|
2002-07-30 04:14:22 +02:00
|
|
|
MAN6= xqf.6
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-12-04 11:16:40 +01:00
|
|
|
|
2005-11-12 20:12:42 +01:00
|
|
|
OPTIONS= GTK2 "GTK+ 2.0 support" on \
|
|
|
|
GEOIP "GeoIP support" on \
|
|
|
|
BZIP2 "bzip2 compression" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-08-16 13:58:35 +02:00
|
|
|
.if !defined(WITHOUT_GTK2)
|
2003-12-04 11:16:40 +01:00
|
|
|
USE_GNOME+= gtk20
|
|
|
|
CONFIGURE_ARGS+= --enable-gtk2
|
|
|
|
.else
|
|
|
|
USE_GNOME+= gdkpixbuf
|
|
|
|
.endif
|
|
|
|
|
2006-08-16 13:58:35 +02:00
|
|
|
.if !defined(WITHOUT_GEOIP)
|
|
|
|
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
|
2003-12-04 11:16:40 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-geoip
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_BZIP2)
|
|
|
|
CONFIGURE_ARGS+= --enable-bzip2
|
|
|
|
.endif
|
|
|
|
|
2003-01-03 20:13:21 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-11-12 20:12:42 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-01-03 20:13:21 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2005-11-12 20:12:42 +01:00
|
|
|
.include <bsd.port.post.mk>
|