1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/xbill/Makefile
Dmitry Marakasov 41f778ba31 - Add DESKTOP_ENTRY to bunch of ports
- Mark some ports MAKE_JOBS_SAFE
2009-09-11 21:57:40 +00:00

61 lines
1.5 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/distfiles/
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}
MAKE_JOBS_SAFE= yes
MAN6= xbill.6
SCORES_DIR?= ${DATADIR}/scores
DESKTOP_ENTRIES="xBill" \
"Save your computers from the evil clutches of Bill" \
"${DATADIR}/pixmaps/icon.xpm" \
"xbill" \
"Game;ArcadeGame;" \
false
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>