Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2012 02:53:43 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304016 - in head/games/icbm3d: . files
Message-ID:  <201209100253.q8A2rhjl079557@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Sep 10 02:53:42 2012
New Revision: 304016
URL: http://svn.freebsd.org/changeset/ports/304016

Log:
  - Add additional MASTER_SITES entry
  - Avoid pkg-plist due to small file list
  - Convert to OptionsNG
  - Give maintainership to submitter
  
  PR:		ports/171264
  Submitted by:	nemysis <nemysis@gmx.ch>

Added:
  head/games/icbm3d/files/patch-makefile   (contents, props changed)
Deleted:
  head/games/icbm3d/pkg-plist
Modified:
  head/games/icbm3d/Makefile   (contents, props changed)
  head/games/icbm3d/distinfo   (contents, props changed)
  head/games/icbm3d/files/patch-aa   (contents, props changed)
  head/games/icbm3d/pkg-descr   (contents, props changed)

Modified: head/games/icbm3d/Makefile
==============================================================================
--- head/games/icbm3d/Makefile	Mon Sep 10 02:37:55 2012	(r304015)
+++ head/games/icbm3d/Makefile	Mon Sep 10 02:53:42 2012	(r304016)
@@ -7,24 +7,42 @@
 
 PORTNAME=	icbm3d
 PORTVERSION=	0.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.billsgames.com/unix/x/icbm3d/
-DISTNAME=	${PORTNAME}.${PORTVERSION}
+MASTER_SITES=	ftp://ftp.tuxpaint.org/unix/x/icbm3d/  \
+		ftp://ftp.billsgames.com/unix/x/icbm3d/ \
+		http://www.newbreedsoftware.com/images/prodicons/:icons
+DISTFILES=	${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.gif:icons
+EXTRACT_ONLY=	${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	"Inter-Continental Ballistic Missiles, 3D" - 3D game of defense
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Inter-Continental Ballistic Missiles, 3D
 
 WRKSRC=		${WRKDIR}/icbm3d
+
 USE_XORG=	x11
 MAKEFILE=	makefile
-ALL_TARGET=	icbm3d
+ALL_TARGET=	${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.gif
+
+PORTDOCS=	README.txt
+
+.include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/icbm3d ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/icbm3d
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/icbm3d
+# Executable
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+# Pixmaps
+	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.gif ${PREFIX}/share/pixmaps/
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/games/icbm3d/distinfo
==============================================================================
--- head/games/icbm3d/distinfo	Mon Sep 10 02:37:55 2012	(r304015)
+++ head/games/icbm3d/distinfo	Mon Sep 10 02:53:42 2012	(r304016)
@@ -1,2 +1,4 @@
 SHA256 (icbm3d.0.4.tar.gz) = 9ad41c154ef47695771a26875d5415bcedcb139352b1e2175f386d206b0038fd
 SIZE (icbm3d.0.4.tar.gz) = 31187
+SHA256 (icbm3d.gif) = e5d6d45ee11ff669414ac2e22943a0786b62b72035884a06abd5f12dcd0d5f15
+SIZE (icbm3d.gif) = 1024

Modified: head/games/icbm3d/files/patch-aa
==============================================================================
--- head/games/icbm3d/files/patch-aa	Mon Sep 10 02:37:55 2012	(r304015)
+++ head/games/icbm3d/files/patch-aa	Mon Sep 10 02:53:42 2012	(r304016)
@@ -1,22 +0,0 @@
---- makefile	Fri Jul 31 04:41:20 1998
-+++ /home/andy/tmp/wrk/makefile	Mon Aug 10 18:40:01 1998
-@@ -9,14 +9,16 @@
- 
- # Makefile user-definable variables------------------------------------------
- 
--CC=gcc
-+CC?=gcc
-+PREFIX?=/usr/X11R6
-+LOCALBASE?=/usr/X11R6
- MATHLIB=-lm
- 
- INSTALLROOT=$(PREFIX)
- LANGUAGE=english
- 
--XLIB=-L$(PREFIX)/lib -lX11 #-lcompat
--CFLAGS=-I$(PREFIX)/include -O2
-+XLIB=-L$(LOCALBASE)/lib -lX11 #-lcompat
-+CFLAGS+=-I$(LOCALBASE)/include
- 
- 
- # End of makefile user-definable variables-----------------------------------

Added: head/games/icbm3d/files/patch-makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/icbm3d/files/patch-makefile	Mon Sep 10 02:53:42 2012	(r304016)
@@ -0,0 +1,22 @@
+--- makefile.orig	1998-07-31 06:41:20.000000000 +0200
++++ makefile	2012-09-02 23:21:36.000000000 +0200
+@@ -9,14 +9,16 @@
+ 
+ # Makefile user-definable variables------------------------------------------
+ 
+-CC=gcc
++CC?=g++
++PREFIX?=/usr/local
++LOCALBASE?=/usr/local
+ MATHLIB=-lm
+ 
+ INSTALLROOT=$(PREFIX)
+ LANGUAGE=english
+ 
+-XLIB=-L$(PREFIX)/lib -lX11 #-lcompat
+-CFLAGS=-I$(PREFIX)/include -O2
++XLIB=-L$(LOCALBASE)/lib -lX11 #-lcompat
++CFLAGS+=-I$(LOCALBASE)/include
+ 
+ 
+ # End of makefile user-definable variables-----------------------------------

Modified: head/games/icbm3d/pkg-descr
==============================================================================
--- head/games/icbm3d/pkg-descr	Mon Sep 10 02:37:55 2012	(r304015)
+++ head/games/icbm3d/pkg-descr	Mon Sep 10 02:53:42 2012	(r304016)
@@ -1,14 +1,16 @@
-   Like the original "Missile Command" and its clones, this game
-places  you  in  control  of  Anti-ICBM weapons which you use to 
-destroy  an  onslaught of missiles (and other nasties) which are 
-dropping onto your nation.
-   The game ends when your cities have all  been  destroyed. You 
-only   gain   replacement   cities  by  acheiving  certain score
-thresholds during each attack (level).
-   The main difference between this game and  Missile Command is
-that ICBM3D, as the name  suggests,  provides  a 3D perspective. 
-You take advantage of X-Window's  3-button mouse to control your
-firing  sight  ("cross-hair")  in  3-dimensions, and change your 
-viewpoint.
+ICBM3D ("Inter-Continental Ballistic Missiles, 3D") is a 3D game of defense.
+
+Like the original "Missile Command" and its clones, this game places you in
+control of Anti-ICBM weapons which you use to destroy an onslaught of
+missiles (and other nasties) which are dropping onto your nation.
+
+The game ends when your cities have all been destroyed. You only gain
+replacement cities by acheiving certain score thresholds during each attack
+(level).
+
+The main difference between this game and Missile Command is that ICBM3D,
+as the name suggests, provides a 3D perspective. You take advantage of
+X-Window's 3-button mouse to control your firing sight ("cross-hair")
+in 3-dimensions, and change your viewpoint.
 
 WWW: http://www.newbreedsoftware.com/icbm3d/



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