diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-09-06 16:46:55 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-09-06 16:46:55 +0000 |
commit | bba6a0aee6b729b32de962b3e7a5f1d042626cf7 (patch) | |
tree | 20e7b7af77e4949913303962c625e52134caf946 /games | |
parent | 786419203a568e410dc65d8ffbab52a4cdd74679 (diff) | |
download | ports-bba6a0aee6b729b32de962b3e7a5f1d042626cf7.tar.gz ports-bba6a0aee6b729b32de962b3e7a5f1d042626cf7.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/gigalomania/Makefile | 18 | ||||
-rw-r--r-- | games/gigalomania/distinfo | 4 | ||||
-rw-r--r-- | games/gigalomania/pkg-plist | 26 |
3 files changed, 33 insertions, 15 deletions
diff --git a/games/gigalomania/Makefile b/games/gigalomania/Makefile index 6f430ea101a5..9962ee389a53 100644 --- a/games/gigalomania/Makefile +++ b/games/gigalomania/Makefile @@ -2,16 +2,16 @@ # $FreeBSD$ PORTNAME= gigalomania -PORTVERSION= 0.26 +PORTVERSION= 0.27 CATEGORIES= games -MASTER_SITES= https://launchpadlibrarian.net/135701637/ +MASTER_SITES= https://launchpadlibrarian.net/180606846/ DISTNAME= ${PORTNAME}src MAINTAINER= pawel@FreeBSD.org COMMENT= Open source 2D real time strategy god game USES= zip -USE_SDL= image mixer sdl +USE_SDL= image2 mixer2 sdl2 PORTDOCS= readme.html @@ -24,10 +24,9 @@ post-patch: -e 's|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/Makefile @${FIND} ${WRKSRC} -exec ${GREP} -q "__linux" {} \; \ - -exec ${REINPLACE_CMD} 's|__linux|__FreeBSD__|' {} \; + -exec ${REINPLACE_CMD} 's|__linux|__${OPSYS}__|' {} \; @${REINPLACE_CMD} 's|/opt/gigalomania/||g' \ - ${WRKSRC}/gigalomania.desktop \ - ${WRKSRC}/gigalomania_fullscreen.desktop + ${WRKSRC}/gigalomania.desktop @${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|g' \ ${WRKSRC}/game.cpp \ ${WRKSRC}/gamestate.cpp @@ -35,13 +34,10 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} -.for dir in gfx islands sound - cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} -.endfor + (cd ${WRKSRC} && ${COPYTREE_SHARE} "gfx islands sound" \ + ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_fullscreen.desktop \ - ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}64.png \ ${STAGEDIR}${PREFIX}/share/pixmaps @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/games/gigalomania/distinfo b/games/gigalomania/distinfo index d712f312eb06..a2dba75115b9 100644 --- a/games/gigalomania/distinfo +++ b/games/gigalomania/distinfo @@ -1,2 +1,2 @@ -SHA256 (gigalomaniasrc.zip) = 8912b12aa6397f396954c6b742a1842f6bc671a60c843975b341fc22d3211ecf -SIZE (gigalomaniasrc.zip) = 9120306 +SHA256 (gigalomaniasrc.zip) = eb3d773ccf881f09aaceddc55d512ac25ab23777d69a1646dbc91ee419da0f5b +SIZE (gigalomaniasrc.zip) = 14573287 diff --git a/games/gigalomania/pkg-plist b/games/gigalomania/pkg-plist index df8ee4051237..5dfcb6305eff 100644 --- a/games/gigalomania/pkg-plist +++ b/games/gigalomania/pkg-plist @@ -1,6 +1,5 @@ bin/gigalomania share/applications/gigalomania.desktop -share/applications/gigalomania_fullscreen.desktop %%DATADIR%%/gfx/attacker_ammo.png %%DATADIR%%/gfx/attacker_flying.png %%DATADIR%%/gfx/attacker_walking_0_0.png @@ -23,7 +22,10 @@ share/applications/gigalomania_fullscreen.desktop %%DATADIR%%/gfx/attacker_walking_3_1.png %%DATADIR%%/gfx/attacker_walking_3_2.png %%DATADIR%%/gfx/attacker_walking_3_3.png -%%DATADIR%%/gfx/attacker_walking_4.png +%%DATADIR%%/gfx/attacker_walking_4_0.png +%%DATADIR%%/gfx/attacker_walking_4_1.png +%%DATADIR%%/gfx/attacker_walking_4_2.png +%%DATADIR%%/gfx/attacker_walking_4_3.png %%DATADIR%%/gfx/attacker_walking_5.png %%DATADIR%%/gfx/building_factory_4.png %%DATADIR%%/gfx/building_factory_5.png @@ -52,6 +54,7 @@ share/applications/gigalomania_fullscreen.desktop %%DATADIR%%/gfx/building_tower_9.png %%DATADIR%%/gfx/deadtree1_00.png %%DATADIR%%/gfx/defenders.png +%%DATADIR%%/gfx/explosions_test4.png %%DATADIR%%/gfx/features.png %%DATADIR%%/gfx/font.png %%DATADIR%%/gfx/icons.png @@ -103,9 +106,28 @@ share/applications/gigalomania_fullscreen.desktop %%DATADIR%%/islands/x.map %%DATADIR%%/islands/yen.map %%DATADIR%%/islands/zinc.map +%%DATADIR%%/sound/biplane.ogg %%DATADIR%%/sound/bomb.wav +%%DATADIR%%/sound/ergonomically_terrific.wav +%%DATADIR%%/sound/it_s_all_over.wav +%%DATADIR%%/sound/jetplane.ogg %%DATADIR%%/sound/misc_menu_3.wav %%DATADIR%%/sound/pain1.wav +%%DATADIR%%/sound/putting_you_on_hold.wav +%%DATADIR%%/sound/spaceship.ogg +%%DATADIR%%/sound/the_design_is_finished.wav +%%DATADIR%%/sound/the_factory_s_been_destroyed.wav +%%DATADIR%%/sound/the_lab_s_been_destroyed.wav +%%DATADIR%%/sound/the_mine_is_destroyed.wav +%%DATADIR%%/sound/the_production_run_s_completed.wav +%%DATADIR%%/sound/the_sector_s_been_destroyed.wav +%%DATADIR%%/sound/tower_critical.wav +%%DATADIR%%/sound/we_re_running_out_of_elements.wav +%%DATADIR%%/sound/we_ve_advanced_a_tech_level.wav +%%DATADIR%%/sound/we_ve_been_nuked.wav +%%DATADIR%%/sound/we_ve_conquered_the_sector.wav +%%DATADIR%%/sound/we_ve_nuked_them.wav +%%DATADIR%%/sound/we_ve_won.wav %%DATADIR%%/sound/woodbrk.wav share/pixmaps/gigalomania64.png @dirrm %%DATADIR%%/sound |