Bug 94720 - [NEW PORT] games/planeshift: First 3D MMORPG to be free for players
Summary: [NEW PORT] games/planeshift: First 3D MMORPG to be free for players
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alejandro Pulver
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 07:30 UTC by Jose Alonso Cardenas Marquez
Modified: 2006-06-26 00:11 UTC (History)
0 users

See Also:


Attachments
planeshift-0.3.013.shar (27.97 KB, text/plain)
2006-03-20 07:30 UTC, Jose Alonso Cardenas Marquez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Alonso Cardenas Marquez 2006-03-20 07:30:16 UTC
The objective of the PlaneShift is to create a virtual fantasy world in which a player can start as a 
peasant in search of fame and become a hero. First of all PlaneShift is a Role Playing Game. Be sure 
to read our Roleplay guidelines or you will not be able to play this game. We will focus our efforts 
in the reproduction of a real world with politics, economy, many non-player-characters controlled by 
the server that will bring to life our world even without players connected!

We want to give FREE access to everyone, without the need to either purchase the game or pay a monthly 
fee. Servers and bandwidth will be donated by sponsors.

Our virtual world is persistent, and this means you can connect to it at every hour of day or night and 
you will always find players and npcs wandering our realms. You will be able to disconnect and reconnect 
again, the server saves the actual status of your character including his possessions.

You will use a client program to interact with our world, that enables you to have a 3D view of the 
surroundings.

WWW:	http://www.planeshift.it
Comment 1 Jose Alonso Cardenas Marquez 2006-04-09 10:25:33 UTC
New shar file:

- Fixed Makefile, I forgot a quotation mark
- Corrected shell's path on planeshift.in, pssetup.in, updater.in, and psserver.in files
- Minor modifications 
- Please see PR/93416. It's necessary for successful compiling of planeshift

