Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 04:16:12 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92580: [NEW PORT] games/galaxymage: Open source tactical and strategic RPG
Message-ID:  <200601310416.k0V4GCa5025321@www.freebsd.org>
Resent-Message-ID: <200601310420.k0V4K3kq023289@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92580
>Category:       ports
>Synopsis:       [NEW PORT] games/galaxymage: Open source tactical and strategic RPG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 31 04:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Jan 26 23:34:58 PET 2006       
>Description:
GalaxyMage is a free, open-source tactical/strategic RPG for Windows, Linux, FreeBSD and Macintosh.

A tactical RPG is a type of role-playing game where turn-based battles are fought on a 3D map. Examples of 
commercial tactical RPGs include Final Fantasy Tactics, Vandal Hearts, and Disgaea: Hour of Darkness.

Our goal is to make GalaxyMage a game that is relatively simple to pick up and play -- you can dive right 
in without getting bogged down in the details of the battle mechanics -- but to also allow for a lot of 
character development and customization. We also intend to create a unique, advanced AI system that allows 
enemy units to work together as a team and employ a wide variety of strategies. And eventually, we plan on 
adding networked multiplayer support.

WWW:	http://www.galaxymage.org         
>How-To-Repeat:
              
>Fix:
--- galaxymage-0.2.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	galaxymage
#	galaxymage/pkg-descr
#	galaxymage/Makefile
#	galaxymage/pkg-plist
#	galaxymage/files
#	galaxymage/files/patch-GalaxyMage.py
#	galaxymage/files/patch-src_Main.py
#	galaxymage/files/patch-src_Resources.py
#	galaxymage/files/patch-src_Translate.py
#	galaxymage/distinfo
#
echo c - galaxymage
mkdir -p galaxymage > /dev/null 2>&1
echo x - galaxymage/pkg-descr
sed 's/^X//' >galaxymage/pkg-descr << 'END-of-galaxymage/pkg-descr'
XGalaxyMage is a free, open-source tactical/strategic RPG for Windows, Linux, FreeBSD and Macintosh.
X
XA tactical RPG is a type of role-playing game where turn-based battles are fought on a 3D map. Examples of 
Xcommercial tactical RPGs include Final Fantasy Tactics, Vandal Hearts, and Disgaea: Hour of Darkness.
X
XOur goal is to make GalaxyMage a game that is relatively simple to pick up and play -- you can dive right 
Xin without getting bogged down in the details of the battle mechanics -- but to also allow for a lot of 
Xcharacter development and customization. We also intend to create a unique, advanced AI system that allows 
Xenemy units to work together as a team and employ a wide variety of strategies. And eventually, we plan on 
Xadding networked multiplayer support.
X
XWWW:	http://www.galaxymage.org
END-of-galaxymage/pkg-descr
echo x - galaxymage/Makefile
sed 's/^X//' >galaxymage/Makefile << 'END-of-galaxymage/Makefile'
X# New ports collection makefile for:	galaxymage
X# Date created:		2006-01-30
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	galaxymage
XPORTVERSION=	0.2.1
XCATEGORIES=	games python
XMASTER_SITES=	http://download.gna.org/tactics/
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Open source tactical and strategic RPG
X
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric \
X		${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
X		${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
X
XUSE_X_PREFIX=	yes
XUSE_PYTHON=	yes
XUSE_GETTEXT=	yes
XUSE_DOS2UNIX=	yes
XNO_BUILD=	yes
X
XOPTIONS=	PSYCO	"Use just-in-time Python compiler" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_PSYCO)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
X.endif
X
Xpost-configure:
X	@${REINPLACE_CMD} -e 's@%%DATADIR%%@${DATADIR}@g' ${WRKSRC}/GalaxyMage.py ${WRKSRC}/src/Resources.py
X	@${REINPLACE_CMD} -e 's@%%DOCSDIR%%@${DOCSDIR}@g' ${WRKSRC}/src/Main.py
X	@${REINPLACE_CMD} -e 's@%%X11BASE%%@${X11BASE}@g' ${WRKSRC}/src/Translate.py
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/GalaxyMage.py ${PREFIX}/bin/GalaxyMage
X	@${MKDIR} ${DATADIR} ${DOCSDIR}
X.for DIRE in src data
X	@cd ${WRKSRC}/${DIRE} && \
X		${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
X		${FIND} -E * -type f -iregex ".*\.(py|pyc|txt|TXT|ogg|wav|png|ttf)" -exec ${INSTALL_DATA} "{}" \
X			"${DATADIR}/{}" \;
X.endfor
X
X.for FILE in en fr sp
X	@${MKDIR} ${PREFIX}/share/locale/${FILE}/LC_MESSAGES && \
X		${INSTALL_DATA} ${WRKSRC}/locale/${FILE}/LC_MESSAGES/GalaxyMage.mo \
X			${WRKSRC}/locale/${FILE}/LC_MESSAGES/GalaxyMage.pot ${PREFIX}/share/locale/${FILE}/LC_MESSAGES
X.endfor
X
X	@cd ${WRKSRC}/doc && \
X		${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
X		${FIND} -E * -type f -iregex ".*\.(html|css|txt|png)" -exec ${INSTALL_DATA} "{}" \
X			"${DOCSDIR}/{}" \;
X
X.if !defined(NOPORTDOCS)
X	@${INSTALL_DATA} ${WRKSRC}/CREDITS.txt ${WRKSRC}/README.txt ${DOCSDIR}
X.endif
X.include <bsd.port.post.mk>
END-of-galaxymage/Makefile
echo x - galaxymage/pkg-plist
sed 's/^X//' >galaxymage/pkg-plist << 'END-of-galaxymage/pkg-plist'
Xbin/GalaxyMage
X%%DOCSDIR%%/maps/map-file-format-castle-1.png
X%%DOCSDIR%%/maps/map-file-format-castle-2.png
X%%DOCSDIR%%/maps/map-file-format-castle-3.png
X%%DOCSDIR%%/maps/map-file-format-castle-4.png
X%%DOCSDIR%%/maps/map-file-format-castle-5.png
X%%DOCSDIR%%/maps/index.html
X%%DOCSDIR%%/pics/coordinates.png
X%%DOCSDIR%%/pics/uioverview.png
X%%DOCSDIR%%/pics/unitdescript.png
X%%DOCSDIR%%/pics/mainmenu.png
X%%DOCSDIR%%/pics/unitfacing.png
X%%DOCSDIR%%/pics/move.png
X%%DOCSDIR%%/pics/unitaction.png
X%%DOCSDIR%%/pics/special.png
X%%DOCSDIR%%/pics/thecursor.png
X%%DOCSDIR%%/pics/attack.png
X%%DOCSDIR%%/pics/lose.png
X%%DOCSDIR%%/changelog.html
X%%DOCSDIR%%/config-file-format.html
X%%DOCSDIR%%/controls.html
X%%DOCSDIR%%/design-overview.html
X%%DOCSDIR%%/directory-structure.html
X%%DOCSDIR%%/faq.html
X%%DOCSDIR%%/file-formats.html
X%%DOCSDIR%%/gameplay.html
X%%DOCSDIR%%/index.html
X%%DOCSDIR%%/roadmap.html
X%%DOCSDIR%%/stats.txt
X%%DOCSDIR%%/style.css
X%%DOCSDIR%%/translation.html
X%%DOCSDIR%%/usage.txt
X%%DOCSDIR%%/version.txt
X%%DOCSDIR%%/CREDITS.txt
X%%DOCSDIR%%/README.txt
Xshare/locale/en/LC_MESSAGES/GalaxyMage.mo
Xshare/locale/en/LC_MESSAGES/GalaxyMage.pot
Xshare/locale/fr/LC_MESSAGES/GalaxyMage.mo
Xshare/locale/fr/LC_MESSAGES/GalaxyMage.pot
Xshare/locale/sp/LC_MESSAGES/GalaxyMage.mo
Xshare/locale/sp/LC_MESSAGES/GalaxyMage.pot
X%%DATADIR%%/ai/__init__.py
X%%DATADIR%%/ai/UnitAI.py
X%%DATADIR%%/engine/MapGenerator.py
X%%DATADIR%%/engine/Map.py
X%%DATADIR%%/engine/Range.py
X%%DATADIR%%/engine/Ability.py
X%%DATADIR%%/engine/Effect.py
X%%DATADIR%%/engine/Class.py
X%%DATADIR%%/engine/Faction.py
X%%DATADIR%%/engine/Light.py
X%%DATADIR%%/engine/Scenario.py
X%%DATADIR%%/engine/Name.py
X%%DATADIR%%/engine/Equipment.py
X%%DATADIR%%/engine/__init__.py
X%%DATADIR%%/engine/Unit.py
X%%DATADIR%%/engine/Battle.py
X%%DATADIR%%/gui/Geometry.py
X%%DATADIR%%/gui/Cursor.py
X%%DATADIR%%/gui/MapEditorCursor.py
X%%DATADIR%%/gui/Camera.py
X%%DATADIR%%/gui/Sprite.py
X%%DATADIR%%/gui/MapEditorSprite.py
X%%DATADIR%%/gui/MapEditorGUI.py
X%%DATADIR%%/gui/ScenarioGUI.py
X%%DATADIR%%/gui/GLUtil.py
X%%DATADIR%%/gui/MainWindow.py
X%%DATADIR%%/gui/Input.py
X%%DATADIR%%/gui/ScenarioChooser.py
X%%DATADIR%%/gui/Clock.py
X%%DATADIR%%/gui/__init__.py
X%%DATADIR%%/Constants.py
X%%DATADIR%%/Log.py
X%%DATADIR%%/Main.py
X%%DATADIR%%/Resources.py
X%%DATADIR%%/Sound.py
X%%DATADIR%%/Translate.py
X%%DATADIR%%/Util.py
X%%DATADIR%%/core/text/names-neuter.txt
X%%DATADIR%%/core/text/noms-homme.txt
X%%DATADIR%%/core/text/names-female.txt
X%%DATADIR%%/core/text/names-male.txt
X%%DATADIR%%/core/fonts/vera/VeraSeBd.ttf
X%%DATADIR%%/core/fonts/vera/Vera.ttf
X%%DATADIR%%/core/fonts/vera/COPYRIGHT.TXT
X%%DATADIR%%/core/fonts/vera/VeraMono.ttf
X%%DATADIR%%/core/fonts/vera/README.TXT
X%%DATADIR%%/core/fonts/vera/VeraBI.ttf
X%%DATADIR%%/core/fonts/vera/VeraBd.ttf
X%%DATADIR%%/core/fonts/vera/VeraMoBI.ttf
X%%DATADIR%%/core/fonts/vera/VeraIt.ttf
X%%DATADIR%%/core/fonts/vera/VeraMoBd.ttf
X%%DATADIR%%/core/fonts/vera/RELEASENOTES.TXT
X%%DATADIR%%/core/fonts/vera/VeraSe.ttf
X%%DATADIR%%/core/fonts/vera/VeraMoIt.ttf
X%%DATADIR%%/core/items/armor/leather-jerkin.py
X%%DATADIR%%/core/items/armor/chain-mail.py
X%%DATADIR%%/core/items/armor/robes.py
X%%DATADIR%%/core/items/weapons/short-sword.py
X%%DATADIR%%/core/items/weapons/mace.py
X%%DATADIR%%/core/items/weapons/dagger.py
X%%DATADIR%%/core/items/weapons/hands.py
X%%DATADIR%%/core/items/weapons/bow.py
X%%DATADIR%%/core/items/weapons/staff.py
X%%DATADIR%%/core/textures/none.png
X%%DATADIR%%/core/textures/stone2.png
X%%DATADIR%%/core/textures/water1.png
X%%DATADIR%%/core/textures/marble-slight.png
X%%DATADIR%%/core/textures/COPYRIGHT.txt
X%%DATADIR%%/core/textures/wood.png
X%%DATADIR%%/core/textures/grass.png
X%%DATADIR%%/core/textures/stone.png
X%%DATADIR%%/core/images/attacks/attack-spearpike.png
X%%DATADIR%%/core/images/attacks/attack-cbow.png
X%%DATADIR%%/core/images/attacks/attack-axe.png
X%%DATADIR%%/core/images/attacks/attack-magic.png
X%%DATADIR%%/core/images/attacks/attack-bow.png
X%%DATADIR%%/core/images/attacks/attack-claw1.png
X%%DATADIR%%/core/images/attacks/attack-claw2.png
X%%DATADIR%%/core/images/attacks/attack-unarmed.png
X%%DATADIR%%/core/images/attacks/attack-bite.png
X%%DATADIR%%/core/images/attacks/attack-lance.png
X%%DATADIR%%/core/images/attacks/attack-blade.png
X%%DATADIR%%/core/images/attacks/attack-staffrod.png
X%%DATADIR%%/core/images/attacks/attack-missile.png
X%%DATADIR%%/core/images/Effect-Sleep.png
X%%DATADIR%%/core/images/rogue-female-standing-1.png
X%%DATADIR%%/core/images/COPYRIGHT.TXT
X%%DATADIR%%/core/images/mage-male-standing-1.png
X%%DATADIR%%/core/images/fighter-unisex-standing-1.png
X%%DATADIR%%/core/images/rogue-male-standing-1.png
X%%DATADIR%%/core/images/healer-male-standing-1.png
X%%DATADIR%%/core/images/healer-female-standing-1.png
X%%DATADIR%%/core/images/archer-female-standing-1.png
X%%DATADIR%%/core/images/defender-unisex-standing-1.png
X%%DATADIR%%/core/images/archer-male-standing-1.png
X%%DATADIR%%/core/images/mage-female-standing-1.png
X%%DATADIR%%/core/images/Effect-Invulnerable.png
X%%DATADIR%%/core/images/icon-32.png
X%%DATADIR%%/core/sounds/staff-hit.ogg
X%%DATADIR%%/core/sounds/cursor-invalid.wav
X%%DATADIR%%/core/sounds/COPYRIGHT.txt
X%%DATADIR%%/core/sounds/cursor-click.wav
X%%DATADIR%%/core/sounds/fire.wav
X%%DATADIR%%/core/sounds/mace-hit.ogg
X%%DATADIR%%/core/sounds/cursor-cancel.wav
X%%DATADIR%%/core/sounds/sword-hit-large.ogg
X%%DATADIR%%/core/sounds/cursor-move.wav
X%%DATADIR%%/core/sounds/arrow-hit.ogg
X%%DATADIR%%/core/abilities/dart.py
X%%DATADIR%%/core/abilities/longshot1.py
X%%DATADIR%%/core/abilities/longshot2.py
X%%DATADIR%%/core/abilities/longshot3.py
X%%DATADIR%%/core/abilities/weapon-bow.py
X%%DATADIR%%/core/abilities/yell.py
X%%DATADIR%%/core/abilities/protect.py
X%%DATADIR%%/core/abilities/lifesink.py
X%%DATADIR%%/core/abilities/poison.py
X%%DATADIR%%/core/abilities/weapon-mace.py
X%%DATADIR%%/core/abilities/weapon-dagger.py
X%%DATADIR%%/core/abilities/weapon-sword.py
X%%DATADIR%%/core/abilities/rush.py
X%%DATADIR%%/core/abilities/slow.py
X%%DATADIR%%/core/abilities/mend.py
X%%DATADIR%%/core/abilities/fire.py
X%%DATADIR%%/core/abilities/biteofthevampire.py
X%%DATADIR%%/core/abilities/righteousness.py
X%%DATADIR%%/core/abilities/powerpunch.py
X%%DATADIR%%/core/abilities/wingedfeet.py
X%%DATADIR%%/core/abilities/weapon-hand.py
X%%DATADIR%%/core/abilities/drainlife.py
X%%DATADIR%%/core/abilities/haste.py
X%%DATADIR%%/core/abilities/freeze.py
X%%DATADIR%%/core/abilities/regenerate.py
X%%DATADIR%%/core/abilities/trip.py
X%%DATADIR%%/core/abilities/sleep.py
X%%DATADIR%%/core/abilities/defend.py
X%%DATADIR%%/core/abilities/weapon-staff.py
X%%DATADIR%%/core/abilities/hold.py
X%%DATADIR%%/core/abilities/crawl.py
X%%DATADIR%%/core/classes/fighter.py
X%%DATADIR%%/core/classes/vampire.py
X%%DATADIR%%/core/classes/healer.py
X%%DATADIR%%/core/classes/mage.py
X%%DATADIR%%/core/classes/archer.py
X%%DATADIR%%/core/classes/defender.py
X%%DATADIR%%/core/classes/rogue.py
X%%DATADIR%%/demo/maps/lake.py
X%%DATADIR%%/demo/maps/castle-mountain.py
X%%DATADIR%%/demo/maps/castle-multitextured.py
X%%DATADIR%%/demo/maps/hill-ravine.py
X%%DATADIR%%/demo/maps/test.py
X%%DATADIR%%/demo/maps/sloping-hills.py
X%%DATADIR%%/demo/maps/wall.py
X%%DATADIR%%/demo/maps/castle.py
X%%DATADIR%%/demo/maps/castle-1.py
X%%DATADIR%%/demo/maps/castle-2.py
X%%DATADIR%%/demo/maps/castle-3.py
X%%DATADIR%%/demo/maps/castle-4.py
X%%DATADIR%%/demo/maps/castle-5.py
X%%DATADIR%%/demo/scenarios/hill-ravine-archers.py
X%%DATADIR%%/demo/scenarios/hill-ravine.py
X%%DATADIR%%/demo/scenarios/lighting-blue.py
X%%DATADIR%%/demo/scenarios/lighting-night-fire.py
X%%DATADIR%%/demo/scenarios/lighting-default.py
X%%DATADIR%%/demo/scenarios/lighting-evening.py
X%%DATADIR%%/demo/scenarios/wall.py
X%%DATADIR%%/demo/scenarios/castle.py
X%%DATADIR%%/demo/scenarios/castle20.py
X%%DATADIR%%/demo/units/rogue1.py
X%%DATADIR%%/demo/units/healer1.py
X%%DATADIR%%/demo/units/fighter1.py
X%%DATADIR%%/demo/units/mage1.py
X%%DATADIR%%/demo/units/archer1.py
X%%DATADIR%%/demo/units/defender1.py
X%%DATADIR%%/demo/units/fighter20.py
X%%DATADIR%%/demo/units/bandit1.py
X%%DATADIR%%/demo/textures/wood-1.png
X%%DATADIR%%/demo/textures/wood-2.png
X%%DATADIR%%/demo/textures/wood-3.png
X%%DATADIR%%/demo/images/fence-1.png
X%%DATADIR%%/demo/images/gm-male-standing-1.png
X%%DATADIR%%/demo/classes/bandit.py
X%%DATADIR%%/demoedit/maps/hill-ravine.py
X%%DATADIR%%/demoedit/maps/test.py
X%%DATADIR%%/demoedit/maps/sloping-hills.py
X%%DATADIR%%/demoedit/maps/wall.py
X%%DATADIR%%/demoedit/maps/castle.py
X%%DATADIR%%/demoedit/maps/castle-1.py
X%%DATADIR%%/demoedit/maps/castle-2.py
X%%DATADIR%%/demoedit/maps/castle-3.py
X%%DATADIR%%/demoedit/maps/castle-4.py
X%%DATADIR%%/demoedit/maps/castle-5.py
X%%DATADIR%%/demoedit/scenarios/hill-ravine-archers.py
X%%DATADIR%%/demoedit/scenarios/hill-ravine.py
X%%DATADIR%%/demoedit/scenarios/lighting-blue.py
X%%DATADIR%%/demoedit/scenarios/lighting-night-fire.py
X%%DATADIR%%/demoedit/scenarios/lighting-default.py
X%%DATADIR%%/demoedit/scenarios/lighting-evening.py
X%%DATADIR%%/demoedit/scenarios/wall.py
X%%DATADIR%%/demoedit/scenarios/castle.py
X%%DATADIR%%/demoedit/scenarios/castle20.py
X%%DATADIR%%/demoedit/items/armor/leather-jerkin.py
X%%DATADIR%%/demoedit/items/armor/chain-mail.py
X%%DATADIR%%/demoedit/items/armor/robes.py
X%%DATADIR%%/demoedit/items/weapons/short-sword.py
X%%DATADIR%%/demoedit/items/weapons/mace.py
X%%DATADIR%%/demoedit/items/weapons/dagger.py
X%%DATADIR%%/demoedit/items/weapons/hands.py
X%%DATADIR%%/demoedit/items/weapons/bow.py
X%%DATADIR%%/demoedit/items/weapons/staff.py
X%%DATADIR%%/demoedit/units/rogue1.py
X%%DATADIR%%/demoedit/units/healer1.py
X%%DATADIR%%/demoedit/units/fighter1.py
X%%DATADIR%%/demoedit/units/mage1.py
X%%DATADIR%%/demoedit/units/archer1.py
X%%DATADIR%%/demoedit/units/defender1.py
X%%DATADIR%%/demoedit/units/fighter20.py
X%%DATADIR%%/demoedit/units/bandit1.py
X%%DATADIR%%/demoedit/textures/wood-1.png
X%%DATADIR%%/demoedit/textures/wood-2.png
X%%DATADIR%%/demoedit/textures/wood-3.png
X%%DATADIR%%/demoedit/images/fence-1.png
X%%DATADIR%%/demoedit/images/gm-male-standing-1.png
X%%DATADIR%%/demoedit/classes/bandit.py
X%%DATADIR%%/extra/music/barbieri-battle.ogg
X%%DATADIR%%/extra/music/COPYRIGHT.txt
X%%DATADIR%%/extra/music/barbieri-win.ogg
X%%DATADIR%%/extra/music/barbieri-loss.ogg
X%%DATADIR%%/extra/music/barbieri-boss-intro.ogg
X%%DATADIR%%/extra/music/barbieri-army-march.ogg
X%%DATADIR%%/extra/music/barbieri-lyta.ogg
X@dirrm %%DOCSDIR%%/maps
X@dirrm %%DOCSDIR%%/pics
X@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/ai
X@dirrm %%DATADIR%%/engine
X@dirrm %%DATADIR%%/gui
X@dirrm %%DATADIR%%/core/text
X@dirrm %%DATADIR%%/core/fonts/vera
X@dirrm %%DATADIR%%/core/fonts
X@dirrm %%DATADIR%%/core/items/armor
X@dirrm %%DATADIR%%/core/items/weapons
X@dirrm %%DATADIR%%/core/items
X@dirrm %%DATADIR%%/core/textures
X@dirrm %%DATADIR%%/core/images/attacks
X@dirrm %%DATADIR%%/core/images
X@dirrm %%DATADIR%%/core/sounds
X@dirrm %%DATADIR%%/core/abilities
X@dirrm %%DATADIR%%/core/classes
X@dirrm %%DATADIR%%/core
X@dirrm %%DATADIR%%/demo/maps
X@dirrm %%DATADIR%%/demo/scenarios
X@dirrm %%DATADIR%%/demo/units
X@dirrm %%DATADIR%%/demo/textures
X@dirrm %%DATADIR%%/demo/images
X@dirrm %%DATADIR%%/demo/classes
X@dirrm %%DATADIR%%/demo
X@dirrm %%DATADIR%%/demoedit/maps
X@dirrm %%DATADIR%%/demoedit/scenarios
X@dirrm %%DATADIR%%/demoedit/items/armor
X@dirrm %%DATADIR%%/demoedit/items/weapons
X@dirrm %%DATADIR%%/demoedit/items
X@dirrm %%DATADIR%%/demoedit/units
X@dirrm %%DATADIR%%/demoedit/textures
X@dirrm %%DATADIR%%/demoedit/images
X@dirrm %%DATADIR%%/demoedit/classes
X@dirrm %%DATADIR%%/demoedit
X@dirrm %%DATADIR%%/extra/music
X@dirrm %%DATADIR%%/extra
X@dirrm %%DATADIR%%
END-of-galaxymage/pkg-plist
echo c - galaxymage/files
mkdir -p galaxymage/files > /dev/null 2>&1
echo x - galaxymage/files/patch-GalaxyMage.py
sed 's/^X//' >galaxymage/files/patch-GalaxyMage.py << 'END-of-galaxymage/files/patch-GalaxyMage.py'
X--- GalaxyMage.py.old	Mon Jan 30 20:13:39 2006
X+++ GalaxyMage.py	Mon Jan 30 20:13:51 2006
X@@ -23,7 +23,7 @@
X import os, sys
X if os.path.isdir(sys.path[0]):
X     os.chdir(sys.path[0])
X-sys.path.append("src")
X+sys.path.append("%%DATADIR%%")
X 
X import Main
X 
END-of-galaxymage/files/patch-GalaxyMage.py
echo x - galaxymage/files/patch-src_Main.py
sed 's/^X//' >galaxymage/files/patch-src_Main.py << 'END-of-galaxymage/files/patch-src_Main.py'
X--- src/Main.py	Mon Jan 30 20:14:31 2006
X+++ src/Main.py	Mon Jan 30 20:15:46 2006
X@@ -44,14 +44,14 @@
X     """Return the GalaxyMage version number."""
X     global _version
X     if _version == "":
X-        f = file(os.path.join("doc", 'version.txt'), "rU")
X+        f = file(os.path.join("%%DOCSDIR%%", 'version.txt'), "rU")
X         _version = f.read().strip()
X         f.close()
X     return _version
X     
X def printDoc(filename):
X     """Print out the given file from the doc/ directory."""
X-    f = file(os.path.join("doc", filename + '.txt'), "rU")
X+    f = file(os.path.join("%%DOCSDIR%%", filename + '.txt'), "rU")
X     text = f.read()
X     print text,
X     f.close()
END-of-galaxymage/files/patch-src_Main.py
echo x - galaxymage/files/patch-src_Resources.py
sed 's/^X//' >galaxymage/files/patch-src_Resources.py << 'END-of-galaxymage/files/patch-src_Resources.py'
X--- src/Resources.py	Mon Jan 30 20:17:48 2006
X+++ src/Resources.py	Mon Jan 30 20:18:40 2006
X@@ -37,15 +37,15 @@
X         sep = r'\\'
X     base = re.sub(r'/', sep, base)
X     name = re.sub(r'/', sep, name)   
X-    result = os.path.join("data", campaign, base, name)
X+    result = os.path.join("%%DATADIR%%", campaign, base, name)
X     if os.path.exists(result):
X         logger.debug('found ' + result)
X         return result
X-    result = os.path.join("data", "extra", base, name)
X+    result = os.path.join("%%DATADIR%%", "extra", base, name)
X     if os.path.exists(result):
X         logger.debug('found ' + result)
X         return result
X-    result = os.path.join("data", "core", base, name)
X+    result = os.path.join("%%DATADIR%%", "core", base, name)
X     if os.path.exists(result):
X         logger.debug('found ' + result)
X         return result
END-of-galaxymage/files/patch-src_Resources.py
echo x - galaxymage/files/patch-src_Translate.py
sed 's/^X//' >galaxymage/files/patch-src_Translate.py << 'END-of-galaxymage/files/patch-src_Translate.py'
X--- src/Translate.py	Mon Jan 30 20:20:01 2006
X+++ src/Translate.py	Mon Jan 30 20:21:30 2006
X@@ -4,7 +4,7 @@
X class Translate:
X        
X     def getLanguageDict(self,lang):
X-        return gettext.translation('GalaxyMage',os.path.join(os.getcwd(),'locale'), languages=[lang])
X+        return gettext.translation('GalaxyMage',os.path.join('%%X11BASE%%/share/locale'), languages=[lang])
X     
X     def __init__(self):       
X         #fill our language dictionnary with each language
END-of-galaxymage/files/patch-src_Translate.py
echo x - galaxymage/distinfo
sed 's/^X//' >galaxymage/distinfo << 'END-of-galaxymage/distinfo'
XMD5 (galaxymage-0.2.1.tar.gz) = 5f4605f3cbf13d2f7ddb9f619678e4ec
XSHA256 (galaxymage-0.2.1.tar.gz) = 94847227de9b9c4f09b2c6c4c0915ea53a38d8ae4adf03bfb79d501278780be0
XSIZE (galaxymage-0.2.1.tar.gz) = 9822034
END-of-galaxymage/distinfo
exit
--- galaxymage-0.2.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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