Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 22:49:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334268 - head/games/tecnoballz
Message-ID:  <201311182249.rAIMnAR7045348@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov 18 22:49:10 2013
New Revision: 334268
URL: http://svnweb.freebsd.org/changeset/ports/334268

Log:
  - Support staging
  - Convert USE_GMAKE to USES
  - Use new LIB_DEPENDS syntax

Modified:
  head/games/tecnoballz/Makefile
  head/games/tecnoballz/pkg-install
  head/games/tecnoballz/pkg-plist

Modified: head/games/tecnoballz/Makefile
==============================================================================
--- head/games/tecnoballz/Makefile	Mon Nov 18 22:02:53 2013	(r334267)
+++ head/games/tecnoballz/Makefile	Mon Nov 18 22:49:10 2013	(r334268)
@@ -12,18 +12,18 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	A brick breaker (Arkanoid-like game)
 
-LIB_DEPENDS=	mikmod:${PORTSDIR}/audio/libmikmod \
-		vorbisfile:${PORTSDIR}/audio/libvorbis \
-		ogg:${PORTSDIR}/audio/libogg \
-		smpeg:${PORTSDIR}/multimedia/smpeg
+LIB_DEPENDS=	libmikmod.so:${PORTSDIR}/audio/libmikmod \
+		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
+		libogg.so:${PORTSDIR}/audio/libogg \
+		libsmpeg.so:${PORTSDIR}/multimedia/smpeg
 
+USES=		gmake
 USE_AUTOTOOLS=	automake aclocal
 AUTOMAKE_ARGS=	--add-missing
 USE_SDL=	sdl mixer image
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
-MAN6=		tecnoballz.6
+PORTDATA=	*
 
 DESKTOP_ENTRIES=	"TecnoballZ" \
 			"A brick breaker (Arkanoid-like game)" \
@@ -32,7 +32,6 @@ DESKTOP_ENTRIES=	"TecnoballZ" \
 			"Game;ArcadeGame;" \
 			false
 
-NO_STAGE=	yes
 post-patch:
 	@${FIND} ${WRKSRC}/include -name '*.h' | ${XARGS} ${REINPLACE_CMD} \
 		-e 's|SDL/||'
@@ -46,6 +45,6 @@ post-patch:
 
 post-install:
 	@cd ${WRKSRC}/src/TecnoballZ && ${FIND} . -name "Makefile*" -delete
-	@cd ${WRKSRC}/src/TecnoballZ && ${COPYTREE_SHARE} . ${DATADIR}
+	@cd ${WRKSRC}/src/TecnoballZ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>

Modified: head/games/tecnoballz/pkg-install
==============================================================================
--- head/games/tecnoballz/pkg-install	Mon Nov 18 22:02:53 2013	(r334267)
+++ head/games/tecnoballz/pkg-install	Mon Nov 18 22:49:10 2013	(r334268)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
-SCOREDIR="/var/games/tecnoballs"
-SCOREFILE="/var/games/tecnoballz/tecnoballz.hi"
+SCOREDIR="/var/games/tecnoballz"
+SCOREFILE="${SCOREDIR}/tecnoballz.hi"
 
 [ "$2" != "POST-INSTALL" -o -f "$SCOREFILE" ] && exit 0
 

Modified: head/games/tecnoballz/pkg-plist
==============================================================================
--- head/games/tecnoballz/pkg-plist	Mon Nov 18 22:02:53 2013	(r334267)
+++ head/games/tecnoballz/pkg-plist	Mon Nov 18 22:49:10 2013	(r334268)
@@ -1,175 +1,6 @@
+@group games
+@mode 2555
 bin/tecnoballz
