1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/xbill/Makefile
Niclas Zeising a3c56e68df Add USES=xorg USES=gl, ports categories e and g
Add USES=xorg and USES=gl to ports in categories starting with 'e' and 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:21:16 +00:00

55 lines
1.1 KiB
Makefile

# Created by: asami
# $FreeBSD$
PORTNAME= xbill
PORTVERSION= 2.1
PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= http://www.xbill.org/download/
MAINTAINER= ak@FreeBSD.org
COMMENT= Save your computers from the evil clutches of Bill
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${SCORES_DIR} --disable-gtk
SCORES_DIR?= ${DATADIR}/scores
DESKTOP_ENTRIES="xBill" \
"Save your computers from the evil clutches of Bill" \
"${DATADIR}/pixmaps/icon.xpm" \
"xbill" \
"Game;ArcadeGame;" \
false
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz
PORTDATA= *
USES= xorg
USE_XORG= xt x11 sm ice xpm
OPTIONS_SINGLE= WIDGETSET
OPTIONS_SINGLE_WIDGETSET= ATHENA MOTIF
OPTIONS_DEFAULT= ATHENA
ATHENA_DESC= Athena widget set
MOTIF_DESC= Motif widget set
ATHENA_CONFIGURE_ON= --disable-motif
ATHENA_USES= xorg
ATHENA_USE= xorg=xaw,xmu
MOTIF_CONFIGURE_ON= --disable-athena
MOTIF_USES= motif
post-patch:
@${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXt|-lXt -lXpm|' \
${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xbill
.include <bsd.port.mk>