blob: e954b78c3f17bc4c5227462482953ddfb0b0cc89 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Created by: Ronald Kuehn <rk@ronald.org>
# $FreeBSD$
PORTNAME= imaze
PORTVERSION= 1.4
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= TUCOWS/x11/entertain/ \
http://www.sourcefiles.org/Games/Arcade/
PKGNAMESUFFIX= -${TOOLKIT}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-player network action game for TCP/IP with 3D graphics
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/Copyright
BROKEN= unfetchable
OPTIONS_DEFINE= AUDIO JOYSTICK
OPTIONS_RADIO= GUI
OPTIONS_RADIO_GUI= XVIEW MOTIF
OPTIONS_DEFAULT= AUDIO JOYSTICK XVIEW
AUDIO_DESC= Audio support
JOYSTICK_DESC= Joystick support
XVIEW_DESC= XView widget library support
CONFIGURE_WRKSRC=${WRKSRC}/source
BUILD_WRKSRC= ${WRKSRC}/source
USE_XORG= x11 xaw xt
HAS_CONFIGURE= yes
CONFIGURE_ARGS= ${TOOLKIT} X11Dir="${LOCALBASE}" CFlags="${CFLAGS}"
MAKE_ENV= SOUNDDIR="${DATADIR}/sounds"
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MAUDIO)
CONFIGURE_ARGS+=noaudio
.endif
.if empty(PORT_OPTIONS:MJOYSTICK)
CONFIGURE_ARGS+=nojoystick
.endif
.if empty(PORT_OPTIONS:MMOTIF) && empty(PORT_OPTIONS:MXVIEW)
TOOLKIT= athena
.endif
.if ${PORT_OPTIONS:MMOTIF}
USES+= motif
TOOLKIT= motif
.endif
.if ${PORT_OPTIONS:MXVIEW}
LIB_DEPENDS+= libxview.so:x11-toolkits/xview
TOOLKIT= xview
.endif
do-install:
.for i in genlab imaze imazesrv imazestat ninja xlabed
(cd ${WRKSRC}/source && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
.endfor
(cd ${WRKSRC}/man6 && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DATADIR}/labs
(cd ${WRKSRC}/labs && ${INSTALL_DATA} *.lab ${STAGEDIR}${DATADIR}/labs)
@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
(cd ${WRKSRC}/sounds && ${INSTALL_DATA} *.au ${STAGEDIR}${DATADIR}/sounds)
@${ECHO_MSG} "Please read the file \"${DATADIR}/README\"."
.include <bsd.port.mk>
|