aboutsummaryrefslogtreecommitdiffstats
path: root/games/asteroid
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-10-22 04:13:56 +0800
committerRusmir Dusko <nemysis@FreeBSD.org>2013-10-22 04:13:56 +0800
commit05d28fef74852af91140c9ca2136063011097dca (patch)
treef1e0a4d42216fc62784a656680f91d78303f4e4f /games/asteroid
parentdf91c1ee66282ae547db2447e928fecb42ff5c80 (diff)
downloadfreebsd-ports-gnome-05d28fef74852af91140c9ca2136063011097dca.tar.gz
freebsd-ports-gnome-05d28fef74852af91140c9ca2136063011097dca.tar.zst
freebsd-ports-gnome-05d28fef74852af91140c9ca2136063011097dca.zip
- Change maintainer email to @FreeBSD.org
- Recreate tarball, new GH_COMMIT - Remove dependency for desktopfileutils - Support STAGEDIR - Update WWW - Change pkg-plist Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'games/asteroid')
-rw-r--r--games/asteroid/Makefile18
-rw-r--r--games/asteroid/distinfo4
-rw-r--r--games/asteroid/pkg-descr2
-rw-r--r--games/asteroid/pkg-plist6
4 files changed, 9 insertions, 21 deletions
diff --git a/games/asteroid/Makefile b/games/asteroid/Makefile
index a2d805fe459a..e956f30bde52 100644
--- a/games/asteroid/Makefile
+++ b/games/asteroid/Makefile
@@ -5,7 +5,7 @@ PORTNAME= asteroid
PORTVERSION= 1.2.1
CATEGORIES= games
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Modern version of the arcade classic Asteroid
LICENSE= GPLv3
@@ -14,25 +14,19 @@ USE_GITHUB= yes
GH_ACCOUNT= chazomaticus
GH_PROJECT= asteroid
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 6d23595
+GH_COMMIT= ffeb0fd
+USES= cmake
USE_GL= glut
USE_SDL= mixer sdl
-USE_GNOME= desktopfileutils gtk20
+USE_GNOME= gtk20
USE_XORG= xmu
INSTALLS_ICONS= yes
-USES= cmake
PORTDOCS= AUTHORS NEWS README.md
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
- @-update-desktop-database -q
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/asteroid/distinfo b/games/asteroid/distinfo
index a9e82fa893fa..941107692649 100644
--- a/games/asteroid/distinfo
+++ b/games/asteroid/distinfo
@@ -1,2 +1,2 @@
-SHA256 (asteroid-1.2.1.tar.gz) = 83c22a15bce77b4d040cbdae3c19f8fe87197a3202a1c70415deb2744b5f1c0e
-SIZE (asteroid-1.2.1.tar.gz) = 307691
+SHA256 (asteroid-1.2.1.tar.gz) = e6cc3617428b686293b0972d8808e07e8c8f07e8b7ecfe1168f108a3987a4b04
+SIZE (asteroid-1.2.1.tar.gz) = 307676
diff --git a/games/asteroid/pkg-descr b/games/asteroid/pkg-descr
index 6846adcbc2c8..489ff7fae7ae 100644
--- a/games/asteroid/pkg-descr
+++ b/games/asteroid/pkg-descr
@@ -18,4 +18,4 @@ collect the powerups, run over them; or you can shoot them for bonus points
to figure out the different powerup types.
-WWW: http://chazomaticus.github.com/asteroid/
+WWW: http://chazomaticus.github.io/asteroid/
diff --git a/games/asteroid/pkg-plist b/games/asteroid/pkg-plist
index 55dd61ebef94..331675ec2f36 100644
--- a/games/asteroid/pkg-plist
+++ b/games/asteroid/pkg-plist
@@ -10,13 +10,7 @@ share/applications/asteroid.desktop
%%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