diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-31 14:40:56 +0000 |
commit | 8199e9dc487a0e6b99c306fa637033bf11374c41 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/xqf | |
parent | fe6302c7633911c7e779bee40e0b1c093ff8260a (diff) |
Notes
Diffstat (limited to 'games/xqf')
-rw-r--r-- | games/xqf/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/games/xqf/Makefile b/games/xqf/Makefile index e47e36338f3b..c1784b9aa0e9 100644 --- a/games/xqf/Makefile +++ b/games/xqf/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: xqf -# Date created: 08 February 1999 -# Whom: steve farrell -# +# Created by: steve farrell # $FreeBSD$ -# PORTNAME= xqf PORTVERSION= 1.0.5 @@ -12,7 +8,7 @@ CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org -COMMENT= A server browser for many popular 3D action games +COMMENT= Server browser for many popular 3D action games RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat @@ -26,31 +22,31 @@ 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 +OPTIONS_DEFINE= GTK2 GEOIP BZIP2 +OPTIONS_DEFAULT= GTK2 GEOIP BZIP2 +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> -.if !defined(WITHOUT_GTK2) +.if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 CONFIGURE_ARGS+= --enable-gtk2 .else USE_GNOME+= gdkpixbuf .endif -.if !defined(WITHOUT_GEOIP) +.if ${PORT_OPTIONS:MGEOIP} LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP .else CONFIGURE_ARGS+= --disable-geoip .endif -.if !defined(WITHOUT_BZIP2) +.if ${PORT_OPTIONS:MBZIP2} CONFIGURE_ARGS+= --enable-bzip2 .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${DOCSDIR} .endif |