Bug 176258 - [MAINTAINER] games/asteroid: update to 1.2.1, change Homepage and Mastersite
Summary: [MAINTAINER] games/asteroid: update to 1.2.1, change Homepage and Mastersite
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: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-19 02:00 UTC by nemysis
Modified: 2013-02-19 14:30 UTC (History)
0 users

See Also:


Attachments
asteroid-1.2.1.patch (2.82 KB, patch)
2013-02-19 02:00 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-02-19 02:00:00 UTC
- 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
Comment 1 Martin Wilke freebsd_committer 2013-02-19 14:27:08 UTC
State Changed
From-To: open->closed

Committed thx.
Comment 2 dfilter service freebsd_committer 2013-02-19 14:27:21 UTC
Author: miwi
Date: Tue Feb 19 14:27:07 2013
New Revision: 312567
URL: http://svnweb.freebsd.org/changeset/ports/312567

Log:
  - Update to 1.2.1
  - Switch to github
  
  PR:		176258
  Submitted by:	maintainer

Modified:
  head/games/asteroid/Makefile   (contents, props changed)
  head/games/asteroid/distinfo   (contents, props changed)
  head/games/asteroid/pkg-descr   (contents, props changed)
  head/games/asteroid/pkg-plist   (contents, props changed)

Modified: head/games/asteroid/Makefile
==============================================================================
--- head/games/asteroid/Makefile	Tue Feb 19 14:04:06 2013	(r312566)
+++ head/games/asteroid/Makefile	Tue Feb 19 14:27:07 2013	(r312567)
@@ -2,15 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	asteroid
-PORTVERSION=	1.2
+PORTVERSION=	1.2.1
 CATEGORIES=	games
-MASTER_SITES=	SF/chaoslizard/Asteroid/v1.2%20%282012%20Apr.%2022%29/
 
 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 +24,7 @@ INSTALLS_ICONS=	yes
 USE_CMAKE=	yes
 CMAKE_VERBOSE=	yes
 
-PORTDATA=	*
-PORTDOCS=	AUTHORS NEWS README
+PORTDOCS=	AUTHORS NEWS README.md
 
 .include <bsd.port.options.mk>
 
@@ -29,5 +33,6 @@ post-install:
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
+	@-update-desktop-database -q
 
 .include <bsd.port.mk>

Modified: head/games/asteroid/distinfo
==============================================================================
--- head/games/asteroid/distinfo	Tue Feb 19 14:04:06 2013	(r312566)
+++ head/games/asteroid/distinfo	Tue Feb 19 14:27:07 2013	(r312567)
@@ -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

Modified: head/games/asteroid/pkg-descr
==============================================================================
--- head/games/asteroid/pkg-descr	Tue Feb 19 14:04:06 2013	(r312566)
+++ head/games/asteroid/pkg-descr	Tue Feb 19 14:27:07 2013	(r312567)
@@ -18,4 +18,4 @@ collect the powerups, run over them; or 
 to figure out the different powerup types.
 
 
-WWW: http://chaoslizard.sourceforge.net/asteroid/
+WWW: http://chazomaticus.github.com/asteroid/

Modified: head/games/asteroid/pkg-plist
==============================================================================
--- head/games/asteroid/pkg-plist	Tue Feb 19 14:04:06 2013	(r312566)
+++ head/games/asteroid/pkg-plist	Tue Feb 19 14:27:07 2013	(r312567)
@@ -1,8 +1,20 @@
 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
_______________________________________________
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"