Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 03:21:18 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/177550: games/imaze: Update MASTER_SITES
Message-ID:  <20130402032118.6778da98ba664ce111bc1eb0@yahoo.com>
Resent-Message-ID: <201304011840.r31Ie0CJ029588@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177550
>Category:       ports
>Synopsis:       games/imaze: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 01 18:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/imaze/Makefile games/imaze/Makefile
--- /usr/ports/games/imaze/Makefile	2012-11-08 07:34:15.000000000 +0900
+++ games/imaze/Makefile	2013-04-01 06:31:27.000000000 +0900
@@ -1,72 +1,76 @@
-# New ports collection makefile for:    imaze
-# Date created:         27. April 1996
-# Whom:                 Ronald Kuehn <rk@ronald.org>
-#
+# Created by: Ronald Kuehn <rk@ronald.org>
 # $FreeBSD: head/games/imaze/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	imaze
 PORTVERSION=	1.4
 PORTREVISION=	3
 CATEGORIES=	games
-MASTER_SITES=	http://home.tu-clausthal.de/student/iMaze/files/
+MASTER_SITES=	TUCOWS/x11/entertain/ \
+		http://www.sourcefiles.org/Games/Arcade/
 PKGNAMESUFFIX=	-${TOOLKIT}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A multi-player network action game for TCP/IP with 3D graphics
+COMMENT=	Multi-player network action game for TCP/IP with 3D graphics
 
-.if defined(WITH_MOTIF) && defined(HAVE_MOTIF)
-USE_MOTIF=	yes
-TOOLKIT=	motif
-.elif defined(WITH_ATHENA)
-TOOLKIT=	athena
-USE_XORG+=	xaw
-.else
-LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview
-TOOLKIT=	xview
-USE_XORG+=	xaw
-.endif
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/Copyright
+
+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
 
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	${TOOLKIT} X11Dir=${LOCALBASE} CFlags="${CFLAGS}"
 CONFIGURE_WRKSRC=${WRKSRC}/source
 BUILD_WRKSRC=	${WRKSRC}/source
-MAKE_ENV=	SOUNDDIR=${SOUNDDIR}
+
+USE_XORG=	x11 xaw xt
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	${TOOLKIT} X11Dir="${LOCALBASE}" CFlags="${CFLAGS}"
+MAKE_ENV=	SOUNDDIR="${DATADIR}/sounds"
+MAKE_JOBS_SAFE=	yes
+
 MAN6=		genlab.6 imaze.6 imazesrv.6 imazestat.6 ninja.6 xlabed.6
-MANCOMPRESSED=	no
-USE_XORG+=	x11 xt
 
-.if defined(WITHOUT_AUDIO)
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MAUDIO)
 CONFIGURE_ARGS+=noaudio
 .endif
-.if defined(WITHOUT_JOYSTICK)
+
+.if empty(PORT_OPTIONS:MJOYSTICK)
 CONFIGURE_ARGS+=nojoystick
 .endif
 
-PROGRAMS=	imaze imazesrv imazestat ninja genlab xlabed
-SOUNDDIR=	${PREFIX}/share/imaze/sounds
+.if empty(PORT_OPTIONS:MMOTIF) && empty(PORT_OPTIONS:MXVIEW)
+TOOLKIT=	athena
+.endif
+
+.if ${PORT_OPTIONS:MMOTIF}
+USE_MOTIF=	yes
+TOOLKIT=	motif
+.endif
 
-pre-everything::
-	@$(ECHO_MSG) "iMaze can be built with XView (default), Motif or" \
-		"Athena widgets."
-	@$(ECHO_MSG) "Use \"-DWITH_MOTIF\" or \"-DWITH_ATHENA\" to select" \
-		"Motif or Athena widgets."
-	@$(ECHO_MSG) "Audio and joystick support can be disabled with" \
-		"\"-DWITHOUT_AUDIO\""
-	@$(ECHO_MSG) "and/or \"-DWITHOUT_JOYSTICK\""
+.if ${PORT_OPTIONS:MXVIEW}
+LIB_DEPENDS+=	xview:${PORTSDIR}/x11-toolkits/xview
+TOOLKIT=	xview
+.endif
 
 do-install:
-	@(cd ${WRKSRC}/source && for f in ${PROGRAMS}; do \
-		${INSTALL_PROGRAM} $$f ${PREFIX}/bin; done)
-	@(cd ${WRKSRC}/man6 && for f in *.6; do \
-		${INSTALL_MAN} $$f ${PREFIX}/man/man6; done)
-	@${MKDIR} ${PREFIX}/share/imaze/labs
-	@(cd ${WRKSRC}/labs && for f in *.lab; do \
-		${INSTALL_DATA} $$f ${PREFIX}/share/imaze/labs; done)
-	@${MKDIR} ${SOUNDDIR}
-	@(cd ${WRKSRC}/sounds && for f in *.au; do \
-		${INSTALL_DATA} $$f ${SOUNDDIR}; done)
-	@(cd ${WRKSRC} && ${INSTALL_DATA} README ${PREFIX}/share/imaze)
-	@$(ECHO_MSG) "Please read the file \"${PREFIX}/share/imaze/README\"."
+.for i in genlab imaze imazesrv imazestat ninja xlabed
+	(cd ${WRKSRC}/source && ${INSTALL_PROGRAM} ${i} ${PREFIX}/bin)
+.endfor
+.for i in ${MAN6}
+	(cd ${WRKSRC}/man6 && ${INSTALL_MAN} ${i} ${MAN6PREFIX}/man/man6)
+.endfor
+	@${MKDIR} ${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} README ${DATADIR})
+	@${MKDIR} ${DATADIR}/labs
+	(cd ${WRKSRC}/labs && ${INSTALL_DATA} *.lab ${DATADIR}/labs)
+	@${MKDIR} ${DATADIR}/sounds
+	(cd ${WRKSRC}/sounds && ${INSTALL_DATA} *.au ${DATADIR}/sounds)
+	@${ECHO_MSG} "Please read the file \"${DATADIR}/README\"."
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130402032118.6778da98ba664ce111bc1eb0>