--- planeshift-0.3.013.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:
#
#	planeshift
#	planeshift/pkg-descr
#	planeshift/Makefile
#	planeshift/pkg-plist
#	planeshift/files
#	planeshift/files/pssetup.in
#	planeshift/files/updater.in
#	planeshift/files/patch-autogen.sh
#	planeshift/files/tarignore
#	planeshift/files/pkg-message.in
#	planeshift/files/planeshift.in
#	planeshift/files/psserver.in
#	planeshift/distinfo
#
echo c - planeshift
mkdir -p planeshift > /dev/null 2>&1
echo x - planeshift/pkg-descr
sed 's/^X//' >planeshift/pkg-descr << 'END-of-planeshift/pkg-descr'
XThe objective of the PlaneShift is to create a virtual fantasy world in which a player can start as a 
Xpeasant in search of fame and become a hero. First of all PlaneShift is a Role Playing Game. Be sure 
Xto read our Roleplay guidelines or you will not be able to play this game. We will focus our efforts 
Xin the reproduction of a real world with politics, economy, many non-player-characters controlled by 
Xthe server that will bring to life our world even without players connected!
X
XWe want to give FREE access to everyone, without the need to either purchase the game or pay a monthly 
Xfee. Servers and bandwidth will be donated by sponsors.
X
XOur virtual world is persistent, and this means you can connect to it at every hour of day or night and 
Xyou will always find players and npcs wandering our realms. You will be able to disconnect and reconnect 
Xagain, the server saves the actual status of your character including his possessions.
X
XYou will use a client program to interact with our world, that enables you to have a 3D view of the 
Xsurroundings.
X
XWWW:	http://www.planeshift.it
END-of-planeshift/pkg-descr
echo x - planeshift/Makefile
sed 's/^X//' >planeshift/Makefile << 'END-of-planeshift/Makefile'
X# New ports collection makefile for:	planeshift
X# Date created:		2006-03-17
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	planeshift
XPORTVERSION=	0.3.013
XCATEGORIES=	games
XMASTER_SITES=	#
XNO_CHECKSUM=	${DISTFILES}
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	First 3D MMORPG to be free for players
X
XBUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam \
X		cs-config:${PORTSDIR}/graphics/crystalspace \
X		cel-config:${PORTSDIR}/graphics/crystalentitylayer \
X		${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd
XLIB_DEPENDS=	cal3d.11:${PORTSDIR}/graphics/cal3d-devel \
X		curl.3:${PORTSDIR}/ftp/curl
X
XUSE_X_PREFIX=	yes
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_AUTOTOOLS=	automake:15:env autoconf:259:env
X
XCPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_LIBS}
XLDFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib
XCRYSTAL=	${X11BASE}
XCEL=		${X11BASE}
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ARGS=	--enable-cpu-specific-optimizations=no
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CRYSTAL="${CRYSTAL}" CEL="${CEL}"
XSUB_FILES=	pkg-message planeshift pssetup updater psserver
XPLANEDIR=	lib/${PORTNAME}
XPLIST_SUB=	PLANEDIR=${PLANEDIR}
X
XJAM_CMD=	jam
X
XOPTIONS=	MYSQL	"MySQL support for server mode "	off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MYSQL)
XCONFIGURE_ARGS+=	--with-mysqlclient
XUSE_MYSQL=	yes
XLIB_DEPENDS+=	WN.2:${PORTSDIR}/textproc/wordnet
XPLIST_SUB+=	MYSQL="" \
X		EXAMPLE=""
XMYSQL_FLAG=	true
X.else
XCONFIGURE_ARGS+=	--with-mysqlclient=no
XPLIST_SUB+=	MYSQL="@comment " \
X		EXAMPLE="@comment "
X.endif
X
XCVS_CMD?=	cvs -z3
XCVS_DATE=	2006-03-01 00:00:00
XCVS_SITES?=	pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift
XCVS_MODULE=	${PORTNAME}
X
Xdo-fetch:
X	@if test ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ; then \
X		${MKDIR} ${DISTDIR}/${DISTNAME} && \
X		cd ${DISTDIR}/${DISTNAME}; \
X		for CVS_SITE in ${CVS_SITES}; do \
X			${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
X			if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \
X			then \
X				cd ${DISTDIR}; \
X				${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
X				${ECHO_MSG} ">> \"${DISTNAME}${EXTRACT_SUFX}\"."; \
X				${MV} ${DISTNAME}/${CVS_MODULE} \
X					${DISTNAME}/${CVS_MODULE:H}/${DISTNAME}; \
X					${TAR} -cj \
X					-X ${FILESDIR}/tarignore \
X					-f ${DISTNAME}${EXTRACT_SUFX} \
X					-C ${DISTNAME}/${CVS_MODULE:H} \
X					${DISTNAME}; \
X				exit; \
X			fi \
X		done; \
X		${RMDIR} ${DISTDIR}/${DISTNAME}; \
X		${ECHO_MSG} ">> CVS checkout failed."; \
X		exit 1; \
X	fi
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|%%AUTOHEADER%%|${AUTOHEADER}|g' -e 's|%%AUTOCONF%%|${AUTOCONF}|g' \
X		${WRKSRC}/autogen.sh
X	@cd ${WRKSRC}/src && \
X		${FIND} * -type f -name "*.c" -exec \
X			${REINPLACE_CMD} -i "" -e 's|malloc.h|stdlib.h|g' "{}" \;
X
Xpre-configure:
X	@cd ${WRKSRC} && ${SH} autogen.sh
X
Xdo-build:
X	@cd ${WRKSRC} && \
X		${JAM_CMD} -q
X
Xpost-build:
X	@${REINPLACE_CMD} -e 's|<mirror id="1" name="local" url="http://192.168.2.19/updater/" />| \
X		<mirror id="1" name="Laanx" url="http://psteam:p1ane@laanx.fragnetics.com/updater_hidden/" \
X			repository="repository.zip" files="" />|g' ${WRKSRC}/updaterconfig.xml
X	@${REINPLACE_CMD} -e 's|<module>docs</module>|<!-- <module>docs</module> -->|g' -e \
X		's|<module>root</module>|<!-- <module>root</module> -->|g' ${WRKSRC}/updaterconfig.xml
Xdo-install:
X	@${MKDIR} ${PREFIX}/${PLANEDIR}
X.for FILE in ase_2_spr eedit paws_generic pawseditor psclient psnpcclient psserver pssetup texparse updater
X	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/${PLANEDIR}
X.endfor
X
X.for FILE in *.cfg *.xml
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${PLANEDIR}
X.endfor
X
X.for DIRE in art data
X	@${MKDIR} ${PREFIX}/${PLANEDIR}/${DIRE}
X	@cd ${WRKSRC}/${DIRE} && \
X		${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${PLANEDIR}/${DIRE}/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${PLANEDIR}/${DIRE}/{}" \;
X.endfor
X
X.if defined(MYSQL_FLAG)
X	${INSTALL_SCRIPT} ${WRKDIR}/psserver ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/dbmysql.so ${PREFIX}/${PLANEDIR}
X	@${MKDIR} ${EXAMPLESDIR}
X	@cd ${WRKSRC}/src/server/database/mysql && \
X		${FIND} * -name "*.sql" -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \;
X.endif
X
X	@${INSTALL_SCRIPT} ${WRKDIR}/planeshift ${WRKDIR}/updater ${WRKDIR}/pssetup ${PREFIX}/bin
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-planeshift/Makefile
echo x - planeshift/pkg-plist
sed 's/^X//' >planeshift/pkg-plist << 'END-of-planeshift/pkg-plist'
Xbin/planeshift
Xbin/updater
Xbin/pssetup
X%%MYSQL%%bin/psserver
X%%EXAMPLE%%share/examples/planeshift/accessrules.sql
X%%EXAMPLE%%share/examples/planeshift/accounts.sql
X%%EXAMPLE%%share/examples/planeshift/action_locations.sql
X%%EXAMPLE%%share/examples/planeshift/alliances.sql
X%%EXAMPLE%%share/examples/planeshift/armorvsweapon.sql
X%%EXAMPLE%%share/examples/planeshift/bad_names.sql
X%%EXAMPLE%%share/examples/planeshift/bans.sql
X%%EXAMPLE%%share/examples/planeshift/buddy_list.sql
X%%EXAMPLE%%share/examples/planeshift/command_access.sql
X%%EXAMPLE%%share/examples/planeshift/commonstrings.sql
X%%EXAMPLE%%share/examples/planeshift/create_all.sql
X%%EXAMPLE%%share/examples/planeshift/char_adv.sql
X%%EXAMPLE%%share/examples/planeshift/char_creation.sql
X%%EXAMPLE%%share/examples/planeshift/char_skills.sql
X%%EXAMPLE%%share/examples/planeshift/char_traits.sql
X%%EXAMPLE%%share/examples/planeshift/character_marriage_details.sql
X%%EXAMPLE%%share/examples/planeshift/character_quests.sql
X%%EXAMPLE%%share/examples/planeshift/characters.sql
X%%EXAMPLE%%share/examples/planeshift/deletechar.sql
X%%EXAMPLE%%share/examples/planeshift/deletenpc.sql
X%%EXAMPLE%%share/examples/planeshift/deletenpc_mb.sql
X%%EXAMPLE%%share/examples/planeshift/drop.sql
X%%EXAMPLE%%share/examples/planeshift/factions.sql
X%%EXAMPLE%%share/examples/planeshift/gm_command_log.sql
X%%EXAMPLE%%share/examples/planeshift/guildlevels.sql
X%%EXAMPLE%%share/examples/planeshift/guilds.sql
X%%EXAMPLE%%share/examples/planeshift/hunt_locations.sql
X%%EXAMPLE%%share/examples/planeshift/item_animations.sql
X%%EXAMPLE%%share/examples/planeshift/item_categories.sql
X%%EXAMPLE%%share/examples/planeshift/item_instances.sql
X%%EXAMPLE%%share/examples/planeshift/item_stats.sql
X%%EXAMPLE%%share/examples/planeshift/loot_modifiers.sql
X%%EXAMPLE%%share/examples/planeshift/loot_rule_details.sql
X%%EXAMPLE%%share/examples/planeshift/loot_rules.sql
X%%EXAMPLE%%share/examples/planeshift/merchant_item_cats.sql
X%%EXAMPLE%%share/examples/planeshift/migration.sql
X%%EXAMPLE%%share/examples/planeshift/movement_base.sql
X%%EXAMPLE%%share/examples/planeshift/movement_extras.sql
X%%EXAMPLE%%share/examples/planeshift/movement_require.sql
X%%EXAMPLE%%share/examples/planeshift/movement_variant.sql
X%%EXAMPLE%%share/examples/planeshift/natural_resources.sql
X%%EXAMPLE%%share/examples/planeshift/npc_bad_text.sql
X%%EXAMPLE%%share/examples/planeshift/npc_disallowed_words.sql
X%%EXAMPLE%%share/examples/planeshift/npc_kas.sql
X%%EXAMPLE%%share/examples/planeshift/npc_responses.sql
X%%EXAMPLE%%share/examples/planeshift/npc_spawn_ranges.sql
X%%EXAMPLE%%share/examples/planeshift/npc_spawn_rules.sql
X%%EXAMPLE%%share/examples/planeshift/npc_synonyms.sql
X%%EXAMPLE%%share/examples/planeshift/npc_trigger_groups.sql
X%%EXAMPLE%%share/examples/planeshift/npc_triggers.sql
X%%EXAMPLE%%share/examples/planeshift/petitions.sql
X%%EXAMPLE%%share/examples/planeshift/player_spells.sql
X%%EXAMPLE%%share/examples/planeshift/progress_events.sql
X%%EXAMPLE%%share/examples/planeshift/quest_scripts.sql
X%%EXAMPLE%%share/examples/planeshift/quests.sql
X%%EXAMPLE%%share/examples/planeshift/race_info.sql
X%%EXAMPLE%%share/examples/planeshift/sc_npc_definitions.sql
X%%EXAMPLE%%share/examples/planeshift/sectors.sql
X%%EXAMPLE%%share/examples/planeshift/security_levels.sql
X%%EXAMPLE%%share/examples/planeshift/server_options.sql
X%%EXAMPLE%%share/examples/planeshift/skills.sql
X%%EXAMPLE%%share/examples/planeshift/spell_glyphs.sql
X%%EXAMPLE%%share/examples/planeshift/spells.sql
X%%EXAMPLE%%share/examples/planeshift/sys_modules.sql
X%%EXAMPLE%%share/examples/planeshift/sys_privileges.sql
X%%EXAMPLE%%share/examples/planeshift/sys_privileges_list.sql
X%%EXAMPLE%%share/examples/planeshift/sys_programs.sql
X%%EXAMPLE%%share/examples/planeshift/tips.sql
X%%EXAMPLE%%share/examples/planeshift/trade_autocontainers.sql
X%%EXAMPLE%%share/examples/planeshift/trade_combinations.sql
X%%EXAMPLE%%share/examples/planeshift/trade_constraints.sql
X%%EXAMPLE%%share/examples/planeshift/trade_patterns.sql
X%%EXAMPLE%%share/examples/planeshift/trade_transformations.sql
X%%EXAMPLE%%share/examples/planeshift/trainer_skills.sql
X%%EXAMPLE%%share/examples/planeshift/traits.sql
X%%EXAMPLE%%share/examples/planeshift/upgrade_schema.sql
X%%EXAMPLE%%share/examples/planeshift/ways.sql
X%%PLANEDIR%%/art/README
X%%PLANEDIR%%/art/apps.zip
X%%PLANEDIR%%/art/eedit.zip
X%%PLANEDIR%%/art/effects/marker01.png
X%%PLANEDIR%%/art/effects/raindrop.png
X%%PLANEDIR%%/art/effects/snow.jpg
X%%PLANEDIR%%/art/fakemodels.zip
X%%PLANEDIR%%/art/models.zip
X%%PLANEDIR%%/art/music/ComplexWind3.ogg
X%%PLANEDIR%%/art/music/README
X%%PLANEDIR%%/art/music/effects/PS_Thunder1.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder2.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder3.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder4.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder5.wav
X%%PLANEDIR%%/art/music/effects/PS_heavyrain.ogg
X%%PLANEDIR%%/art/music/effects/PS_lightrain.ogg
X%%PLANEDIR%%/art/music/effects/Storm_exclamation.wav
X%%PLANEDIR%%/art/music/effects/attack3.ogg
X%%PLANEDIR%%/art/music/effects/chaching.wav
X%%PLANEDIR%%/art/music/effects/gasps8.wav
X%%PLANEDIR%%/art/music/effects/halleluj.wav
X%%PLANEDIR%%/art/music/effects/heal1.ogg
X%%PLANEDIR%%/art/music/effects/heal2.ogg
X%%PLANEDIR%%/art/music/effects/ouch!.wav
X%%PLANEDIR%%/art/music/effects/sucks.wav
X%%PLANEDIR%%/art/music/gui/ccreate/back.wav
X%%PLANEDIR%%/art/music/gui/ccreate/decstat.wav
X%%PLANEDIR%%/art/music/gui/ccreate/incstat.wav
X%%PLANEDIR%%/art/music/gui/ccreate/infotext.wav
X%%PLANEDIR%%/art/music/gui/ccreate/next.wav
X%%PLANEDIR%%/art/music/gui/ccreate/quit.wav
X%%PLANEDIR%%/art/music/gui/jingle_splash.ogg
X%%PLANEDIR%%/art/music/gui/menu/btconn.wav
X%%PLANEDIR%%/art/music/gui/menu/btcreate.wav
X%%PLANEDIR%%/art/music/gui/menu/btndown.wav
X%%PLANEDIR%%/art/music/gui/menu/btquit.wav
X%%PLANEDIR%%/art/music/torch_test.wav
X%%PLANEDIR%%/art/pawseditor.zip
X%%PLANEDIR%%/art/psclient-setup.zip
X%%PLANEDIR%%/art/racelib.xml
X%%PLANEDIR%%/art/runes/README
X%%PLANEDIR%%/art/runes/azure/air.bmp
X%%PLANEDIR%%/art/runes/azure/bond.bmp
X%%PLANEDIR%%/art/runes/azure/dome.bmp
X%%PLANEDIR%%/art/runes/azure/fly.bmp
X%%PLANEDIR%%/art/runes/azure/gas.bmp
X%%PLANEDIR%%/art/runes/azure/humanoid.bmp
X%%PLANEDIR%%/art/runes/azure/mind.bmp
X%%PLANEDIR%%/art/runes/azure/sleep.bmp
X%%PLANEDIR%%/art/runes/azure/sound.bmp
X%%PLANEDIR%%/art/sfxfiles.dtd
X%%PLANEDIR%%/art/shaders/colorize.xml
X%%PLANEDIR%%/art/shaders/particle_basic.xml
X%%PLANEDIR%%/art/skins/cvs.zip
X%%PLANEDIR%%/art/soundlib.xml
X%%PLANEDIR%%/art/sounds/gui/bttn_cancel.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_ok.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_quit.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_scrolldown.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_scrollup.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_shortcut.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_toolbar.ogg
X%%PLANEDIR%%/art/things/items.zip
X%%PLANEDIR%%/art/things/potions.zip
X%%PLANEDIR%%/art/things/weapons.zip
X%%PLANEDIR%%/art/world/.cvsignore
X%%PLANEDIR%%/art/world/lighting.xml
X%%PLANEDIR%%/art/world/npcroom.zip
X%%PLANEDIR%%/art/world/podium.zip
X%%PLANEDIR%%/art/world/sound.xml
X%%PLANEDIR%%/ase_2_spr
X%%PLANEDIR%%/data/config/setupwindow.xml
X%%PLANEDIR%%/data/config/skinwindow.xml
X%%PLANEDIR%%/data/eedit/camera.xml
X%%PLANEDIR%%/data/eedit/editeffect.xml
X%%PLANEDIR%%/data/eedit/eedit.xml
X%%PLANEDIR%%/data/eedit/error.xml
X%%PLANEDIR%%/data/eedit/filenavigation.xml
X%%PLANEDIR%%/data/eedit/fps.xml
X%%PLANEDIR%%/data/eedit/imagelist.xml
X%%PLANEDIR%%/data/eedit/inputbox/editanchor.xml
X%%PLANEDIR%%/data/eedit/inputbox/editanchorkeyframe.xml
X%%PLANEDIR%%/data/eedit/inputbox/float.xml
X%%PLANEDIR%%/data/eedit/inputbox/list.xml
X%%PLANEDIR%%/data/eedit/inputbox/newanchor.xml
X%%PLANEDIR%%/data/eedit/inputbox/newanchorkeyframe.xml
X%%PLANEDIR%%/data/eedit/inputbox/string.xml
X%%PLANEDIR%%/data/eedit/inputbox/vec3.xml
X%%PLANEDIR%%/data/eedit/inputbox/yesno.xml
X%%PLANEDIR%%/data/eedit/keys.xml
X%%PLANEDIR%%/data/eedit/keys_def.xml
X%%PLANEDIR%%/data/eedit/loadeffect.xml
X%%PLANEDIR%%/data/eedit/loadmap.xml
X%%PLANEDIR%%/data/eedit/position.xml
X%%PLANEDIR%%/data/eedit/render.xml
X%%PLANEDIR%%/data/eedit/shortcuts.xml
X%%PLANEDIR%%/data/eedit/target.xml
X%%PLANEDIR%%/data/effects/examples/obj_quad.eff
X%%PLANEDIR%%/data/effects/examples/obj_spire.eff
X%%PLANEDIR%%/data/effects/examples/obj_star.eff
X%%PLANEDIR%%/data/effects/misc/entitylabel.eff
X%%PLANEDIR%%/data/effects/misc/marker.eff
X%%PLANEDIR%%/data/effects/misc/target.eff
X%%PLANEDIR%%/data/gui/activemagicwindow.xml
X%%PLANEDIR%%/data/gui/birth.xml
X%%PLANEDIR%%/data/gui/borderlist.xml
X%%PLANEDIR%%/data/gui/buddy.xml
X%%PLANEDIR%%/data/gui/configcamera.xml
X%%PLANEDIR%%/data/gui/configchat.xml
X%%PLANEDIR%%/data/gui/configchatfilter.xml
X%%PLANEDIR%%/data/gui/configdetails.xml
X%%PLANEDIR%%/data/gui/configentityinter.xml
X%%PLANEDIR%%/data/gui/configentitylabels.xml
X%%PLANEDIR%%/data/gui/configkeys.xml
X%%PLANEDIR%%/data/gui/configmouse.xml
X%%PLANEDIR%%/data/gui/configpvp.xml
X%%PLANEDIR%%/data/gui/configsound.xml
X%%PLANEDIR%%/data/gui/configwindow.xml
X%%PLANEDIR%%/data/gui/containerdesc.xml
X%%PLANEDIR%%/data/gui/control.xml
X%%PLANEDIR%%/data/gui/control_styles.xml
X%%PLANEDIR%%/data/gui/craft.xml
X%%PLANEDIR%%/data/gui/credits_config.xml
X%%PLANEDIR%%/data/gui/creditswindow.xml
X%%PLANEDIR%%/data/gui/charcreate.xml
X%%PLANEDIR%%/data/gui/chardescwindow.xml
X%%PLANEDIR%%/data/gui/charpick.xml
X%%PLANEDIR%%/data/gui/chat.xml
X%%PLANEDIR%%/data/gui/chatmenu.xml
X%%PLANEDIR%%/data/gui/childhood.xml
X%%PLANEDIR%%/data/gui/detailwindow.xml
X%%PLANEDIR%%/data/gui/eedit.xml
X%%PLANEDIR%%/data/gui/exchange.xml
X%%PLANEDIR%%/data/gui/filenavigation.xml
X%%PLANEDIR%%/data/gui/fingering.xml
X%%PLANEDIR%%/data/gui/glyph.xml
X%%PLANEDIR%%/data/gui/gmaddeditaction.xml
X%%PLANEDIR%%/data/gui/gmguiwindow.xml
X%%PLANEDIR%%/data/gui/gmspawn.xml
X%%PLANEDIR%%/data/gui/group.xml
X%%PLANEDIR%%/data/gui/guildwindow.xml
X%%PLANEDIR%%/data/gui/helpwindow.xml
X%%PLANEDIR%%/data/gui/ignorewindow.xml
X%%PLANEDIR%%/data/gui/infowindow.xml
X%%PLANEDIR%%/data/gui/interact.xml
X%%PLANEDIR%%/data/gui/inventory.xml
X%%PLANEDIR%%/data/gui/itemdesc.xml
X%%PLANEDIR%%/data/gui/lifeevents.xml
X%%PLANEDIR%%/data/gui/loadwindow.xml
X%%PLANEDIR%%/data/gui/loginwindow.xml
X%%PLANEDIR%%/data/gui/loot.xml
X%%PLANEDIR%%/data/gui/merchant.xml
X%%PLANEDIR%%/data/gui/money.xml
X%%PLANEDIR%%/data/gui/ok.xml
X%%PLANEDIR%%/data/gui/parents.xml
X%%PLANEDIR%%/data/gui/paths.xml
X%%PLANEDIR%%/data/gui/paws_generic.xml
X%%PLANEDIR%%/data/gui/petition.xml
X%%PLANEDIR%%/data/gui/petitiongm.xml
X%%PLANEDIR%%/data/gui/petstatwindow.xml
X%%PLANEDIR%%/data/gui/questnotebook.xml
X%%PLANEDIR%%/data/gui/questrewardwindow.xml
X%%PLANEDIR%%/data/gui/quitinfo.xml
X%%PLANEDIR%%/data/gui/readbook.xml
X%%PLANEDIR%%/data/gui/shortcutwindow.xml
X%%PLANEDIR%%/data/gui/skillwindow.xml
X%%PLANEDIR%%/data/gui/smallinventory.xml
X%%PLANEDIR%%/data/gui/spell_effect.xml
X%%PLANEDIR%%/data/gui/spellcancelwindow.xml
X%%PLANEDIR%%/data/gui/spellwindow.xml
X%%PLANEDIR%%/data/gui/splash.xml
X%%PLANEDIR%%/data/gui/styles.xml
X%%PLANEDIR%%/data/gui/summary.xml
X%%PLANEDIR%%/data/gui/widgetconfigwindow.xml
X%%PLANEDIR%%/data/gui/yesno.xml
X%%PLANEDIR%%/data/gui/zodiacs.xml
X%%PLANEDIR%%/data/guikeys.xml
X%%PLANEDIR%%/data/help.xml
X%%PLANEDIR%%/data/npcbehave.xml
X%%PLANEDIR%%/data/npcdefs.xml
X%%PLANEDIR%%/data/options/.cvsignore
X%%PLANEDIR%%/data/options/camera_def.xml
X%%PLANEDIR%%/data/options/chat_def.xml
X%%PLANEDIR%%/data/options/entityinter_def.xml
X%%PLANEDIR%%/data/options/entitylabels_def.xml
X%%PLANEDIR%%/data/options/keys_def.xml
X%%PLANEDIR%%/data/options/mouse_def.xml
X%%PLANEDIR%%/data/options/pvp_def.xml
X%%PLANEDIR%%/data/options/shortcutcommands_def.xml
X%%PLANEDIR%%/data/options/sound_def.xml
X%%PLANEDIR%%/data/partview/colorprops.xml
X%%PLANEDIR%%/data/partview/emitterprops.xml
X%%PLANEDIR%%/data/partview/environmentprops.xml
X%%PLANEDIR%%/data/partview/forceprops.xml
X%%PLANEDIR%%/data/partview/imagelist.xml
X%%PLANEDIR%%/data/partview/materialprops.xml
X%%PLANEDIR%%/data/partview/materiallist.xml
X%%PLANEDIR%%/data/partview/menubar.xml
X%%PLANEDIR%%/data/partview/otherprops.xml
X%%PLANEDIR%%/data/partview/particleprops.xml
X%%PLANEDIR%%/data/partview/pscollapsable.xml
X%%PLANEDIR%%/data/partview/pslist.xml
X%%PLANEDIR%%/data/partview/psscrollpane.xml
X%%PLANEDIR%%/data/partview/stateprops.xml
X%%PLANEDIR%%/data/partview/systemprops.xml
X%%PLANEDIR%%/data/pawseditor/filenavigation.xml
X%%PLANEDIR%%/data/pawseditor/imagelist.xml
X%%PLANEDIR%%/data/pawseditor/keys_def.xml
X%%PLANEDIR%%/data/pawseditor/pebackground.xml
X%%PLANEDIR%%/data/pawseditor/pemenu.xml
X%%PLANEDIR%%/data/pawseditor/peskinselector.xml
X%%PLANEDIR%%/data/pawseditor/pewidgettree.xml
X%%PLANEDIR%%/data/phonics.xml
X%%PLANEDIR%%/data/prefs.xml
X%%PLANEDIR%%/data/pvp_regions.xml
X%%PLANEDIR%%/data/races/descriptions.xml
X%%PLANEDIR%%/data/races/quickpaths.xml
X%%PLANEDIR%%/data/rpgrules.xml
X%%PLANEDIR%%/data/schemas/effects.xsd
X%%PLANEDIR%%/data/schemas/sounds.xsd
X%%PLANEDIR%%/data/servers.xml
X%%PLANEDIR%%/data/ttf/arial.ttf
X%%PLANEDIR%%/data/ttf/ariali.ttf
X%%PLANEDIR%%/data/ttf/becker-m.ttf
X%%PLANEDIR%%/data/ttf/comic.ttf
X%%PLANEDIR%%/data/ttf/cour.ttf
X%%PLANEDIR%%/data/ttf/cupandtalon.ttf
X%%PLANEDIR%%/data/ttf/readme.txt
X%%PLANEDIR%%/data/ttf/scurlock.ttf
X%%PLANEDIR%%/data/ttf/verdana.ttf
X%%PLANEDIR%%/data/updater/serverlist.xml
X%%PLANEDIR%%/data/updater/updaterwindow.xml
X%%PLANEDIR%%/data/zoneinfo.xml
X%%MYSQL%%%%PLANEDIR%%/dbmysql.so
X%%PLANEDIR%%/eedit
X%%PLANEDIR%%/eedit.cfg
X%%PLANEDIR%%/npcclient.cfg
X%%PLANEDIR%%/partview.cfg
X%%PLANEDIR%%/paws_generic
X%%PLANEDIR%%/paws_generic.cfg
X%%PLANEDIR%%/pawseditor
X%%PLANEDIR%%/pawseditor.cfg
X%%PLANEDIR%%/planeshift.cfg
X%%PLANEDIR%%/psclient
X%%PLANEDIR%%/psclient.cfg
X%%PLANEDIR%%/psnpcclient
X%%PLANEDIR%%/psserver
X%%PLANEDIR%%/psserver.cfg
X%%PLANEDIR%%/pssetup
X%%PLANEDIR%%/pssetup.cfg
X%%PLANEDIR%%/psupdater.cfg
X%%PLANEDIR%%/texparse
X%%PLANEDIR%%/updater
X%%PLANEDIR%%/updaterconfig.xml
X%%PLANEDIR%%/vfs.cfg
X%%EXAMPLE%%@dirrm share/examples/planeshift
X@dirrmtry %%PLANEDIR%%/art/effects
X@dirrmtry %%PLANEDIR%%/art/music/effects
X@dirrmtry %%PLANEDIR%%/art/music/gui/ccreate
X@dirrmtry %%PLANEDIR%%/art/music/gui/menu
X@dirrmtry %%PLANEDIR%%/art/music/gui
X@dirrmtry %%PLANEDIR%%/art/music
X@dirrmtry %%PLANEDIR%%/art/runes/azure
X@dirrmtry %%PLANEDIR%%/art/runes
X@dirrmtry %%PLANEDIR%%/art/shaders
X@dirrmtry %%PLANEDIR%%/art/skins
X@dirrmtry %%PLANEDIR%%/art/sounds/gui
X@dirrmtry %%PLANEDIR%%/art/sounds
X@dirrmtry %%PLANEDIR%%/art/things
X@dirrmtry %%PLANEDIR%%/art/world
X@dirrmtry %%PLANEDIR%%/art
X@dirrmtry %%PLANEDIR%%/data/config
X@dirrmtry %%PLANEDIR%%/data/eedit/inputbox
X@dirrmtry %%PLANEDIR%%/data/eedit
X@dirrmtry %%PLANEDIR%%/data/effects/examples
X@dirrmtry %%PLANEDIR%%/data/effects/misc
X@dirrmtry %%PLANEDIR%%/data/effects
X@dirrmtry %%PLANEDIR%%/data/gui
X@dirrmtry %%PLANEDIR%%/data/options
X@dirrmtry %%PLANEDIR%%/data/partview
X@dirrmtry %%PLANEDIR%%/data/pawseditor
X@dirrmtry %%PLANEDIR%%/data/races
X@dirrmtry %%PLANEDIR%%/data/schemas
X@dirrmtry %%PLANEDIR%%/data/ttf
X@dirrmtry %%PLANEDIR%%/data/updater
X@dirrmtry %%PLANEDIR%%/data
X@unexec rmdir %D/%%PLANEDIR%% >/dev/null 2>&1 || echo "Remove manually the extra files into data and art directories (200M aprox.). Also you could move data and art directory to some backup directory."
END-of-planeshift/pkg-plist
echo c - planeshift/files
mkdir -p planeshift/files > /dev/null 2>&1
echo x - planeshift/files/pssetup.in
sed 's/^X//' >planeshift/files/pssetup.in << 'END-of-planeshift/files/pssetup.in'
X#!/bin/csh
X
Xset SHELLTYPE=`echo $SHELL`
X
Xif ( "${SHELLTYPE}" == "/bin/csh" || "${SHELLTYPE}" == "/bin/tcsh" ) then
Xsetenv CRYSTAL /usr/X11R6/lib/planeshift
Xsetenv CEL /usr/X11R6/lib/cel
Xsetenv CSCONFPATH /usr/X11R6/etc/crystalspace
Xendif
X
Xif ( "${SHELLTYPE}" == "/usr/local/bin/bash" || "${SHELLTYPE}" == "/usr/local/bin/ksh" ) then
Xexport CRYSTAL=/usr/X11R6/lib/planeshift
Xexport CEL=/usr/X11R6/lib/cel
Xexport CSCONFPATH=/usr/X11R6/etc/crystalspace
Xendif
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./pssetup $1
END-of-planeshift/files/pssetup.in
echo x - planeshift/files/updater.in
sed 's/^X//' >planeshift/files/updater.in << 'END-of-planeshift/files/updater.in'
X#!/bin/csh
X
Xset SHELLTYPE=`echo $SHELL`
X
Xif ( "${SHELLTYPE}" == "/bin/csh" || "${SHELLTYPE}" == "/bin/tcsh" ) then
Xsetenv CRYSTAL /usr/X11R6/lib/planeshift
Xsetenv CEL /usr/X11R6/lib/cel
Xsetenv CSCONFPATH /usr/X11R6/etc/crystalspace
Xendif
X
Xif ( "${SHELLTYPE}" == "/usr/local/bin/bash" || "${SHELLTYPE}" == "/usr/local/bin/ksh" ) then
Xexport CRYSTAL=/usr/X11R6/lib/planeshift
Xexport CEL=/usr/X11R6/lib/cel
Xexport CSCONFPATH=/usr/X11R6/etc/crystalspace
Xendif
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./updater $1
END-of-planeshift/files/updater.in
echo x - planeshift/files/patch-autogen.sh
sed 's/^X//' >planeshift/files/patch-autogen.sh << 'END-of-planeshift/files/patch-autogen.sh'
X--- autogen.sh.orig	Fri Mar 17 22:07:40 2006
X+++ autogen.sh	Fri Mar 17 16:52:53 2006
X@@ -13,11 +13,11 @@
X   cat $i >> $MACROFILE
X done
X 
X-autoheader
X+%%AUTOHEADER%%
X rc=$?
X 
X if test $rc -eq 0; then
X-  autoconf
X+  %%AUTOCONF%%
X   rc=$?
X fi
X 
END-of-planeshift/files/patch-autogen.sh
echo x - planeshift/files/tarignore
sed 's/^X//' >planeshift/files/tarignore << 'END-of-planeshift/files/tarignore'
XCVS
END-of-planeshift/files/tarignore
echo x - planeshift/files/pkg-message.in
sed 's/^X//' >planeshift/files/pkg-message.in << 'END-of-planeshift/files/pkg-message.in'
X#################################################################################
X
XCLIENT ONLY
X-----------
X
X1) Need to download all necessary files for planeshift (art and data directory).
X   
X   # updater --auto
X
X   This download 200M aprox.
X
X2) After to update data and art directory, you need to make some changes in
X   files into data directory. I don't know about the problem with <?Include and 
X   <?Template tag defined. The solution is changing these tag to lowercase.
X
X   # find data -type f -exec sed -i '' -e 's|<?Template|<?template|g' -e \
X	's|<?Endtemplate|<?endtemplate|g' -e 's|<?Include|<?include|g' "{}" \;
X
X3) Also, I had problem with cg-base file into data/shader/snippets directory. I
X   solved it modifying some lines.
X
X    <?template _List_$LIST$ ?><?endtemplate?>
X   
X    <?template _List_$LIST$ ?>
X      <?_List_$LIST$?>
X      <?$ITEM$?>
X    <?endtemplate?>
X   
X    <?_List_$LIST$?>
X
X   to
X
X    <?!template _List_$LIST$ ?><?!endtemplate?>
X    
X    <?!template _List_$LIST$ ?>
X      <?!_List_$LIST$?>
X      <?!$ITEM$?>
X    <?!endtemplate?>
X
X    <?!_List_$LIST$?>
X
X4) Modify psclient.cfg and change line:
X
X    Planeshift.GUI.Skin.Ingame = /this/art/skins/cvs.zip
X
X    to
X
X    Planeshift.GUI.Skin.Ingame = /this/art/skins/default.zip
X
X5) For play online, you need create an account
X
X   http://laanx.fragnetics.com/register/
X
X6) Edit planeshift.cfg file and modify these lines:
X
X   ; Change values if you want.
X   Video.ScreenWidth = 800
X   Video.ScreenHeight = 600
X   ; Performs better in 32 bit display mode
X   Video.ScreenDepth = 32
X   Video.FullScreen = true
X   Planeshift.Connection.User = PlaneshiftAccount
X
X7) Start planeshift using root account once.
X8) Finally you can start planeshift using simple user account
X9) Enjoy it ;)
X
XSERVER ONLY
X-----------
X
X1) Start MySQL server
X
X   # sh /usr/local/etc/rc.d/mysql-server start
X
X2) Login MySQL console
X
X   # mysql -u username -ppassword
X
X   default username is root with no password
X
X3) Create database and user account
X
X   mysql>create database planeshift;
X   mysql>GRANT ALL PRIVILEGES ON *.* TO planeshift@localhost IDENTIFIED BY \
X		'planeshift' WITH GRANT OPTION;
X   mysql>quit
X
X   # cd %%EXAMPLESDIR%%
X
X   # mysql -u planeshift -pplaneshift
X
X   mysql> use planeshift;
X   mysql> source create_all.sql;
X   mysql> quit
X
X4) Copy worldnet's dict directory to planeshift's data directory
X
X   # cd /usr/local/share/WordNet
X   # mkdir /usr/X11R6/lib/planeshift/data/dict
X   # cp * /usr/X11R6/lib/planeshift/data/dict
X
X5) Start planeshift server
X	
X   # psserver
X
X   Type the following in "PS Server" prompt:
X
X   loadmap npcroom
X   spawn
X   ready
X
X6) Planeshift client can use these accounts for login
X
X   Vengeance/keith
X   acraig/andrew
X   guest/guest
X
X7) Enjoy it ;)
X
X#################################################################################
END-of-planeshift/files/pkg-message.in
echo x - planeshift/files/planeshift.in
sed 's/^X//' >planeshift/files/planeshift.in << 'END-of-planeshift/files/planeshift.in'
X#!/bin/csh
X
Xset SHELLTYPE=`echo $SHELL`
X
Xif ( "${SHELLTYPE}" == "/bin/csh" || "${SHELLTYPE}" == "/bin/tcsh" ) then
Xsetenv CRYSTAL /usr/X11R6/lib/planeshift
Xsetenv CEL /usr/X11R6/lib/cel
Xsetenv CSCONFPATH /usr/X11R6/etc/crystalspace
Xendif
X
Xif ( "${SHELLTYPE}" == "/usr/local/bin/bash" || "${SHELLTYPE}" == "/usr/local/bin/ksh" ) then
Xexport CRYSTAL=/usr/X11R6/lib/planeshift
Xexport CEL=/usr/X11R6/lib/cel
Xexport CSCONFPATH=/usr/X11R6/etc/crystalspace
Xendif
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./psclient $1
END-of-planeshift/files/planeshift.in
echo x - planeshift/files/psserver.in
sed 's/^X//' >planeshift/files/psserver.in << 'END-of-planeshift/files/psserver.in'
X#!/bin/csh
X
Xset SHELLTYPE=`echo $SHELL`
X
Xif ( "${SHELLTYPE}" == "/bin/csh" || "${SHELLTYPE}" == "/bin/tcsh" ) then
Xsetenv CRYSTAL /usr/X11R6/lib/planeshift
Xsetenv CEL /usr/X11R6/lib/cel
Xsetenv CSCONFPATH /usr/X11R6/etc/crystalspace
Xendif
X
Xif ( "${SHELLTYPE}" == "/usr/local/bin/bash" || "${SHELLTYPE}" == "/usr/local/bin/ksh" ) then
Xexport CRYSTAL=/usr/X11R6/lib/planeshift
Xexport CEL=/usr/X11R6/lib/cel
Xexport CSCONFPATH=/usr/X11R6/etc/crystalspace
Xendif
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./psserver $1
END-of-planeshift/files/psserver.in
echo x - planeshift/distinfo
sed 's/^X//' >planeshift/distinfo << 'END-of-planeshift/distinfo'
XSource code is retrieved via CVS
END-of-planeshift/distinfo
exit
--- planeshift-0.3.013.shar ends here ---

