blob: cbe46f9864cff8eeecce5ba032adddcb9a29caaf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# ex:ts=8
# Ports collection makefile for: xbill
# Date created: 12 September 1995
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= xbill
PORTVERSION= 2.1
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.xbill.org/download/ \
http://www.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@amdmi3.ru
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>
|