Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2013 02:51:57 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/176258: [MAINTAINER] games/asteroid: update to 1.2.1, change Homepage and Mastersite
Message-ID:  <20130219015204.10DE43E2@hub.freebsd.org>
Resent-Message-ID: <201302190200.r1J200RZ038871@freefall.freebsd.org>

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

>Number:         176258
>Category:       ports
>Synopsis:       [MAINTAINER] games/asteroid: update to 1.2.1, change Homepage and Mastersite
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 19 02:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:
- Update to 1.2.1

Makefile changed:
-MASTER_SITES=	SF/chaoslizard/Asteroid/v1.2%20%282012%20Apr.%2022%29/
+MASTER_SITES=	GH
+USE_GITHUB=	yes
-PORTDATA=	* <-- better to use full pkg-plist
+PORTDOCS=	AUTHORS NEWS README.md
+	@-update-desktop-database -q

Changed Homepage in pkg-descr
-WWW: http://chaoslizard.sourceforge.net/asteroid/
+WWW: http://chazomaticus.github.com/asteroid/

Changed and refined:
 pkg-plist

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- asteroid-1.2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/asteroid/Makefile ./Makefile
--- /usr/ports/games/asteroid/Makefile	2013-02-10 14:22:24.000000000 +0100
+++ ./Makefile	2013-02-19 02:44:29.000000000 +0100
@@ -2,15 +2,21 @@
 # $FreeBSD: head/games/asteroid/Makefile 311996 2013-02-10 07:49:40Z miwi $
 
 PORTNAME=	asteroid
-PORTVERSION=	1.2
+PORTVERSION=	1.2.1
 CATEGORIES=	games
-MASTER_SITES=	SF/chaoslizard/Asteroid/v1.2%20%282012%20Apr.%2022%29/
+MASTER_SITES=	GH
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Modern version of the arcade classic Asteroid
 
 LICENSE=	GPLv3
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	chazomaticus
+GH_PROJECT=	asteroid
+GH_TAGNAME=	master
+GH_COMMIT=	6d23595
+
 USE_GL=		glut
 USE_SDL=	mixer sdl
 USE_GNOME=	gtk20
@@ -19,8 +25,7 @@
 USE_CMAKE=	yes
 CMAKE_VERBOSE=	yes
 
-PORTDATA=	*
-PORTDOCS=	AUTHORS NEWS README
+PORTDOCS=	AUTHORS NEWS README.md
 
 .include <bsd.port.options.mk>
 
@@ -29,5 +34,6 @@
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
+	@-update-desktop-database -q
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/asteroid/distinfo ./distinfo
--- /usr/ports/games/asteroid/distinfo	2013-02-10 14:22:24.000000000 +0100
+++ ./distinfo	2013-02-19 02:36:54.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (asteroid-1.2.tar.gz) = e268985efd23e65ad0e96d93bcc711d48f9a58da419645eb20a24a6a0ceaabe1
-SIZE (asteroid-1.2.tar.gz) = 310346
+SHA256 (asteroid-1.2.1.tar.gz) = 83c22a15bce77b4d040cbdae3c19f8fe87197a3202a1c70415deb2744b5f1c0e
+SIZE (asteroid-1.2.1.tar.gz) = 307691
diff -ruN --exclude=CVS /usr/ports/games/asteroid/pkg-descr ./pkg-descr
--- /usr/ports/games/asteroid/pkg-descr	2013-02-10 14:22:24.000000000 +0100
+++ ./pkg-descr	2013-02-19 02:22:03.000000000 +0100
@@ -18,4 +18,4 @@
 to figure out the different powerup types.
 
 
-WWW: http://chaoslizard.sourceforge.net/asteroid/
+WWW: http://chazomaticus.github.com/asteroid/
diff -ruN --exclude=CVS /usr/ports/games/asteroid/pkg-plist ./pkg-plist
--- /usr/ports/games/asteroid/pkg-plist	2013-02-10 14:22:24.000000000 +0100
+++ ./pkg-plist	2013-02-19 02:41:02.000000000 +0100
@@ -1,8 +1,22 @@
 bin/asteroid
 share/applications/asteroid.desktop
+%%DATADIR%%/gfx/asteroid.bmp
+%%DATADIR%%/sfx/exp_asteroid.wav
+%%DATADIR%%/sfx/exp_other.wav
+%%DATADIR%%/sfx/exp_ship.wav
+%%DATADIR%%/sfx/get_powerup.wav
+%%DATADIR%%/sfx/newlevel.wav
+%%DATADIR%%/sfx/spawn_alien.wav
+%%DATADIR%%/sfx/spawn_powerup.wav
+%%DATADIR%%/sfx/spawn_shot.wav
 share/icons/hicolor/scalable/apps/asteroid.svg
 @dirrmtry share/icons/hicolor/scalable/apps
 @dirrmtry share/icons/hicolor/scalable
 @dirrmtry share/icons/hicolor
 @dirrmtry share/icons
+@dirrm %%DATADIR%%/sfx
+@dirrm %%DATADIR%%/gfx
+@dirrm %%DATADIR%%
 @dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database  -q || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database  -q || /usr/bin/true
--- asteroid-1.2.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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