freebsd-ports/games/xbill/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

52 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: xbill
# Date created: 12 September 1995
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= xbill
PORTVERSION= 2.1
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://www.xbill.org/download/ \
http://mirror.amdmi3.ru/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Save your computers from the evil clutches of Bill
GNU_CONFIGURE= yes
WANT_GNOME= yes
CONFIGURE_ARGS= --localstatedir=${SCORES_DIR}
MAN6= xbill.6
SCORES_DIR?= ${DATADIR}/scores
OPTIONS= ATHENA "Build with Athena widget set" off \
GTK "Build with GTK widget set" on \
MOTIF "Build with Motif widget set" off
.include <bsd.port.pre.mk>
.if defined(WITH_ATHENA) && !defined(WITH_GTK) && !defined(WITH_MOTIF)
CONFIGURE_ARGS+= --disable-gtk --disable-motif
USE_XORG= xaw xmu xt x11 sm ice
.elif !defined(WITH_ATHENA) && defined(WITH_GTK) && !defined(WITH_MOTIF)
CONFIGURE_ARGS+= --disable-athena --disable-motif
USE_GNOME= gtk12
USE_XORG= sm ice
.elif !defined(WITH_ATHENA) && !defined(WITH_GTK) && defined(WITH_MOTIF)
CONFIGURE_ARGS+= --disable-athena --disable-gtk
USE_XORG= xt x11 sm ice xpm
USE_MOTIF= yes
.else
IGNORE= can't be build: please rerun 'make config' and chose exactly one widget set
.endif
post-patch:
@${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXm"$$|-lXm -lXpm"|' \
${WRKSRC}/configure
.include <bsd.port.post.mk>