Greetings
ACM
-- 
Grupo de Usuarios *BSD Peru - BSDPeru
http://www.bsd.org.pe
Comment 2 Alejandro Pulver freebsd_committer freebsd_triage 2006-06-11 17:35:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

Take PR.
Comment 3 Alejandro Pulver freebsd_committer freebsd_triage 2006-06-12 01:54:53 UTC
State Changed
From-To: open->suspended

Submitter is working on -devel versions of crystalspace and crystalentitylayer, 
also the project moved from CVS to SVN.
Comment 4 Jose Alonso Cardenas Marquez 2006-06-13 08:24:31 UTC
On Mon, 12 Jun 2006 00:56:53 GMT
Alejandro Pulver <alepulver@FreeBSD.org> wrote:

> Synopsis: [NEW PORT] games/planeshift: First 3D MMORPG to be free for players
> 
> State-Changed-From-To: open->suspended
> State-Changed-By: alepulver
> State-Changed-When: Mon Jun 12 00:54:53 UTC 2006
> State-Changed-Why: 
> Submitter is working on -devel versions of crystalspace and crystalentitylayer,
> also the project moved from CVS to SVN.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=94720
> 

Hi, planeshift didn't change from cvs to svn but CS and CEL yes. It only changed cvs's url. I fixed it and i made some modifications. Please see new shar file.