-%%DATADIR%%/cosinus128.list
-%%DATADIR%%/gard_lissa.list
-%%DATADIR%%/hires/all_sprites.png
-%%DATADIR%%/hires/bricks.png
-%%DATADIR%%/hires/font_score.png
-%%DATADIR%%/hires/game_fonts.png
-%%DATADIR%%/hires/gigablitz.png
-%%DATADIR%%/hires/head_animation.png
-%%DATADIR%%/hires/menu_fonts.png
-%%DATADIR%%/hires/paddles_1.png
-%%DATADIR%%/hires/paddles_2.png
-%%DATADIR%%/hires/right_panel.png
-%%DATADIR%%/hires/shop.png
-%%DATADIR%%/hires/small_fonts.png
-%%DATADIR%%/hires/tilesmap.png
-%%DATADIR%%/levels-data.xml
-%%DATADIR%%/lores/all_sprites.png
-%%DATADIR%%/lores/bricks.png
-%%DATADIR%%/lores/font_score.png
-%%DATADIR%%/lores/game_fonts.png
-%%DATADIR%%/lores/gigablitz.png
-%%DATADIR%%/lores/head_animation.png
-%%DATADIR%%/lores/menu_fonts.png
-%%DATADIR%%/lores/paddles_1.png
-%%DATADIR%%/lores/paddles_2.png
-%%DATADIR%%/lores/right_panel.png
-%%DATADIR%%/lores/shop.png
-%%DATADIR%%/lores/small_fonts.png
-%%DATADIR%%/lores/tilesmap.png
-%%DATADIR%%/min60map.png
-%%DATADIR%%/musics/area1-game.mod
-%%DATADIR%%/musics/area1-game2.mod
-%%DATADIR%%/musics/area2-game.mod
-%%DATADIR%%/musics/area3-game.mod
-%%DATADIR%%/musics/area4-game.mod
-%%DATADIR%%/musics/area5-game.mod
-%%DATADIR%%/musics/fridge-in-space_from_reg-zbb.mod
-%%DATADIR%%/musics/gardien-go.mod
-%%DATADIR%%/musics/high-score.mod
-%%DATADIR%%/musics/in-game-music-1_reg.mod
-%%DATADIR%%/musics/mon-lapin_reg-zbb.mod
-%%DATADIR%%/musics/over-theme.mod
-%%DATADIR%%/musics/tecno-winn.mod
-%%DATADIR%%/musics/tecnoballz.mod
-%%DATADIR%%/musics/termigator_reg-zbb.mod
-%%DATADIR%%/sounds/ralarm.wav
-%%DATADIR%%/sounds/rappar.wav
-%%DATADIR%%/sounds/raspire.wav
-%%DATADIR%%/sounds/ratom.wav
-%%DATADIR%%/sounds/rbricote.wav
-%%DATADIR%%/sounds/rbrique1.wav
-%%DATADIR%%/sounds/rbrique2.wav
-%%DATADIR%%/sounds/rbrique3.wav
-%%DATADIR%%/sounds/rbrique4.wav
-%%DATADIR%%/sounds/rbrique5.wav
-%%DATADIR%%/sounds/rdetruit_indes.wav
-%%DATADIR%%/sounds/reject.wav
-%%DATADIR%%/sounds/rexeplo_atom.wav
-%%DATADIR%%/sounds/rexplo_big.wav
-%%DATADIR%%/sounds/rexplo_rak.wav
-%%DATADIR%%/sounds/rgadget_sound.wav
-%%DATADIR%%/sounds/rindes_1.wav
-%%DATADIR%%/sounds/rindes_2.wav
-%%DATADIR%%/sounds/rlife_moins.wav
-%%DATADIR%%/sounds/rlife_plus.wav
-%%DATADIR%%/sounds/rmoney.wav
-%%DATADIR%%/sounds/rmontre_touche.wav
-%%DATADIR%%/sounds/rraquette.wav
-%%DATADIR%%/sounds/rtecno.wav
-%%DATADIR%%/sounds/rtir_monstre.wav
-%%DATADIR%%/sounds/rtir_rak.wav
-%%DATADIR%%/sounds/rtransfo.wav
-%%DATADIR%%/tableau.data
-%%DATADIR%%/texts/main_menu_en.txt
-%%DATADIR%%/texts/main_menu_fr.txt
-%%DATADIR%%/texts/popup_menu_en.txt
-%%DATADIR%%/texts/popup_menu_fr.txt
-%%DATADIR%%/texts/scrolltext_en.txt
-%%DATADIR%%/texts/scrolltext_fr.txt
-%%DATADIR%%/texts/shop_en.txt
-%%DATADIR%%/texts/shop_fr.txt
-%%DATADIR%%/texts/short_info_messages_en.txt
-%%DATADIR%%/texts/short_info_messages_fr.txt
-%%DATADIR%%/textures/map01.png
-%%DATADIR%%/textures/map02.png
-%%DATADIR%%/textures/map03.png
-%%DATADIR%%/textures/map04.png
-%%DATADIR%%/textures/map05.png
-%%DATADIR%%/textures/map06.png
-%%DATADIR%%/textures/map07.png
-%%DATADIR%%/textures/map08.png
-%%DATADIR%%/textures/map09.png
-%%DATADIR%%/textures/map10.png
-%%DATADIR%%/textures/map11.png
-%%DATADIR%%/textures/map12.png
-%%DATADIR%%/textures/map13.png
-%%DATADIR%%/textures/map14.png
-%%DATADIR%%/textures/map15.png
-%%DATADIR%%/textures/map16.png
-%%DATADIR%%/textures/map17.png
-%%DATADIR%%/textures/map18.png
-%%DATADIR%%/textures/map19.png
-%%DATADIR%%/textures/map20.png
-%%DATADIR%%/textures/map21.png
-%%DATADIR%%/textures/map22.png
-%%DATADIR%%/textures/map23.png
-%%DATADIR%%/textures/map24.png
-%%DATADIR%%/textures/map25.png
-%%DATADIR%%/textures/map26.png
-%%DATADIR%%/textures/map27.png
-%%DATADIR%%/textures/map28.png
-%%DATADIR%%/textures/map29.png
-%%DATADIR%%/textures/map30.png
-%%DATADIR%%/textures/map31.png
-%%DATADIR%%/textures/map32.png
-%%DATADIR%%/textures/map33.png
-%%DATADIR%%/textures/map34.png
-%%DATADIR%%/textures/map35.png
-%%DATADIR%%/textures/map36.png
-%%DATADIR%%/textures/map37.png
-%%DATADIR%%/textures/map38.png
-%%DATADIR%%/textures/map39.png
-%%DATADIR%%/textures/map40.png
-%%DATADIR%%/textures/map41.png
-%%DATADIR%%/textures/map42.png
-%%DATADIR%%/textures/map43.png
-%%DATADIR%%/textures/map44.png
-%%DATADIR%%/textures/map45.png
-%%DATADIR%%/textures/map46.png
-%%DATADIR%%/textures/map47.png
-%%DATADIR%%/textures/map48.png
-%%DATADIR%%/textures/map49.png
-%%DATADIR%%/textures/map50.png
-%%DATADIR%%/textures/map51.png
-%%DATADIR%%/textures/map52.png
-%%DATADIR%%/textures/map53.png
-%%DATADIR%%/textures/map54.png
-%%DATADIR%%/textures/map55.png
-%%DATADIR%%/textures/map56.png
-%%DATADIR%%/textures/map57.png
-%%DATADIR%%/textures/map58.png
-%%DATADIR%%/textures/map59.png
-%%DATADIR%%/textures/map60.png
-%%DATADIR%%/textures/map61.png
-%%DATADIR%%/textures/map62.png
-%%DATADIR%%/textures/map63.png
-%%DATADIR%%/textures/map64.png
-%%DATADIR%%/textures/map65.png
-%%DATADIR%%/textures/map66.png
-%%DATADIR%%/textures/map67.png
-%%DATADIR%%/textures/map68.png
-%%DATADIR%%/textures/map69.png
-%%DATADIR%%/textures/map70.png
-%%DATADIR%%/textures/map71.png
-%%DATADIR%%/textures/map72.png
-%%DATADIR%%/textures/map73.png
-%%DATADIR%%/textures/map74.png
-%%DATADIR%%/textures/map75.png
-%%DATADIR%%/textures/map76.png
-%%DATADIR%%/textures/map77.png
-%%DATADIR%%/textures/map78.png
-%%DATADIR%%/tilemap-congratulation_20.data
-%%DATADIR%%/tilemap-congratulation_40.data
-%%DATADIR%%/tilemap-guardians_20.data
-%%DATADIR%%/tilemap-guardians_40.data
-%%DATADIR%%/tilemap-menu_20.data
-%%DATADIR%%/tilemap-menu_40.data
-@dirrm %%DATADIR%%/textures
-@dirrm %%DATADIR%%/texts
-@dirrm %%DATADIR%%/sounds
-@dirrm %%DATADIR%%/musics
-@dirrm %%DATADIR%%/lores
-@dirrm %%DATADIR%%/hires
-@dirrm %%DATADIR%%
+@mode
+@group
+man/man6/tecnoballz.6.gz



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