svn commit: r312684 - in head/games: . gigalomania

Pawel Pekala pawel at FreeBSD.org
Wed Feb 20 23:30:17 UTC 2013


Author: pawel
Date: Wed Feb 20 23:30:15 2013
New Revision: 312684
URL: http://svnweb.freebsd.org/changeset/ports/312684

Log:
  Gigalomania is a 2D real time strategy game that is a clone of Mega-Lo-Mania.
  The gameplay consists of researching and developing new technology with
  which to conquer your enemies, from rocks and sticks to nuclear weapons and
  spaceships. You can advance through ten different ages, from the stone age
  to the future. There are 28 different maps to play through.
  
  WWW: http://homepage.ntlworld.com/mark.harman/comp_gigalomania.html

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

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Wed Feb 20 23:08:31 2013	(r312683)
+++ head/games/Makefile	Wed Feb 20 23:30:15 2013	(r312684)
@@ -303,6 +303,7 @@
     SUBDIR += ggz-kde-client
     SUBDIR += ggz-sdl-games
     SUBDIR += ggz-txt-client
+    SUBDIR += gigalomania
     SUBDIR += gillo
     SUBDIR += gish-demo
     SUBDIR += gl-117

Added: head/games/gigalomania/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gigalomania/Makefile	Wed Feb 20 23:30:15 2013	(r312684)
@@ -0,0 +1,50 @@
+# Created by: Pawel Pekala <pawel at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	gigalomania
+PORTVERSION=	0.25
+CATEGORIES=	games
+MASTER_SITES=	https://launchpadlibrarian.net/130757462/
+DISTNAME=	${PORTNAME}src
+
+MAINTAINER=	pawel at FreeBSD.org
+COMMENT=	Open source 2D real time strategy god game
+
+USE_ZIP=	yes
+USE_SDL=	image mixer sdl
+
+PORTDOCS=	readme.html
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|CC=g++|CC=${CXX}|' \
+		-e '/^CCFLAGS/ s|-O2|${CXXFLAGS}|; s|-O2||' \
+		-e 's|/usr/X11R6|${LOCALBASE}|' \
+		${WRKSRC}/Makefile
+	@${FIND} ${WRKSRC} -exec ${GREP} -q "__linux" {} \; \
+		-exec ${REINPLACE_CMD} 's|__linux|__FreeBSD__|' {} \;
+	@${REINPLACE_CMD} 's|/opt/gigalomania/||g' \
+		${WRKSRC}/gigalomania.desktop \
+		${WRKSRC}/gigalomania_fullscreen.desktop
+	@${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|g' \
+		${WRKSRC}/game.cpp \
+		${WRKSRC}/gamestate.cpp
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${MKDIR} ${DATADIR}
+.for dir in gfx islands sound
+	cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}
+.endfor
+	${MKDIR} ${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_fullscreen.desktop \
+		${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}64.png ${PREFIX}/share/pixmaps
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/games/gigalomania/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gigalomania/distinfo	Wed Feb 20 23:30:15 2013	(r312684)
@@ -0,0 +1,2 @@
+SHA256 (gigalomaniasrc.zip) = 198c4fc41341cc7e408c3b942600cecdce4d5913903ac1ab0071393837c3c60b
+SIZE (gigalomaniasrc.zip) = 9100433

Added: head/games/gigalomania/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gigalomania/pkg-descr	Wed Feb 20 23:30:15 2013	(r312684)
@@ -0,0 +1,7 @@
+Gigalomania is a 2D real time strategy game that is a clone of Mega-Lo-Mania.
+The gameplay consists of researching and developing new technology with
+which to conquer your enemies, from rocks and sticks to nuclear weapons and
+spaceships. You can advance through ten different ages, from the stone age
+to the future. There are 28 different maps to play through.
+
+WWW: http://homepage.ntlworld.com/mark.harman/comp_gigalomania.html

Added: head/games/gigalomania/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gigalomania/pkg-plist	Wed Feb 20 23:30:15 2013	(r312684)
@@ -0,0 +1,115 @@
+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
+%%DATADIR%%/gfx/attacker_walking_0_1.png
+%%DATADIR%%/gfx/attacker_walking_0_2.png
+%%DATADIR%%/gfx/attacker_walking_0_3.png
+%%DATADIR%%/gfx/attacker_walking_10_0.png
+%%DATADIR%%/gfx/attacker_walking_10_1.png
+%%DATADIR%%/gfx/attacker_walking_10_2.png
+%%DATADIR%%/gfx/attacker_walking_10_3.png
+%%DATADIR%%/gfx/attacker_walking_1_0.png
+%%DATADIR%%/gfx/attacker_walking_1_1.png
+%%DATADIR%%/gfx/attacker_walking_1_2.png
+%%DATADIR%%/gfx/attacker_walking_1_3.png
+%%DATADIR%%/gfx/attacker_walking_2_0.png
+%%DATADIR%%/gfx/attacker_walking_2_1.png
+%%DATADIR%%/gfx/attacker_walking_2_2.png
+%%DATADIR%%/gfx/attacker_walking_2_3.png
+%%DATADIR%%/gfx/attacker_walking_3_0.png
+%%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_5.png
+%%DATADIR%%/gfx/building_factory_4.png
+%%DATADIR%%/gfx/building_factory_5.png
+%%DATADIR%%/gfx/building_factory_6.png
+%%DATADIR%%/gfx/building_factory_7.png
+%%DATADIR%%/gfx/building_factory_8.png
+%%DATADIR%%/gfx/building_lab_5.png
+%%DATADIR%%/gfx/building_lab_6.png
+%%DATADIR%%/gfx/building_lab_7.png
+%%DATADIR%%/gfx/building_lab_8.png
+%%DATADIR%%/gfx/building_mine_3.png
+%%DATADIR%%/gfx/building_mine_4.png
+%%DATADIR%%/gfx/building_mine_5.png
+%%DATADIR%%/gfx/building_mine_6.png
+%%DATADIR%%/gfx/building_mine_7.png
+%%DATADIR%%/gfx/building_mine_8.png
+%%DATADIR%%/gfx/building_tower_0.png
+%%DATADIR%%/gfx/building_tower_1.png
+%%DATADIR%%/gfx/building_tower_2.png
+%%DATADIR%%/gfx/building_tower_3.png
+%%DATADIR%%/gfx/building_tower_4.png
+%%DATADIR%%/gfx/building_tower_5.png
+%%DATADIR%%/gfx/building_tower_6.png
+%%DATADIR%%/gfx/building_tower_7.png
+%%DATADIR%%/gfx/building_tower_8.png
+%%DATADIR%%/gfx/building_tower_9.png
+%%DATADIR%%/gfx/deadtree1_00.png
+%%DATADIR%%/gfx/defenders.png
+%%DATADIR%%/gfx/features.png
+%%DATADIR%%/gfx/font.png
+%%DATADIR%%/gfx/icons.png
+%%DATADIR%%/gfx/icons64.png
+%%DATADIR%%/gfx/log0.png
+%%DATADIR%%/gfx/rock0.png
+%%DATADIR%%/gfx/rock1.png
+%%DATADIR%%/gfx/slabs.png
+%%DATADIR%%/gfx/smallmap_coast.png
+%%DATADIR%%/gfx/starfield.jpg
+%%DATADIR%%/gfx/sunrise.jpg
+%%DATADIR%%/gfx/tree2_00.png
+%%DATADIR%%/gfx/tree2_01.png
+%%DATADIR%%/gfx/tree2_02.png
+%%DATADIR%%/gfx/tree2_03.png
+%%DATADIR%%/gfx/tree3_00.png
+%%DATADIR%%/gfx/tree3_01.png
+%%DATADIR%%/gfx/tree3_02.png
+%%DATADIR%%/gfx/tree3_03.png
+%%DATADIR%%/gfx/tree5_00.png
+%%DATADIR%%/gfx/tree5_01.png
+%%DATADIR%%/gfx/tree5_02.png
+%%DATADIR%%/gfx/tree5_03.png
+%%DATADIR%%/islands/0mega.map
+%%DATADIR%%/islands/alpha.map
+%%DATADIR%%/islands/binary.map
+%%DATADIR%%/islands/castle.map
+%%DATADIR%%/islands/devil.map
+%%DATADIR%%/islands/eep.map
+%%DATADIR%%/islands/final.map
+%%DATADIR%%/islands/font.map
+%%DATADIR%%/islands/globe.map
+%%DATADIR%%/islands/home.map
+%%DATADIR%%/islands/infinity.map
+%%DATADIR%%/islands/just.map
+%%DATADIR%%/islands/koala.map
+%%DATADIR%%/islands/loop.map
+%%DATADIR%%/islands/moon.map
+%%DATADIR%%/islands/ninth.map
+%%DATADIR%%/islands/oxygen.map
+%%DATADIR%%/islands/polar.map
+%%DATADIR%%/islands/quart.map
+%%DATADIR%%/islands/rare.map
+%%DATADIR%%/islands/semi.map
+%%DATADIR%%/islands/toxic.map
+%%DATADIR%%/islands/universal.map
+%%DATADIR%%/islands/vine.map
+%%DATADIR%%/islands/wreath.map
+%%DATADIR%%/islands/x.map
+%%DATADIR%%/islands/yen.map
+%%DATADIR%%/islands/zinc.map
+%%DATADIR%%/sound/bomb.wav
+%%DATADIR%%/sound/misc_menu_3.wav
+%%DATADIR%%/sound/pain1.wav
+%%DATADIR%%/sound/woodbrk.wav
+share/pixmaps/gigalomania64.png
+ at dirrm %%DATADIR%%/sound
+ at dirrm %%DATADIR%%/islands
+ at dirrm %%DATADIR%%/gfx
+ at dirrm %%DATADIR%%
+ at dirrmtry share/applications


More information about the svn-ports-head mailing list