--- planeshift-0.3.013.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:
#
#	planeshift
#	planeshift/pkg-descr
#	planeshift/Makefile
#	planeshift/pkg-plist
#	planeshift/files
#	planeshift/files/pssetup.in
#	planeshift/files/updater.in
#	planeshift/files/patch-autogen.sh
#	planeshift/files/tarignore
#	planeshift/files/pkg-message.in
#	planeshift/files/planeshift.in
#	planeshift/files/psserver.in
#	planeshift/distinfo
#
echo c - planeshift
mkdir -p planeshift > /dev/null 2>&1
echo x - planeshift/pkg-descr
sed 's/^X//' >planeshift/pkg-descr << 'END-of-planeshift/pkg-descr'
XThe objective of the PlaneShift is to create a virtual fantasy world in which a
Xplayer can start as a peasant in search of fame and become a hero. First of all
XPlaneShift is a Role Playing Game. Be sure to read our Roleplay guidelines or
Xyou will not be able to play this game. We will focus our efforts in the
Xreproduction of a real world with politics, economy, many non-player-characters
Xcontrolled by the server that will bring to life our world even without players
Xconnected!
X
XWe want to give FREE access to everyone, without the need to either purchase
Xthe game or pay a monthly fee. Servers and bandwidth will be donated by 
Xsponsors.
X
XOur virtual world is persistent, and this means you can connect to it at every
Xhour of day or night and you will always find players and npcs wandering our
Xrealms. You will be able to disconnect and reconnect again, the server saves
Xthe actual status of your character including his possessions.
X
XYou will use a client program to interact with our world, that enables you to
Xhave a 3D view of the surroundings.
X
XWWW:	http://www.planeshift.it
END-of-planeshift/pkg-descr
echo x - planeshift/Makefile
sed 's/^X//' >planeshift/Makefile << 'END-of-planeshift/Makefile'
X# New ports collection makefile for:	planeshift
X# Date created:		2006-03-17
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	planeshift
XPORTVERSION=	0.3.013
XCATEGORIES=	games
XMASTER_SITES=	#
XNO_CHECKSUM=	${DISTFILES}
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	First 3D MMORPG to be free for players
X
XBUILD_DEPENDS=	jam:${PORTSDIR}/devel/jam \
X		cs-config:${PORTSDIR}/graphics/crystalspace \
X		cel-config:${PORTSDIR}/graphics/crystalentitylayer \
X		${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd
XLIB_DEPENDS=	cal3d.11:${PORTSDIR}/graphics/cal3d-devel \
X		curl.3:${PORTSDIR}/ftp/curl
X
XUSE_X_PREFIX=	yes
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_AUTOTOOLS=	automake:15:env autoconf:259:env
X
XCPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_LIBS}
XLDFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib
XCRYSTAL=	${X11BASE}
XCEL=		${X11BASE}
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ARGS=	--enable-cpu-specific-optimizations=no
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CRYSTAL="${CRYSTAL}" CEL="${CEL}"
XSUB_FILES=	pkg-message planeshift pssetup updater psserver
XPLANEDIR=	lib/${PORTNAME}
XPLIST_SUB=	PLANEDIR=${PLANEDIR}
X
XJAM_CMD=	jam
X
XOPTIONS=	MYSQL	"MySQL support for server mode "	off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MYSQL)
XCONFIGURE_ARGS+=	--with-mysqlclient
XUSE_MYSQL=	yes
XLIB_DEPENDS+=	WN.2:${PORTSDIR}/textproc/wordnet
XPLIST_SUB+=	MYSQL="" \
X		EXAMPLE=""
XMYSQL_FLAG=	true
X.else
XCONFIGURE_ARGS+=	--with-mysqlclient=no
XPLIST_SUB+=	MYSQL="@comment " \
X		EXAMPLE="@comment "
X.endif
X
XCVS_CMD?=	cvs -z3
XCVS_DATE=	2006-03-01 00:00:00
XCVS_SITES?=	pserver:anonymous@planeshift.cvs.sourceforge.net:/cvsroot/planeshift
XCVS_MODULE=	${PORTNAME}
X
Xdo-fetch:
X	@if test ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ; then \
X		${MKDIR} ${DISTDIR}/${DISTNAME} && \
X		cd ${DISTDIR}/${DISTNAME}; \
X		for CVS_SITE in ${CVS_SITES}; do \
X			${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
X			if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \
X			then \
X				cd ${DISTDIR}; \
X				${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
X				${ECHO_MSG} ">> \"${DISTNAME}${EXTRACT_SUFX}\"."; \
X				${MV} ${DISTNAME}/${CVS_MODULE} \
X					${DISTNAME}/${CVS_MODULE:H}/${DISTNAME}; \
X					${TAR} -cj \
X					-X ${FILESDIR}/tarignore \
X					-f ${DISTNAME}${EXTRACT_SUFX} \
X					-C ${DISTNAME}/${CVS_MODULE:H} \
X					${DISTNAME}; \
X				exit; \
X			fi \
X		done; \
X		${RMDIR} ${DISTDIR}/${DISTNAME}; \
X		${ECHO_MSG} ">> CVS checkout failed."; \
X		exit 1; \
X	fi
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|%%AUTOHEADER%%|${AUTOHEADER}|g' -e 's|%%AUTOCONF%%|${AUTOCONF}|g' \
X		${WRKSRC}/autogen.sh
X	@cd ${WRKSRC}/src && \
X		${FIND} * -type f -name "*.c" -exec \
X			${REINPLACE_CMD} -i "" -e 's|malloc.h|stdlib.h|g' "{}" \;
X
Xpre-configure:
X	@cd ${WRKSRC} && ${SH} autogen.sh
X
Xdo-build:
X	@cd ${WRKSRC} && \
X		${JAM_CMD} -q
X
Xpost-build:
X	@${REINPLACE_CMD} -e 's|<mirror id="1" name="local" url="http://192.168.2.19/updater/" />| \
X		<mirror id="1" name="mir1" url="http://psmirror.pfdev.net/psupdater/" \
X			repository="repository.zip\" files="" /> \
X		<mirror id="2" name="mir2" url="http://planeshift.mirror.thumbnail.cz/psupdater/" \
X			repository="repository.zip" files="" /> \
X		<mirror id="3" name="mir3" url="http://www.psmirror.org/psupdater/" \
X			repository="repository.zip" files="" /> \
X		<mirror id="4" name="mir4" url="http://psmirror.u24.solone.net/psupdater/" \
X			repository="repository.zip" files="" /> \
X		<mirror id="5" name="backp" url="http://laanx.fragnetics.com/updater_hidden/" \
X			repository="repository.zip" files="" />|g' ${WRKSRC}/updaterconfig.xml
X
X	@${REINPLACE_CMD} -e 's|<module>docs</module>|<!-- <module>docs</module> -->|g' -e \
X		's|<module>root</module>|<!-- <module>root</module> -->|g' ${WRKSRC}/updaterconfig.xml
Xdo-install:
X	@${MKDIR} ${PREFIX}/${PLANEDIR}
X.for FILE in ase_2_spr eedit paws_generic pawseditor psclient psnpcclient psserver pssetup texparse updater
X	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/${PLANEDIR}
X.endfor
X
X.for FILE in *.cfg *.xml
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${PLANEDIR}
X.endfor
X
X.for DIRE in art data
X	@${MKDIR} ${PREFIX}/${PLANEDIR}/${DIRE}
X	@cd ${WRKSRC}/${DIRE} && \
X		${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${PLANEDIR}/${DIRE}/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${PLANEDIR}/${DIRE}/{}" \;
X.endfor
X
X.if defined(MYSQL_FLAG)
X	${INSTALL_SCRIPT} ${WRKDIR}/psserver ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/dbmysql.so ${PREFIX}/${PLANEDIR}
X	@${MKDIR} ${EXAMPLESDIR}
X	@cd ${WRKSRC}/src/server/database/mysql && \
X		${FIND} * -name "*.sql" -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \;
X.endif
X
X	@${INSTALL_SCRIPT} ${WRKDIR}/planeshift ${WRKDIR}/updater ${WRKDIR}/pssetup ${PREFIX}/bin
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-planeshift/Makefile
echo x - planeshift/pkg-plist
sed 's/^X//' >planeshift/pkg-plist << 'END-of-planeshift/pkg-plist'
Xbin/planeshift
Xbin/updater
Xbin/pssetup
X%%MYSQL%%bin/psserver
X%%EXAMPLE%%share/examples/planeshift/accessrules.sql
X%%EXAMPLE%%share/examples/planeshift/accounts.sql
X%%EXAMPLE%%share/examples/planeshift/action_locations.sql
X%%EXAMPLE%%share/examples/planeshift/alliances.sql
X%%EXAMPLE%%share/examples/planeshift/armorvsweapon.sql
X%%EXAMPLE%%share/examples/planeshift/bad_names.sql
X%%EXAMPLE%%share/examples/planeshift/bans.sql
X%%EXAMPLE%%share/examples/planeshift/buddy_list.sql
X%%EXAMPLE%%share/examples/planeshift/command_access.sql
X%%EXAMPLE%%share/examples/planeshift/commonstrings.sql
X%%EXAMPLE%%share/examples/planeshift/create_all.sql
X%%EXAMPLE%%share/examples/planeshift/char_adv.sql
X%%EXAMPLE%%share/examples/planeshift/char_creation.sql
X%%EXAMPLE%%share/examples/planeshift/char_skills.sql
X%%EXAMPLE%%share/examples/planeshift/char_traits.sql
X%%EXAMPLE%%share/examples/planeshift/character_marriage_details.sql
X%%EXAMPLE%%share/examples/planeshift/character_quests.sql
X%%EXAMPLE%%share/examples/planeshift/characters.sql
X%%EXAMPLE%%share/examples/planeshift/deletechar.sql
X%%EXAMPLE%%share/examples/planeshift/deletenpc.sql
X%%EXAMPLE%%share/examples/planeshift/deletenpc_mb.sql
X%%EXAMPLE%%share/examples/planeshift/drop.sql
X%%EXAMPLE%%share/examples/planeshift/factions.sql
X%%EXAMPLE%%share/examples/planeshift/gm_command_log.sql
X%%EXAMPLE%%share/examples/planeshift/guildlevels.sql
X%%EXAMPLE%%share/examples/planeshift/guilds.sql
X%%EXAMPLE%%share/examples/planeshift/hunt_locations.sql
X%%EXAMPLE%%share/examples/planeshift/item_animations.sql
X%%EXAMPLE%%share/examples/planeshift/item_categories.sql
X%%EXAMPLE%%share/examples/planeshift/item_instances.sql
X%%EXAMPLE%%share/examples/planeshift/item_stats.sql
X%%EXAMPLE%%share/examples/planeshift/loot_modifiers.sql
X%%EXAMPLE%%share/examples/planeshift/loot_rule_details.sql
X%%EXAMPLE%%share/examples/planeshift/loot_rules.sql
X%%EXAMPLE%%share/examples/planeshift/merchant_item_cats.sql
X%%EXAMPLE%%share/examples/planeshift/migration.sql
X%%EXAMPLE%%share/examples/planeshift/movement_base.sql
X%%EXAMPLE%%share/examples/planeshift/movement_extras.sql
X%%EXAMPLE%%share/examples/planeshift/movement_require.sql
X%%EXAMPLE%%share/examples/planeshift/movement_variant.sql
X%%EXAMPLE%%share/examples/planeshift/natural_resources.sql
X%%EXAMPLE%%share/examples/planeshift/npc_bad_text.sql
X%%EXAMPLE%%share/examples/planeshift/npc_disallowed_words.sql
X%%EXAMPLE%%share/examples/planeshift/npc_kas.sql
X%%EXAMPLE%%share/examples/planeshift/npc_responses.sql
X%%EXAMPLE%%share/examples/planeshift/npc_spawn_ranges.sql
X%%EXAMPLE%%share/examples/planeshift/npc_spawn_rules.sql
X%%EXAMPLE%%share/examples/planeshift/npc_synonyms.sql
X%%EXAMPLE%%share/examples/planeshift/npc_trigger_groups.sql
X%%EXAMPLE%%share/examples/planeshift/npc_triggers.sql
X%%EXAMPLE%%share/examples/planeshift/petitions.sql
X%%EXAMPLE%%share/examples/planeshift/player_spells.sql
X%%EXAMPLE%%share/examples/planeshift/progress_events.sql
X%%EXAMPLE%%share/examples/planeshift/quest_scripts.sql
X%%EXAMPLE%%share/examples/planeshift/quests.sql
X%%EXAMPLE%%share/examples/planeshift/race_info.sql
X%%EXAMPLE%%share/examples/planeshift/sc_npc_definitions.sql
X%%EXAMPLE%%share/examples/planeshift/sectors.sql
X%%EXAMPLE%%share/examples/planeshift/security_levels.sql
X%%EXAMPLE%%share/examples/planeshift/server_options.sql
X%%EXAMPLE%%share/examples/planeshift/skills.sql
X%%EXAMPLE%%share/examples/planeshift/spell_glyphs.sql
X%%EXAMPLE%%share/examples/planeshift/spells.sql
X%%EXAMPLE%%share/examples/planeshift/sys_modules.sql
X%%EXAMPLE%%share/examples/planeshift/sys_privileges.sql
X%%EXAMPLE%%share/examples/planeshift/sys_privileges_list.sql
X%%EXAMPLE%%share/examples/planeshift/sys_programs.sql
X%%EXAMPLE%%share/examples/planeshift/tips.sql
X%%EXAMPLE%%share/examples/planeshift/trade_autocontainers.sql
X%%EXAMPLE%%share/examples/planeshift/trade_combinations.sql
X%%EXAMPLE%%share/examples/planeshift/trade_constraints.sql
X%%EXAMPLE%%share/examples/planeshift/trade_patterns.sql
X%%EXAMPLE%%share/examples/planeshift/trade_transformations.sql
X%%EXAMPLE%%share/examples/planeshift/trainer_skills.sql
X%%EXAMPLE%%share/examples/planeshift/traits.sql
X%%EXAMPLE%%share/examples/planeshift/upgrade_schema.sql
X%%EXAMPLE%%share/examples/planeshift/ways.sql
X%%PLANEDIR%%/art/README
X%%PLANEDIR%%/art/apps.zip
X%%PLANEDIR%%/art/eedit.zip
X%%PLANEDIR%%/art/effects/marker01.png
X%%PLANEDIR%%/art/effects/raindrop.png
X%%PLANEDIR%%/art/effects/snow.jpg
X%%PLANEDIR%%/art/fakemodels.zip
X%%PLANEDIR%%/art/models.zip
X%%PLANEDIR%%/art/music/ComplexWind3.ogg
X%%PLANEDIR%%/art/music/README
X%%PLANEDIR%%/art/music/effects/PS_Thunder1.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder2.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder3.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder4.wav
X%%PLANEDIR%%/art/music/effects/PS_Thunder5.wav
X%%PLANEDIR%%/art/music/effects/PS_heavyrain.ogg
X%%PLANEDIR%%/art/music/effects/PS_lightrain.ogg
X%%PLANEDIR%%/art/music/effects/Storm_exclamation.wav
X%%PLANEDIR%%/art/music/effects/attack3.ogg
X%%PLANEDIR%%/art/music/effects/chaching.wav
X%%PLANEDIR%%/art/music/effects/gasps8.wav
X%%PLANEDIR%%/art/music/effects/halleluj.wav
X%%PLANEDIR%%/art/music/effects/heal1.ogg
X%%PLANEDIR%%/art/music/effects/heal2.ogg
X%%PLANEDIR%%/art/music/effects/ouch!.wav
X%%PLANEDIR%%/art/music/effects/sucks.wav
X%%PLANEDIR%%/art/music/gui/ccreate/back.wav
X%%PLANEDIR%%/art/music/gui/ccreate/decstat.wav
X%%PLANEDIR%%/art/music/gui/ccreate/incstat.wav
X%%PLANEDIR%%/art/music/gui/ccreate/infotext.wav
X%%PLANEDIR%%/art/music/gui/ccreate/next.wav
X%%PLANEDIR%%/art/music/gui/ccreate/quit.wav
X%%PLANEDIR%%/art/music/gui/jingle_splash.ogg
X%%PLANEDIR%%/art/music/gui/menu/btconn.wav
X%%PLANEDIR%%/art/music/gui/menu/btcreate.wav
X%%PLANEDIR%%/art/music/gui/menu/btndown.wav
X%%PLANEDIR%%/art/music/gui/menu/btquit.wav
X%%PLANEDIR%%/art/music/torch_test.wav
X%%PLANEDIR%%/art/pawseditor.zip
X%%PLANEDIR%%/art/psclient-setup.zip
X%%PLANEDIR%%/art/racelib.xml
X%%PLANEDIR%%/art/runes/README
X%%PLANEDIR%%/art/runes/azure/air.bmp
X%%PLANEDIR%%/art/runes/azure/bond.bmp
X%%PLANEDIR%%/art/runes/azure/dome.bmp
X%%PLANEDIR%%/art/runes/azure/fly.bmp
X%%PLANEDIR%%/art/runes/azure/gas.bmp
X%%PLANEDIR%%/art/runes/azure/humanoid.bmp
X%%PLANEDIR%%/art/runes/azure/mind.bmp
X%%PLANEDIR%%/art/runes/azure/sleep.bmp
X%%PLANEDIR%%/art/runes/azure/sound.bmp
X%%PLANEDIR%%/art/sfxfiles.dtd
X%%PLANEDIR%%/art/shaders/colorize.xml
X%%PLANEDIR%%/art/shaders/particle_basic.xml
X%%PLANEDIR%%/art/skins/cvs.zip
X%%PLANEDIR%%/art/soundlib.xml
X%%PLANEDIR%%/art/sounds/gui/bttn_cancel.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_ok.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_quit.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_scrolldown.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_scrollup.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_shortcut.ogg
X%%PLANEDIR%%/art/sounds/gui/bttn_toolbar.ogg
X%%PLANEDIR%%/art/things/items.zip
X%%PLANEDIR%%/art/things/potions.zip
X%%PLANEDIR%%/art/things/weapons.zip
X%%PLANEDIR%%/art/world/.cvsignore
X%%PLANEDIR%%/art/world/lighting.xml
X%%PLANEDIR%%/art/world/npcroom.zip
X%%PLANEDIR%%/art/world/podium.zip
X%%PLANEDIR%%/art/world/sound.xml
X%%PLANEDIR%%/ase_2_spr
X%%PLANEDIR%%/data/config/setupwindow.xml
X%%PLANEDIR%%/data/config/skinwindow.xml
X%%PLANEDIR%%/data/eedit/camera.xml
X%%PLANEDIR%%/data/eedit/editeffect.xml
X%%PLANEDIR%%/data/eedit/eedit.xml
X%%PLANEDIR%%/data/eedit/error.xml
X%%PLANEDIR%%/data/eedit/filenavigation.xml
X%%PLANEDIR%%/data/eedit/fps.xml
X%%PLANEDIR%%/data/eedit/imagelist.xml
X%%PLANEDIR%%/data/eedit/inputbox/editanchor.xml
X%%PLANEDIR%%/data/eedit/inputbox/editanchorkeyframe.xml
X%%PLANEDIR%%/data/eedit/inputbox/float.xml
X%%PLANEDIR%%/data/eedit/inputbox/list.xml
X%%PLANEDIR%%/data/eedit/inputbox/newanchor.xml
X%%PLANEDIR%%/data/eedit/inputbox/newanchorkeyframe.xml
X%%PLANEDIR%%/data/eedit/inputbox/string.xml
X%%PLANEDIR%%/data/eedit/inputbox/vec3.xml
X%%PLANEDIR%%/data/eedit/inputbox/yesno.xml
X%%PLANEDIR%%/data/eedit/keys.xml
X%%PLANEDIR%%/data/eedit/keys_def.xml
X%%PLANEDIR%%/data/eedit/loadeffect.xml
X%%PLANEDIR%%/data/eedit/loadmap.xml
X%%PLANEDIR%%/data/eedit/position.xml
X%%PLANEDIR%%/data/eedit/render.xml
X%%PLANEDIR%%/data/eedit/shortcuts.xml
X%%PLANEDIR%%/data/eedit/target.xml
X%%PLANEDIR%%/data/effects/examples/obj_quad.eff
X%%PLANEDIR%%/data/effects/examples/obj_spire.eff
X%%PLANEDIR%%/data/effects/examples/obj_star.eff
X%%PLANEDIR%%/data/effects/misc/entitylabel.eff
X%%PLANEDIR%%/data/effects/misc/marker.eff
X%%PLANEDIR%%/data/effects/misc/target.eff
X%%PLANEDIR%%/data/gui/activemagicwindow.xml
X%%PLANEDIR%%/data/gui/birth.xml
X%%PLANEDIR%%/data/gui/borderlist.xml
X%%PLANEDIR%%/data/gui/buddy.xml
X%%PLANEDIR%%/data/gui/configcamera.xml
X%%PLANEDIR%%/data/gui/configchat.xml
X%%PLANEDIR%%/data/gui/configchatfilter.xml
X%%PLANEDIR%%/data/gui/configdetails.xml
X%%PLANEDIR%%/data/gui/configentityinter.xml
X%%PLANEDIR%%/data/gui/configentitylabels.xml
X%%PLANEDIR%%/data/gui/configkeys.xml
X%%PLANEDIR%%/data/gui/configmouse.xml
X%%PLANEDIR%%/data/gui/configpvp.xml
X%%PLANEDIR%%/data/gui/configsound.xml
X%%PLANEDIR%%/data/gui/configwindow.xml
X%%PLANEDIR%%/data/gui/containerdesc.xml
X%%PLANEDIR%%/data/gui/control.xml
X%%PLANEDIR%%/data/gui/control_styles.xml
X%%PLANEDIR%%/data/gui/craft.xml
X%%PLANEDIR%%/data/gui/credits_config.xml
X%%PLANEDIR%%/data/gui/creditswindow.xml
X%%PLANEDIR%%/data/gui/charcreate.xml
X%%PLANEDIR%%/data/gui/chardescwindow.xml
X%%PLANEDIR%%/data/gui/charpick.xml
X%%PLANEDIR%%/data/gui/chat.xml
X%%PLANEDIR%%/data/gui/chatmenu.xml
X%%PLANEDIR%%/data/gui/childhood.xml
X%%PLANEDIR%%/data/gui/detailwindow.xml
X%%PLANEDIR%%/data/gui/eedit.xml
X%%PLANEDIR%%/data/gui/exchange.xml
X%%PLANEDIR%%/data/gui/filenavigation.xml
X%%PLANEDIR%%/data/gui/fingering.xml
X%%PLANEDIR%%/data/gui/glyph.xml
X%%PLANEDIR%%/data/gui/gmaddeditaction.xml
X%%PLANEDIR%%/data/gui/gmguiwindow.xml
X%%PLANEDIR%%/data/gui/gmspawn.xml
X%%PLANEDIR%%/data/gui/group.xml
X%%PLANEDIR%%/data/gui/guildwindow.xml
X%%PLANEDIR%%/data/gui/helpwindow.xml
X%%PLANEDIR%%/data/gui/ignorewindow.xml
X%%PLANEDIR%%/data/gui/infowindow.xml
X%%PLANEDIR%%/data/gui/interact.xml
X%%PLANEDIR%%/data/gui/inventory.xml
X%%PLANEDIR%%/data/gui/itemdesc.xml
X%%PLANEDIR%%/data/gui/lifeevents.xml
X%%PLANEDIR%%/data/gui/loadwindow.xml
X%%PLANEDIR%%/data/gui/loginwindow.xml
X%%PLANEDIR%%/data/gui/loot.xml
X%%PLANEDIR%%/data/gui/merchant.xml
X%%PLANEDIR%%/data/gui/money.xml
X%%PLANEDIR%%/data/gui/ok.xml
X%%PLANEDIR%%/data/gui/parents.xml
X%%PLANEDIR%%/data/gui/paths.xml
X%%PLANEDIR%%/data/gui/paws_generic.xml
X%%PLANEDIR%%/data/gui/petition.xml
X%%PLANEDIR%%/data/gui/petitiongm.xml
X%%PLANEDIR%%/data/gui/petstatwindow.xml
X%%PLANEDIR%%/data/gui/questnotebook.xml
X%%PLANEDIR%%/data/gui/questrewardwindow.xml
X%%PLANEDIR%%/data/gui/quitinfo.xml
X%%PLANEDIR%%/data/gui/readbook.xml
X%%PLANEDIR%%/data/gui/shortcutwindow.xml
X%%PLANEDIR%%/data/gui/skillwindow.xml
X%%PLANEDIR%%/data/gui/smallinventory.xml
X%%PLANEDIR%%/data/gui/spell_effect.xml
X%%PLANEDIR%%/data/gui/spellcancelwindow.xml
X%%PLANEDIR%%/data/gui/spellwindow.xml
X%%PLANEDIR%%/data/gui/splash.xml
X%%PLANEDIR%%/data/gui/styles.xml
X%%PLANEDIR%%/data/gui/summary.xml
X%%PLANEDIR%%/data/gui/widgetconfigwindow.xml
X%%PLANEDIR%%/data/gui/yesno.xml
X%%PLANEDIR%%/data/gui/zodiacs.xml
X%%PLANEDIR%%/data/guikeys.xml
X%%PLANEDIR%%/data/help.xml
X%%PLANEDIR%%/data/npcbehave.xml
X%%PLANEDIR%%/data/npcdefs.xml
X%%PLANEDIR%%/data/options/.cvsignore
X%%PLANEDIR%%/data/options/camera_def.xml
X%%PLANEDIR%%/data/options/chat_def.xml
X%%PLANEDIR%%/data/options/entityinter_def.xml
X%%PLANEDIR%%/data/options/entitylabels_def.xml
X%%PLANEDIR%%/data/options/keys_def.xml
X%%PLANEDIR%%/data/options/mouse_def.xml
X%%PLANEDIR%%/data/options/pvp_def.xml
X%%PLANEDIR%%/data/options/shortcutcommands_def.xml
X%%PLANEDIR%%/data/options/sound_def.xml
X%%PLANEDIR%%/data/partview/colorprops.xml
X%%PLANEDIR%%/data/partview/emitterprops.xml
X%%PLANEDIR%%/data/partview/environmentprops.xml
X%%PLANEDIR%%/data/partview/forceprops.xml
X%%PLANEDIR%%/data/partview/imagelist.xml
X%%PLANEDIR%%/data/partview/materialprops.xml
X%%PLANEDIR%%/data/partview/materiallist.xml
X%%PLANEDIR%%/data/partview/menubar.xml
X%%PLANEDIR%%/data/partview/otherprops.xml
X%%PLANEDIR%%/data/partview/particleprops.xml
X%%PLANEDIR%%/data/partview/pscollapsable.xml
X%%PLANEDIR%%/data/partview/pslist.xml
X%%PLANEDIR%%/data/partview/psscrollpane.xml
X%%PLANEDIR%%/data/partview/stateprops.xml
X%%PLANEDIR%%/data/partview/systemprops.xml
X%%PLANEDIR%%/data/pawseditor/filenavigation.xml
X%%PLANEDIR%%/data/pawseditor/imagelist.xml
X%%PLANEDIR%%/data/pawseditor/keys_def.xml
X%%PLANEDIR%%/data/pawseditor/pebackground.xml
X%%PLANEDIR%%/data/pawseditor/pemenu.xml
X%%PLANEDIR%%/data/pawseditor/peskinselector.xml
X%%PLANEDIR%%/data/pawseditor/pewidgettree.xml
X%%PLANEDIR%%/data/phonics.xml
X%%PLANEDIR%%/data/prefs.xml
X%%PLANEDIR%%/data/pvp_regions.xml
X%%PLANEDIR%%/data/races/descriptions.xml
X%%PLANEDIR%%/data/races/quickpaths.xml
X%%PLANEDIR%%/data/rpgrules.xml
X%%PLANEDIR%%/data/schemas/effects.xsd
X%%PLANEDIR%%/data/schemas/sounds.xsd
X%%PLANEDIR%%/data/servers.xml
X%%PLANEDIR%%/data/ttf/arial.ttf
X%%PLANEDIR%%/data/ttf/ariali.ttf
X%%PLANEDIR%%/data/ttf/becker-m.ttf
X%%PLANEDIR%%/data/ttf/comic.ttf
X%%PLANEDIR%%/data/ttf/cour.ttf
X%%PLANEDIR%%/data/ttf/cupandtalon.ttf
X%%PLANEDIR%%/data/ttf/readme.txt
X%%PLANEDIR%%/data/ttf/scurlock.ttf
X%%PLANEDIR%%/data/ttf/verdana.ttf
X%%PLANEDIR%%/data/updater/serverlist.xml
X%%PLANEDIR%%/data/updater/updaterwindow.xml
X%%PLANEDIR%%/data/zoneinfo.xml
X%%MYSQL%%%%PLANEDIR%%/dbmysql.so
X%%PLANEDIR%%/eedit
X%%PLANEDIR%%/eedit.cfg
X%%PLANEDIR%%/npcclient.cfg
X%%PLANEDIR%%/partview.cfg
X%%PLANEDIR%%/paws_generic
X%%PLANEDIR%%/paws_generic.cfg
X%%PLANEDIR%%/pawseditor
X%%PLANEDIR%%/pawseditor.cfg
X%%PLANEDIR%%/planeshift.cfg
X%%PLANEDIR%%/psclient
X%%PLANEDIR%%/psclient.cfg
X%%PLANEDIR%%/psnpcclient
X%%PLANEDIR%%/psserver
X%%PLANEDIR%%/psserver.cfg
X%%PLANEDIR%%/pssetup
X%%PLANEDIR%%/pssetup.cfg
X%%PLANEDIR%%/psupdater.cfg
X%%PLANEDIR%%/texparse
X%%PLANEDIR%%/updater
X%%PLANEDIR%%/updaterconfig.xml
X%%PLANEDIR%%/vfs.cfg
X%%EXAMPLE%%@dirrm share/examples/planeshift
X@dirrmtry %%PLANEDIR%%/art/effects
X@dirrmtry %%PLANEDIR%%/art/music/effects
X@dirrmtry %%PLANEDIR%%/art/music/gui/ccreate
X@dirrmtry %%PLANEDIR%%/art/music/gui/menu
X@dirrmtry %%PLANEDIR%%/art/music/gui
X@dirrmtry %%PLANEDIR%%/art/music
X@dirrmtry %%PLANEDIR%%/art/runes/azure
X@dirrmtry %%PLANEDIR%%/art/runes
X@dirrmtry %%PLANEDIR%%/art/shaders
X@dirrmtry %%PLANEDIR%%/art/skins
X@dirrmtry %%PLANEDIR%%/art/sounds/gui
X@dirrmtry %%PLANEDIR%%/art/sounds
X@dirrmtry %%PLANEDIR%%/art/things
X@dirrmtry %%PLANEDIR%%/art/world
X@dirrmtry %%PLANEDIR%%/art
X@dirrmtry %%PLANEDIR%%/data/config
X@dirrmtry %%PLANEDIR%%/data/eedit/inputbox
X@dirrmtry %%PLANEDIR%%/data/eedit
X@dirrmtry %%PLANEDIR%%/data/effects/examples
X@dirrmtry %%PLANEDIR%%/data/effects/misc
X@dirrmtry %%PLANEDIR%%/data/effects
X@dirrmtry %%PLANEDIR%%/data/gui
X@dirrmtry %%PLANEDIR%%/data/options
X@dirrmtry %%PLANEDIR%%/data/partview
X@dirrmtry %%PLANEDIR%%/data/pawseditor
X@dirrmtry %%PLANEDIR%%/data/races
X@dirrmtry %%PLANEDIR%%/data/schemas
X@dirrmtry %%PLANEDIR%%/data/ttf
X@dirrmtry %%PLANEDIR%%/data/updater
X@dirrmtry %%PLANEDIR%%/data
X@unexec rmdir %D/%%PLANEDIR%% >/dev/null 2>&1 || echo "Remove manually the extra files into data and art directories (200M aprox.). Also you could move data and art directory to some backup directory."
END-of-planeshift/pkg-plist
echo c - planeshift/files
mkdir -p planeshift/files > /dev/null 2>&1
echo x - planeshift/files/pssetup.in
sed 's/^X//' >planeshift/files/pssetup.in << 'END-of-planeshift/files/pssetup.in'
X#!/bin/sh
X
Xexport CRYSTAL=%%X11BASE%%/lib/planeshift
Xexport CEL=%%X11BASE%%/lib/cel
Xexport CSCONFPATH=%%X11BASE%%/etc/crystalspace
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./pssetup $1
END-of-planeshift/files/pssetup.in
echo x - planeshift/files/updater.in
sed 's/^X//' >planeshift/files/updater.in << 'END-of-planeshift/files/updater.in'
X#!/bin/sh
X
Xexport CRYSTAL=%%X11BASE%%/lib/planeshift
Xexport CEL=%%X11BASE%%/lib/cel
Xexport CSCONFPATH=%%X11BASE%%/etc/crystalspace
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./updater $1
END-of-planeshift/files/updater.in
echo x - planeshift/files/patch-autogen.sh
sed 's/^X//' >planeshift/files/patch-autogen.sh << 'END-of-planeshift/files/patch-autogen.sh'
X--- autogen.sh.orig	Fri Mar 17 22:07:40 2006
X+++ autogen.sh	Fri Mar 17 16:52:53 2006
X@@ -13,11 +13,11 @@
X   cat $i >> $MACROFILE
X done
X 
X-autoheader
X+%%AUTOHEADER%%
X rc=$?
X 
X if test $rc -eq 0; then
X-  autoconf
X+  %%AUTOCONF%%
X   rc=$?
X fi
X 
END-of-planeshift/files/patch-autogen.sh
echo x - planeshift/files/tarignore
sed 's/^X//' >planeshift/files/tarignore << 'END-of-planeshift/files/tarignore'
XCVS
END-of-planeshift/files/tarignore
echo x - planeshift/files/pkg-message.in
sed 's/^X//' >planeshift/files/pkg-message.in << 'END-of-planeshift/files/pkg-message.in'
X#################################################################################
X
XCLIENT ONLY
X-----------
X
X1) Need to download all necessary files for planeshift (art and data directory).
X   
X   # updater --auto
X
X   This download 200M aprox.
X
X2) After to update data and art directory, you need to make some changes in
X   files into data directory. I don't know about the problem with <?Include and 
X   <?Template tag defined. The solution is changing these tag to lowercase.
X
X   # find data -type f -exec sed -i '' -e 's|<?Template|<?template|g' -e \
X	's|<?Endtemplate|<?endtemplate|g' -e 's|<?Include|<?include|g' "{}" \;
X
X3) Also, I had problem with cg-base file into data/shader/snippets directory. I
X   solved it modifying some lines.
X
X    <?template _List_$LIST$ ?><?endtemplate?>
X   
X    <?template _List_$LIST$ ?>
X      <?_List_$LIST$?>
X      <?$ITEM$?>
X    <?endtemplate?>
X   
X    <?_List_$LIST$?>
X
X   to
X
X    <?!template _List_$LIST$ ?><?!endtemplate?>
X    
X    <?!template _List_$LIST$ ?>
X      <?!_List_$LIST$?>
X      <?!$ITEM$?>
X    <?!endtemplate?>
X
X    <?!_List_$LIST$?>
X
X4) Modify psclient.cfg and change line:
X
X    Planeshift.GUI.Skin.Ingame = /this/art/skins/cvs.zip
X
X    to
X
X    Planeshift.GUI.Skin.Ingame = /this/art/skins/default.zip
X
X5) For play online, you need create an account
X
X   http://laanx.fragnetics.com/register/
X
X6) Edit planeshift.cfg file and modify these lines:
X
X   ; Change values if you want.
X   Video.ScreenWidth = 800
X   Video.ScreenHeight = 600
X   ; Performs better in 32 bit display mode
X   Video.ScreenDepth = 32
X   Video.FullScreen = true
X   Planeshift.Connection.User = PlaneshiftAccount
X
X7) Start planeshift using root account once.
X8) Finally you can start planeshift using simple user account
X9) Enjoy it ;)
X
XSERVER ONLY
X-----------
X
X1) Start MySQL server
X
X   # sh /usr/local/etc/rc.d/mysql-server start
X
X2) Login MySQL console
X
X   # mysql -u username -ppassword
X
X   default username is root with no password
X
X3) Create database and user account
X
X   mysql>create database planeshift;
X   mysql>GRANT ALL PRIVILEGES ON *.* TO planeshift@localhost IDENTIFIED BY \
X		'planeshift' WITH GRANT OPTION;
X   mysql>quit
X
X   # cd %%EXAMPLESDIR%%
X
X   # mysql -u planeshift -pplaneshift
X
X   mysql> use planeshift;
X   mysql> source create_all.sql;
X   mysql> quit
X
X4) Copy worldnet's dict directory to planeshift's data directory
X
X   # cd /usr/local/share/WordNet
X   # mkdir /usr/X11R6/lib/planeshift/data/dict
X   # cp * /usr/X11R6/lib/planeshift/data/dict
X
X5) Start planeshift server
X	
X   # psserver
X
X   Type the following in "PS Server" prompt:
X
X   loadmap npcroom
X   spawn
X   ready
X
X6) Planeshift client can use these accounts for login
X
X   Vengeance/keith
X   acraig/andrew
X   guest/guest
X
X7) Enjoy it ;)
X
X#################################################################################
END-of-planeshift/files/pkg-message.in
echo x - planeshift/files/planeshift.in
sed 's/^X//' >planeshift/files/planeshift.in << 'END-of-planeshift/files/planeshift.in'
X#!/bin/csh
X
Xexport CRYSTAL=%%X11BASE%%/lib/planeshift
Xexport CEL=%%X11BASE%%/lib/cel
Xexport CSCONFPATH=%%X11BASE%%/etc/crystalspace
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./psclient $1
END-of-planeshift/files/planeshift.in
echo x - planeshift/files/psserver.in
sed 's/^X//' >planeshift/files/psserver.in << 'END-of-planeshift/files/psserver.in'
X#!/bin/sh
X
Xexport CRYSTAL=%%X11BASE%%/lib/planeshift
Xexport CEL=%%X11BASE%%/lib/cel
Xexport CSCONFPATH=%%X11BASE%%/etc/crystalspace
X
Xcd %%PREFIX%%/lib/planeshift
Xexec ./psserver $1
END-of-planeshift/files/psserver.in
echo x - planeshift/distinfo
sed 's/^X//' >planeshift/distinfo << 'END-of-planeshift/distinfo'
XSource code is retrieved via CVS
END-of-planeshift/distinfo
exit
--- planeshift-0.3.013.shar ends here ---

It works fine for me. but this version of planeshift doesn't connect to planeshift's official server. Official server is using 0.3.0.14b version of planeshift. I will work in update planeshift to 0.3.014 later (i'm waiting a stable version). I will need CEL and CS devel version.

Greetings
ACM
-- 
Grupo de Usuarios *BSD Peru - BSDPeru
http://www.bsd.org.pe
Comment 5 Alejandro Pulver freebsd_committer freebsd_triage 2006-06-26 00:10:43 UTC
State Changed
From-To: suspended->closed

New port added, thanks!