ac61165162
loading the pixmaps bundled in the binary with recent GCC versions. XQF would just crash at startup without this fix. Reviewed by: pav
63 lines
1.2 KiB
Makefile
63 lines
1.2 KiB
Makefile
# New ports collection makefile for: xqf
|
|
# Date created: 08 February 1999
|
|
# Whom: steve farrell
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xqf
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A server browser for many popular 3D action games
|
|
|
|
RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= intlhack
|
|
USE_GETOPT_LONG= yes
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
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(WITH_GTK2)
|
|
USE_GNOME+= gtk20
|
|
CONFIGURE_ARGS+= --enable-gtk2
|
|
.else
|
|
USE_GNOME+= gdkpixbuf
|
|
.endif
|
|
|
|
.if defined(WITH_GEOIP)
|
|
LIB_DEPENDS+= GeoIP.4:${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>
|