Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 12:58:11 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337412 - head/games/sdlroids
Message-ID:  <201312251258.rBPCwBKj024550@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Dec 25 12:58:11 2013
New Revision: 337412
URL: http://svnweb.freebsd.org/changeset/ports/337412

Log:
  - Change master sites
  - USES gmake instead of USE_GMAKE
  - Add USE_GCC=yes
  - Add DOCS Option
  - Support STAGEDIR, add CONFIGURE_ARGS
  - Change Desktop entry file
  - Break lines around 80 characters
  - Change WWW
  - Change pkg-plist, use %%DATADIR%%
  
  Approved by:	pawel / wg (mentors, implicit)

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

Modified: head/games/sdlroids/Makefile
==============================================================================
--- head/games/sdlroids/Makefile	Wed Dec 25 12:54:43 2013	(r337411)
+++ head/games/sdlroids/Makefile	Wed Dec 25 12:58:11 2013	(r337412)
@@ -6,7 +6,7 @@ PORTVERSION=	1.3.4
 PORTREVISION=	9
 CATEGORIES=	games
 MASTER_SITES=	SF \
-		SF/nemysisfreebsdp/:icons
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}.png:icons
 DIST_SUBDIR=	${PORTNAME}
@@ -18,27 +18,25 @@ COMMENT=	Enhanced shoot-the-asteroids ga
 LICENSE=	GPLv2
 
 USE_BZIP2=	yes
+USES=		gmake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+CONFIGURE_ARGS=	 --datadir=${STAGEDIR}${PREFIX}/share
+USE_GCC=	yes
 USE_CSTD=	gnu89
 USE_SDL=	mixer sdl
 
-MAN6=		sdlroids.6
-
 PORTDOCS=	ChangeLog README README.orig README.petopt README.xhyperoid TODO
 
-DESKTOP_ENTRIES="SDLRoids" "${COMMENT}" "${PORTNAME}" \
-		"${PORTNAME} -n 2" "Game;ArcadeGame;" false
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="SDLRoids" "" "${PORTNAME}" \
+		"${PORTNAME} -n 2" "Game;ArcadeGame;" ""
 
 post-install:
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
 
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/sdlroids/pkg-descr
==============================================================================
--- head/games/sdlroids/pkg-descr	Wed Dec 25 12:54:43 2013	(r337411)
+++ head/games/sdlroids/pkg-descr	Wed Dec 25 12:58:11 2013	(r337412)
@@ -4,4 +4,4 @@ is a UNIX port of the 16-bit Windows gam
 xhyperoid are that it's using SDL for sound and graphics, has a couple
 of extra powerups  and that the shield behaves differently.
 
-WWW: http://david.hedbor.org/projects/sdlroids/
+WWW: https://sourceforge.net/projects/sdlroids/

Modified: head/games/sdlroids/pkg-plist
==============================================================================
--- head/games/sdlroids/pkg-plist	Wed Dec 25 12:54:43 2013	(r337411)
+++ head/games/sdlroids/pkg-plist	Wed Dec 25 12:58:11 2013	(r337412)
@@ -1,35 +1,36 @@
 bin/sdlroids
+man/man6/sdlroids.6.gz
 share/pixmaps/sdlroids.png
-share/sdlroids/bmp/blank.bmp
-share/sdlroids/bmp/bomb.bmp
-share/sdlroids/bmp/icon.bmp
-share/sdlroids/bmp/level.bmp
-share/sdlroids/bmp/life.bmp
-share/sdlroids/bmp/num0.bmp
-share/sdlroids/bmp/num1.bmp
-share/sdlroids/bmp/num2.bmp
-share/sdlroids/bmp/num3.bmp
-share/sdlroids/bmp/num4.bmp
-share/sdlroids/bmp/num5.bmp
-share/sdlroids/bmp/num6.bmp
-share/sdlroids/bmp/num7.bmp
-share/sdlroids/bmp/num8.bmp
-share/sdlroids/bmp/num9.bmp
-share/sdlroids/bmp/plus.bmp
-share/sdlroids/bmp/score.bmp
-share/sdlroids/bmp/shield.bmp
-share/sdlroids/sounds/bonusgot.wav
-share/sdlroids/sounds/bshot.wav
-share/sdlroids/sounds/bwound.wav
-share/sdlroids/sounds/explode.wav
-share/sdlroids/sounds/explode2.wav
-share/sdlroids/sounds/newbad.wav
-share/sdlroids/sounds/newbonus.wav
-share/sdlroids/sounds/phit.wav
-share/sdlroids/sounds/pshot.wav
-share/sdlroids/sounds/swarmsplit.wav
-share/sdlroids/sounds/thrust.wav
-share/sdlroids/sounds/title.wav
-@dirrm share/sdlroids/sounds
-@dirrm share/sdlroids/bmp
-@dirrm share/sdlroids
+%%DATADIR%%/bmp/blank.bmp
+%%DATADIR%%/bmp/bomb.bmp
+%%DATADIR%%/bmp/icon.bmp
+%%DATADIR%%/bmp/level.bmp
+%%DATADIR%%/bmp/life.bmp
+%%DATADIR%%/bmp/num0.bmp
+%%DATADIR%%/bmp/num1.bmp
+%%DATADIR%%/bmp/num2.bmp
+%%DATADIR%%/bmp/num3.bmp
+%%DATADIR%%/bmp/num4.bmp
+%%DATADIR%%/bmp/num5.bmp
+%%DATADIR%%/bmp/num6.bmp
+%%DATADIR%%/bmp/num7.bmp
+%%DATADIR%%/bmp/num8.bmp
+%%DATADIR%%/bmp/num9.bmp
+%%DATADIR%%/bmp/plus.bmp
+%%DATADIR%%/bmp/score.bmp
+%%DATADIR%%/bmp/shield.bmp
+%%DATADIR%%/sounds/bonusgot.wav
+%%DATADIR%%/sounds/bshot.wav
+%%DATADIR%%/sounds/bwound.wav
+%%DATADIR%%/sounds/explode.wav
+%%DATADIR%%/sounds/explode2.wav
+%%DATADIR%%/sounds/newbad.wav
+%%DATADIR%%/sounds/newbonus.wav
+%%DATADIR%%/sounds/phit.wav
+%%DATADIR%%/sounds/pshot.wav
+%%DATADIR%%/sounds/swarmsplit.wav
+%%DATADIR%%/sounds/thrust.wav
+%%DATADIR%%/sounds/title.wav
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/bmp
+@dirrm %%DATADIR%%



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