2013-04-30 04:35:30 +02:00
|
|
|
# Created by: Ronald Kuehn <rk@ronald.org>
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1996-04-27 20:37:41 +02:00
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= imaze
|
2001-12-22 15:46:05 +01:00
|
|
|
PORTVERSION= 1.4
|
2016-06-17 10:21:16 +02:00
|
|
|
PORTREVISION= 4
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= games
|
2016-06-17 10:21:16 +02:00
|
|
|
MASTER_SITES= http://www.sourcefiles.org/Games/Arcade/
|
2001-12-22 15:46:05 +01:00
|
|
|
PKGNAMESUFFIX= -${TOOLKIT}
|
1996-04-27 20:37:41 +02:00
|
|
|
|
2006-09-05 10:34:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-04-30 04:35:30 +02:00
|
|
|
COMMENT= Multi-player network action game for TCP/IP with 3D graphics
|
1996-04-27 20:37:41 +02:00
|
|
|
|
2014-12-02 05:15:28 +01:00
|
|
|
LICENSE= BSD4CLAUSE
|
2013-04-30 04:35:30 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/Copyright
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= AUDIO JOYSTICK
|
2016-06-17 10:21:16 +02:00
|
|
|
OPTIONS_SINGLE= GUI
|
|
|
|
OPTIONS_SINGLE_GUI= ATHENA MOTIF XVIEW
|
|
|
|
OPTIONS_DEFAULT= ATHENA AUDIO JOYSTICK
|
|
|
|
|
|
|
|
ATHENA_DESC= Athena widget library support
|
|
|
|
ATHENA_VARS= TOOLKIT=athena
|
2013-04-30 04:35:30 +02:00
|
|
|
AUDIO_DESC= Audio support
|
2016-06-17 10:21:16 +02:00
|
|
|
AUDIO_CONFIGURE_OFF= noaudio
|
2013-04-30 04:35:30 +02:00
|
|
|
JOYSTICK_DESC= Joystick support
|
2016-06-17 10:21:16 +02:00
|
|
|
JOYSTICK_CONFIGURE_OFF= nojoystick
|
|
|
|
MOTIF_USES= motif
|
|
|
|
MOTIF_VARS= MOTIFLIB="-L${LOCALBASE}/lib -lXm -lXt" TOOLKIT=motif
|
2013-04-30 04:35:30 +02:00
|
|
|
XVIEW_DESC= XView widget library support
|
2016-06-17 10:21:16 +02:00
|
|
|
XVIEW_LIB_DEPENDS= libxview.so:x11-toolkits/xview
|
|
|
|
XVIEW_VARS= TOOLKIT=xview
|
1996-04-30 07:44:51 +02:00
|
|
|
|
2001-12-22 15:46:05 +01:00
|
|
|
CONFIGURE_WRKSRC=${WRKSRC}/source
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/source
|
2013-04-30 04:35:30 +02:00
|
|
|
|
2016-06-17 10:21:16 +02:00
|
|
|
USE_XORG= x11 xaw xmu xt
|
2013-04-30 04:35:30 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= ${TOOLKIT} X11Dir="${LOCALBASE}" CFlags="${CFLAGS}"
|
|
|
|
MAKE_ENV= SOUNDDIR="${DATADIR}/sounds"
|
|
|
|
|
1999-02-22 05:00:36 +01:00
|
|
|
do-install:
|
2013-04-30 04:35:30 +02:00
|
|
|
.for i in genlab imaze imazesrv imazestat ninja xlabed
|
2013-11-17 04:52:51 +01:00
|
|
|
(cd ${WRKSRC}/source && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
|
2013-04-30 04:35:30 +02:00
|
|
|
.endfor
|
2014-12-02 05:15:28 +01:00
|
|
|
(cd ${WRKSRC}/man6 && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6)
|
2013-11-17 04:52:51 +01:00
|
|
|
@${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)
|
2013-04-30 04:35:30 +02:00
|
|
|
@${ECHO_MSG} "Please read the file \"${DATADIR}/README\"."
|
1999-02-22 05:00:36 +01:00
|
|
|
|
1996-04-27 20:37:41 +02:00
|
|
|
.include <bsd.port.mk>
|