svn commit: r417000 - in head/games/imaze: . files
Torsten Zuehlsdorff
tz at FreeBSD.org
Fri Jun 17 08:21:18 UTC 2016
Author: tz
Date: Fri Jun 17 08:21:16 2016
New Revision: 417000
URL: https://svnweb.freebsd.org/changeset/ports/417000
Log:
games/imaze: unbreak and modernize port
This includes:
- Bump PORTREVISION
- Unbreak fetch
- Remove TUCOWS from MASTER_SITES
- Add ATHENA option and set it by default, instead of XVIEW
- Convert GUI's options from RADIO to SINGLE
- Switch to options helpers
- Add MOTIFLIB define with proper value to fix linkage
- Add xmu to USE_XORG
- Regenerate patches
PR: 210081
Submitted by: lightside <lightside at gmx.com>
Approved by: junovitch (mentor)
Modified:
head/games/imaze/Makefile
head/games/imaze/files/patch-source_Makefile.in
head/games/imaze/files/patch-source_configure
head/games/imaze/files/patch-source_fbsd_joystick.c
head/games/imaze/files/patch-source_voxware_audio.c
Modified: head/games/imaze/Makefile
==============================================================================
--- head/games/imaze/Makefile Fri Jun 17 08:00:22 2016 (r416999)
+++ head/games/imaze/Makefile Fri Jun 17 08:21:16 2016 (r417000)
@@ -3,10 +3,9 @@
PORTNAME= imaze
PORTVERSION= 1.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= TUCOWS/x11/entertain/ \
- http://www.sourcefiles.org/Games/Arcade/
+MASTER_SITES= http://www.sourcefiles.org/Games/Arcade/
PKGNAMESUFFIX= -${TOOLKIT}
MAINTAINER= ports at FreeBSD.org
@@ -15,49 +14,31 @@ COMMENT= Multi-player network action gam
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/Copyright
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2016-07-04
OPTIONS_DEFINE= AUDIO JOYSTICK
-OPTIONS_RADIO= GUI
-OPTIONS_RADIO_GUI= XVIEW MOTIF
-OPTIONS_DEFAULT= AUDIO JOYSTICK XVIEW
+OPTIONS_SINGLE= GUI
+OPTIONS_SINGLE_GUI= ATHENA MOTIF XVIEW
+OPTIONS_DEFAULT= ATHENA AUDIO JOYSTICK
+
+ATHENA_DESC= Athena widget library support
+ATHENA_VARS= TOOLKIT=athena
AUDIO_DESC= Audio support
+AUDIO_CONFIGURE_OFF= noaudio
JOYSTICK_DESC= Joystick support
+JOYSTICK_CONFIGURE_OFF= nojoystick
+MOTIF_USES= motif
+MOTIF_VARS= MOTIFLIB="-L${LOCALBASE}/lib -lXm -lXt" TOOLKIT=motif
XVIEW_DESC= XView widget library support
+XVIEW_LIB_DEPENDS= libxview.so:x11-toolkits/xview
+XVIEW_VARS= TOOLKIT=xview
CONFIGURE_WRKSRC=${WRKSRC}/source
BUILD_WRKSRC= ${WRKSRC}/source
-USE_XORG= x11 xaw xt
+USE_XORG= x11 xaw xmu 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)
Modified: head/games/imaze/files/patch-source_Makefile.in
==============================================================================
--- head/games/imaze/files/patch-source_Makefile.in Fri Jun 17 08:00:22 2016 (r416999)
+++ head/games/imaze/files/patch-source_Makefile.in Fri Jun 17 08:21:16 2016 (r417000)
@@ -1,6 +1,6 @@
---- source/Makefile.in.orig Thu Dec 13 10:50:40 2001
-+++ source/Makefile.in Thu Dec 13 10:56:34 2001
-@@ -43,7 +43,7 @@
+--- source/Makefile.in.orig 2001-12-10 00:47:32 UTC
++++ source/Makefile.in
+@@ -43,7 +43,7 @@ Unconfigured:
@echo "run ./configure first, don't use this makefile"
#END configure output
@@ -9,7 +9,7 @@
#
# possible values:
#
-@@ -66,7 +66,7 @@
+@@ -66,7 +66,7 @@ INSTALL=install -s -m 755
X11Libs=-lX11
#AthenaLibs=-lXaw -lXt
AthenaLibs=-lXaw -lXt -lXmu
Modified: head/games/imaze/files/patch-source_configure
==============================================================================
--- head/games/imaze/files/patch-source_configure Fri Jun 17 08:00:22 2016 (r416999)
+++ head/games/imaze/files/patch-source_configure Fri Jun 17 08:21:16 2016 (r417000)
@@ -1,6 +1,6 @@
---- source/configure.orig Thu Jul 24 22:06:46 2003
-+++ source/configure Thu Jul 24 22:10:31 2003
-@@ -54,7 +54,7 @@
+--- source/configure.orig 2001-12-10 00:47:37 UTC
++++ source/configure
+@@ -54,7 +54,7 @@ LibpathTmpl=-L@
MakefileIn=Makefile.in
MakefileOut=Makefile
Modified: head/games/imaze/files/patch-source_fbsd_joystick.c
==============================================================================
--- head/games/imaze/files/patch-source_fbsd_joystick.c Fri Jun 17 08:00:22 2016 (r416999)
+++ head/games/imaze/files/patch-source_fbsd_joystick.c Fri Jun 17 08:21:16 2016 (r417000)
@@ -1,5 +1,5 @@
---- source/fbsd_joystick.c.orig Sat Jun 28 15:55:30 2003
-+++ source/fbsd_joystick.c Sat Jun 28 15:56:01 2003
+--- source/fbsd_joystick.c.orig 2001-12-10 00:47:38 UTC
++++ source/fbsd_joystick.c
@@ -44,7 +44,7 @@
#include <errno.h>
#include <fcntl.h>
Modified: head/games/imaze/files/patch-source_voxware_audio.c
==============================================================================
--- head/games/imaze/files/patch-source_voxware_audio.c Fri Jun 17 08:00:22 2016 (r416999)
+++ head/games/imaze/files/patch-source_voxware_audio.c Fri Jun 17 08:21:16 2016 (r417000)
@@ -1,5 +1,5 @@
---- source/voxware_audio.c.orig Sat Jun 28 15:55:41 2003
-+++ source/voxware_audio.c Sat Jun 28 15:56:08 2003
+--- source/voxware_audio.c.orig 2001-12-10 00:47:46 UTC
++++ source/voxware_audio.c
@@ -50,7 +50,7 @@
#ifdef linux
#include <linux/soundcard.h>
More information about the svn-ports-head
mailing list