Bug 177550 - games/imaze: Update MASTER_SITES
Summary: games/imaze: Update MASTER_SITES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 19:40 UTC by tkato432
Modified: 2013-04-30 03:40 UTC (History)
0 users

See Also:


Attachments
file.diff (3.92 KB, patch)
2013-04-01 19:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-04-01 19:40:00 UTC
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
Comment 1 Edwin Groothuis freebsd_committer 2013-04-01 19:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-04-30 03:35:38 UTC
Author: miwi
Date: Tue Apr 30 02:35:30 2013
New Revision: 316870
URL: http://svnweb.freebsd.org/changeset/ports/316870

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Add MAKE_JOBS_SAFE
  
  PR:		177550
  Submitted by:	Ports Fury

Modified:
  head/games/imaze/Makefile   (contents, props changed)

Modified: head/games/imaze/Makefile
==============================================================================
--- head/games/imaze/Makefile	Tue Apr 30 02:33:53 2013	(r316869)
+++ head/games/imaze/Makefile	Tue Apr 30 02:35:30 2013	(r316870)
@@ -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$
-#
 
 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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer 2013-04-30 03:35:46 UTC
State Changed
From-To: open->closed

Committed. Thanks!