2012-12-01 10:37:23 +01:00
|
|
|
# Created by: asami
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1995-09-12 12:29:42 +02:00
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= xbill
|
2003-02-24 07:47:09 +01:00
|
|
|
PORTVERSION= 2.1
|
2014-09-13 17:11:27 +02:00
|
|
|
PORTREVISION= 8
|
1996-11-18 10:56:45 +01:00
|
|
|
CATEGORIES= games
|
2006-12-21 21:41:33 +01:00
|
|
|
MASTER_SITES= http://www.xbill.org/download/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
1995-09-12 12:29:42 +02:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= Save your computers from the evil clutches of Bill
|
1995-09-12 12:29:42 +02:00
|
|
|
|
2008-03-20 18:56:36 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --localstatedir=${SCORES_DIR}
|
|
|
|
|
2003-02-24 07:47:09 +01:00
|
|
|
SCORES_DIR?= ${DATADIR}/scores
|
|
|
|
|
2009-09-11 23:57:40 +02:00
|
|
|
DESKTOP_ENTRIES="xBill" \
|
|
|
|
"Save your computers from the evil clutches of Bill" \
|
|
|
|
"${DATADIR}/pixmaps/icon.xpm" \
|
|
|
|
"xbill" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
false
|
|
|
|
|
2013-10-04 04:00:37 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
man/man6/${PORTNAME}.6.gz
|
|
|
|
|
|
|
|
PORTDATA= *
|
|
|
|
|
2012-12-01 10:37:23 +01:00
|
|
|
OPTIONS_SINGLE= WIDGETSET
|
|
|
|
OPTIONS_SINGLE_WIDGETSET= ATHENA GTK MOTIF
|
|
|
|
OPTIONS_DEFAULT= GTK
|
|
|
|
|
|
|
|
ATHENA_DESC= Athena widget set
|
|
|
|
GTK_DESC= GTK widget set
|
|
|
|
MOTIF_DESC= Motif widget set
|
2008-03-20 18:56:36 +01:00
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-03-20 18:56:36 +01:00
|
|
|
|
2012-12-01 10:37:23 +01:00
|
|
|
.if ${PORT_OPTIONS:MATHENA}
|
2008-03-20 18:56:36 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk --disable-motif
|
|
|
|
USE_XORG= xaw xmu xt x11 sm ice
|
2012-12-01 10:37:23 +01:00
|
|
|
.elif ${PORT_OPTIONS:MMOTIF}
|
2008-03-20 18:56:36 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-athena --disable-gtk
|
|
|
|
USE_XORG= xt x11 sm ice xpm
|
2013-07-10 08:55:28 +02:00
|
|
|
USES= motif
|
2012-12-01 10:37:23 +01:00
|
|
|
.else # ${PORT_OPTIONS:MGTK}
|
|
|
|
CONFIGURE_ARGS+= --disable-athena --disable-motif
|
|
|
|
USE_GNOME= gtk12
|
|
|
|
USE_XORG= sm ice
|
2008-03-20 18:56:36 +01:00
|
|
|
.endif
|
1995-09-12 12:29:42 +02:00
|
|
|
|
2008-03-20 18:56:36 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXm"$$|-lXm -lXpm"|' \
|
|
|
|
${WRKSRC}/configure
|
1995-09-12 12:29:42 +02:00
|
|
|
|
2014-09-07 10:14:34 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xbill
|
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
.include <bsd.port.mk>
|