FreeBSD Bugzilla – Attachment 44257 Details for
Bug 68584
[New Port] games/wargus - Warcraft2 Mod that allows you to play Warcraft2 with Stratagus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 13.70 KB, created by
Travis Poppe
on 2004-07-02 05:50:24 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Travis Poppe
Created:
2004-07-02 05:50:24 UTC
Size:
13.70 KB
patch
obsolete
># 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: ># ># games/wargus/ ># games/wargus/files ># games/wargus/files/wargus.in ># games/wargus/files/pkg-message.in ># games/wargus/Makefile ># games/wargus/distinfo ># games/wargus/pkg-descr ># games/wargus/pkg-plist ># >echo c - games/wargus/ >mkdir -p games/wargus/ > /dev/null 2>&1 >echo c - games/wargus/files >mkdir -p games/wargus/files > /dev/null 2>&1 >echo x - games/wargus/files/wargus.in >sed 's/^X//' >games/wargus/files/wargus.in << 'END-of-games/wargus/files/wargus.in' >X#!/bin/sh >X# wargus - wargus/stratagus wrapper script >X# >X# Note: If you have noticed any problems with this script or my port, please >X# let me know as soon as possible! >X# >X# 2004 Travis Poppe <tlp@LiquidX.org> >X >XUSERDIR=$HOME/.wargus >XDATADIR=%%PREFIX%%/share/wargus/data.wc2 >X >Xif [ ! -x $DATADIR ]; then >X echo "Warcraft2 data not found in $DATADIR/" >X echo "" >X echo "Did you run build.sh yet?" >X echo "" >X echo "Giving you instructions in 5 seconds..." >X sleep 5 >X echo "" >X echo "The Wargus tool has been installed to %%PREFIX%%/share/wargus/" >X echo "" >X echo "You can now use this tool to extract Warcraft2 data for use with the" >X echo "Stratagus engine from the following CDs:" >X echo "" >X echo "* US Expansion (both MAC/DOS)" >X echo "* US Original (both MAC/DOS)" >X echo "* UK/Australian Original" >X echo "* UK/Australian Expansion" >X echo "* German Original" >X echo "* German Expansion" >X echo "* Spanish Original" >X echo "" >X echo "After modifying build.sh to point to your Warcraft2 data, you must run it" >X echo "as root from inside the directory it is installed to." >X echo "" >X echo "Note: If you have one of the above CDs mounted on /cdrom, you may not need" >X echo "to modify build.sh before running it." >X echo "" >X echo "After your Warcraft2 data has been successfully extracted, run 'wargus' as the" >X echo "user you intend to play the game with." >X echo "" >X echo "For more information, please visit: http://wargus.sourceforge.net" >Xfi >X >Xif [ -x $USERDIR ]; then >X echo "Warcraft2 data appears to be installed/linked to $USERDIR/" >X echo "" >X echo "Attempting to run Stratagus with Warcraft2 data" >X echo "" >X cd $USERDIR >X stratagus -d $USERDIR/data $* >X exit >Xfi >X >Xif [ -x $DATADIR ]; then >X mkdir $USERDIR >X mkdir $USERDIR/data >X ln -s %%PREFIX%%/share/wargus/data.wc2/* $USERDIR/data >X >X echo "Installed/linked Warcraft2 data to $USERDIR/" >X echo "" >X echo "Attempting to run Stratagus with Warcraft2 data" >X echo "" >X cd $USERDIR >X stratagus -d $USERDIR/data $* >X exit >Xfi >END-of-games/wargus/files/wargus.in >echo x - games/wargus/files/pkg-message.in >sed 's/^X//' >games/wargus/files/pkg-message.in << 'END-of-games/wargus/files/pkg-message.in' >X------------------------------------------------------------------------------- >XThe Wargus tool has been installed to %%PREFIX%%/share/wargus/ >X >XYou can now use this tool to extract Warcraft2 data for use with the >XStratagus engine from the following CDs: >X >X* US Expansion (both MAC/DOS) >X* US Original (both MAC/DOS) >X* UK/Australian Original >X* UK/Australian Expansion >X* German Original >X* German Expansion >X* Spanish Original >X >XAfter modifying build.sh to point to your Warcraft2 data, you must run it >Xas root from inside the directory it is installed to. >X >XNote: If you have one of the above CDs mounted on /cdrom, you may not need >Xto modify build.sh before running it. >X >XAfter your Warcraft2 data has been successfully extracted, run 'wargus' as the >Xuser you intend to play the game with. >X >XFor more information, please visit: http://wargus.sourceforge.net >X------------------------------------------------------------------------------- >END-of-games/wargus/files/pkg-message.in >echo x - games/wargus/Makefile >sed 's/^X//' >games/wargus/Makefile << 'END-of-games/wargus/Makefile' >X# New ports collection makefile for: wargus >X# Date created: 1 Jul 2004 >X# Whom: Travis Poppe <tlp@liquidx.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= wargus >XPORTVERSION= 2.1 >XCATEGORIES= games >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= ${PORTNAME} >XDISTNAME= ${PORTNAME}-${PORTVERSION}-src >X >XMAINTAINER= tlp@liquidx.org >XCOMMENT= A Warcraft2 Mod that allows you to play Warcraft2 with Stratagus >X >XBUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png >XRUN_DEPENDS= ${LOCALBASE}/bin/stratagus:${PORTSDIR}/games/stratagus >X >XUSE_GMAKE= yes >XUSE_REINPLACE= yes >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >X >Xdo-install: >X ${MKDIR} ${PREFIX}/share/wargus >X ${MKDIR} ${PREFIX}/share/wargus/campaigns >X ${MKDIR} ${PREFIX}/share/wargus/campaigns/human >X ${MKDIR} ${PREFIX}/share/wargus/campaigns/human-exp >X ${MKDIR} ${PREFIX}/share/wargus/campaigns/orc >X ${MKDIR} ${PREFIX}/share/wargus/campaigns/orc-exp >X ${MKDIR} ${PREFIX}/share/wargus/contrib >X ${MKDIR} ${PREFIX}/share/wargus/maps >X ${MKDIR} ${PREFIX}/share/wargus/maps/multi >X ${MKDIR} ${PREFIX}/share/wargus/scripts >X ${MKDIR} ${PREFIX}/share/wargus/scripts/ai >X ${MKDIR} ${PREFIX}/share/wargus/scripts/human >X ${MKDIR} ${PREFIX}/share/wargus/scripts/orc >X ${MKDIR} ${PREFIX}/share/wargus/scripts/tilesets >X ${INSTALL_DATA} ${WRKSRC}/campaigns/human/* ${PREFIX}/share/wargus/campaigns/human >X ${INSTALL_DATA} ${WRKSRC}/campaigns/human-exp/* ${PREFIX}/share/wargus/campaigns/human-exp >X ${INSTALL_DATA} ${WRKSRC}/campaigns/orc/* ${PREFIX}/share/wargus/campaigns/orc >X ${INSTALL_DATA} ${WRKSRC}/campaigns/orc-exp/* ${PREFIX}/share/wargus/campaigns/orc-exp >X ${INSTALL_DATA} ${WRKSRC}/contrib/* ${PREFIX}/share/wargus/contrib >X ${INSTALL_DATA} ${WRKSRC}/maps/multi/* ${PREFIX}/share/wargus/maps/multi >X ${INSTALL_DATA} ${WRKSRC}/scripts/*.lua ${PREFIX}/share/wargus/scripts >X ${INSTALL_DATA} ${WRKSRC}/scripts/ai/* ${PREFIX}/share/wargus/scripts/ai >X ${INSTALL_DATA} ${WRKSRC}/scripts/human/* ${PREFIX}/share/wargus/scripts/human >X ${INSTALL_DATA} ${WRKSRC}/scripts/orc/* ${PREFIX}/share/wargus/scripts/orc >X ${INSTALL_DATA} ${WRKSRC}/scripts/tilesets/* ${PREFIX}/share/wargus/scripts/tilesets >X ${INSTALL_SCRIPT} ${WRKSRC}/build.sh ${PREFIX}/share/wargus/build.sh >X ${INSTALL_PROGRAM} ${WRKSRC}/wartool ${PREFIX}/share/wargus/wartool >X ${INSTALL_SCRIPT} ${WRKDIR}/wargus ${PREFIX}/bin/wargus >X >Xpost-build: >X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile >X @(cp ${FILESDIR}/wargus.in ${WRKDIR}/wargus) >X @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/wargus >X @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.mk> >END-of-games/wargus/Makefile >echo x - games/wargus/distinfo >sed 's/^X//' >games/wargus/distinfo << 'END-of-games/wargus/distinfo' >XMD5 (wargus-2.1-src.tar.gz) = 571363cc79c5c532c48f31ad5c06398d >XSIZE (wargus-2.1-src.tar.gz) = 542211 >END-of-games/wargus/distinfo >echo x - games/wargus/pkg-descr >sed 's/^X//' >games/wargus/pkg-descr << 'END-of-games/wargus/pkg-descr' >XWargus is a Warcraft2 Mod that allows you to play Warcraft2 with the >XStratagus engine, as opposed to playing it with the original Warcraft2 >Xone. >X >XSo unless you have a legal copy of Warcraft2 (original DOS Version required, >Xwon't work with the battle.net edition) Wargus will be pretty useless to you, >Xsince it doesn't come with any graphics or sounds itself. >X >XSince Wargus uses a different engine, not all things will work 100% the same >Xas they did in the original Warcraft2. If you want the original unchanged >XWarcraft2 experience, you will still have to play the original. >X >XWWW: http://wargus.sourceforge.net >X >X- Travis Poppe >Xtlp@liquidx.org >END-of-games/wargus/pkg-descr >echo x - games/wargus/pkg-plist >sed 's/^X//' >games/wargus/pkg-plist << 'END-of-games/wargus/pkg-plist' >Xbin/wargus >Xshare/wargus/build.sh >Xshare/wargus/campaigns/human-exp/levelx01h.cm >Xshare/wargus/campaigns/human-exp/levelx02h.cm >Xshare/wargus/campaigns/human-exp/levelx03h.cm >Xshare/wargus/campaigns/human-exp/levelx04h.cm >Xshare/wargus/campaigns/human-exp/levelx05h.cm >Xshare/wargus/campaigns/human-exp/levelx06h.cm >Xshare/wargus/campaigns/human-exp/levelx07h.cm >Xshare/wargus/campaigns/human-exp/levelx08h.cm >Xshare/wargus/campaigns/human-exp/levelx09h.cm >Xshare/wargus/campaigns/human-exp/levelx10h.cm >Xshare/wargus/campaigns/human-exp/levelx11h.cm >Xshare/wargus/campaigns/human-exp/levelx12h.cm >Xshare/wargus/campaigns/human/level01h.cm >Xshare/wargus/campaigns/human/level02h.cm >Xshare/wargus/campaigns/human/level03h.cm >Xshare/wargus/campaigns/human/level04h.cm >Xshare/wargus/campaigns/human/level05h.cm >Xshare/wargus/campaigns/human/level06h.cm >Xshare/wargus/campaigns/human/level07h.cm >Xshare/wargus/campaigns/human/level08h.cm >Xshare/wargus/campaigns/human/level09h.cm >Xshare/wargus/campaigns/human/level10h.cm >Xshare/wargus/campaigns/human/level11h.cm >Xshare/wargus/campaigns/human/level12h.cm >Xshare/wargus/campaigns/human/level13h.cm >Xshare/wargus/campaigns/human/level14h.cm >Xshare/wargus/campaigns/orc-exp/levelx01o.cm >Xshare/wargus/campaigns/orc-exp/levelx02o.cm >Xshare/wargus/campaigns/orc-exp/levelx03o.cm >Xshare/wargus/campaigns/orc-exp/levelx04o.cm >Xshare/wargus/campaigns/orc-exp/levelx05o.cm >Xshare/wargus/campaigns/orc-exp/levelx06o.cm >Xshare/wargus/campaigns/orc-exp/levelx07o.cm >Xshare/wargus/campaigns/orc-exp/levelx08o.cm >Xshare/wargus/campaigns/orc-exp/levelx09o.cm >Xshare/wargus/campaigns/orc-exp/levelx10o.cm >Xshare/wargus/campaigns/orc-exp/levelx11o.cm >Xshare/wargus/campaigns/orc-exp/levelx12o.cm >Xshare/wargus/campaigns/orc/level01o.cm >Xshare/wargus/campaigns/orc/level02o.cm >Xshare/wargus/campaigns/orc/level03o.cm >Xshare/wargus/campaigns/orc/level04o.cm >Xshare/wargus/campaigns/orc/level05o.cm >Xshare/wargus/campaigns/orc/level06o.cm >Xshare/wargus/campaigns/orc/level07o.cm >Xshare/wargus/campaigns/orc/level08o.cm >Xshare/wargus/campaigns/orc/level09o.cm >Xshare/wargus/campaigns/orc/level10o.cm >Xshare/wargus/campaigns/orc/level11o.cm >Xshare/wargus/campaigns/orc/level12o.cm >Xshare/wargus/campaigns/orc/level13o.cm >Xshare/wargus/campaigns/orc/level14o.cm >Xshare/wargus/contrib/cross.png >Xshare/wargus/contrib/food.png >Xshare/wargus/contrib/health.png >Xshare/wargus/contrib/health2.png >Xshare/wargus/contrib/mana.png >Xshare/wargus/contrib/mana2.png >Xshare/wargus/contrib/ore,stone,coal.png >Xshare/wargus/contrib/red_cross.png >Xshare/wargus/contrib/score.png >Xshare/wargus/contrib/stratagus.png >Xshare/wargus/contrib/toccata.mod.gz >Xshare/wargus/maps/multi/(3)little-ambush.pud.gz >Xshare/wargus/maps/multi/(3)little-ambush.txt >Xshare/wargus/maps/multi/(4)4-corners.pud.gz >Xshare/wargus/maps/multi/(4)4-corners.txt >Xshare/wargus/maps/multi/(4)4-isl.pud.gz >Xshare/wargus/maps/multi/(4)4-isl.txt >Xshare/wargus/maps/multi/(4)chop-the-trees.pud.gz >Xshare/wargus/maps/multi/(4)chop-the-trees.txt >Xshare/wargus/maps/multi/(4)civ-decadente-v17.pud.gz >Xshare/wargus/maps/multi/(4)criss_cross.pud.gz >Xshare/wargus/maps/multi/(4)criss_cross2.pud.gz >Xshare/wargus/maps/multi/(4)criss_cross2.txt >Xshare/wargus/maps/multi/(4)scandinavia.pud.gz >Xshare/wargus/maps/multi/(4)scandinavia.txt >Xshare/wargus/maps/multi/(5)diablospiral.pud.gz >Xshare/wargus/maps/multi/(5)diablospiral.txt >Xshare/wargus/maps/multi/(8)altar-in-the-middle.pud.gz >Xshare/wargus/maps/multi/(8)altar-in-the-middle.txt >Xshare/wargus/maps/multi/(8)diabloarena.pud.gz >Xshare/wargus/maps/multi/(8)diabloarena.txt >Xshare/wargus/maps/multi/(8)diablodarkwood.pud.gz >Xshare/wargus/maps/multi/(8)diablodarkwood.txt >Xshare/wargus/maps/multi/(8)diablomaze.pud.gz >Xshare/wargus/maps/multi/(8)diablomaze.txt >Xshare/wargus/maps/multi/(8)fc-deathmatch-plain.pud.gz >Xshare/wargus/maps/multi/(8)fc-deathmatch-x.pud.gz >Xshare/wargus/scripts/ai.lua >Xshare/wargus/scripts/ai/air_attack.lua >Xshare/wargus/scripts/ai/campaign.lua >Xshare/wargus/scripts/ai/land_attack.lua >Xshare/wargus/scripts/ai/passive.lua >Xshare/wargus/scripts/ai/sea_attack.lua >Xshare/wargus/scripts/anim.lua >Xshare/wargus/scripts/buttons.lua >Xshare/wargus/scripts/campaigns.lua >Xshare/wargus/scripts/cheats.lua >Xshare/wargus/scripts/constructions.lua >Xshare/wargus/scripts/credits.lua >Xshare/wargus/scripts/editor.lua >Xshare/wargus/scripts/fonts.lua >Xshare/wargus/scripts/helpers.lua >Xshare/wargus/scripts/human/buttons.lua >Xshare/wargus/scripts/human/campaign1.lua >Xshare/wargus/scripts/human/campaign2.lua >Xshare/wargus/scripts/human/constructions.lua >Xshare/wargus/scripts/human/ui.lua >Xshare/wargus/scripts/human/units.lua >Xshare/wargus/scripts/human/upgrade.lua >Xshare/wargus/scripts/icons.lua >Xshare/wargus/scripts/keystrokes.lua >Xshare/wargus/scripts/menus.lua >Xshare/wargus/scripts/missiles.lua >Xshare/wargus/scripts/orc/buttons.lua >Xshare/wargus/scripts/orc/campaign1.lua >Xshare/wargus/scripts/orc/campaign2.lua >Xshare/wargus/scripts/orc/constructions.lua >Xshare/wargus/scripts/orc/ui.lua >Xshare/wargus/scripts/orc/units.lua >Xshare/wargus/scripts/orc/upgrade.lua >Xshare/wargus/scripts/ranks.lua >Xshare/wargus/scripts/sound.lua >Xshare/wargus/scripts/spells.lua >Xshare/wargus/scripts/stratagus.lua >Xshare/wargus/scripts/tilesets.lua >Xshare/wargus/scripts/tilesets/summer.lua >Xshare/wargus/scripts/tilesets/swamp.lua >Xshare/wargus/scripts/tilesets/wasteland.lua >Xshare/wargus/scripts/tilesets/winter.lua >Xshare/wargus/scripts/tips.lua >Xshare/wargus/scripts/ui.lua >Xshare/wargus/scripts/units.lua >Xshare/wargus/scripts/upgrade.lua >Xshare/wargus/scripts/wc2.lua >Xshare/wargus/wartool >X@dirrm share/wargus/scripts/tilesets >X@dirrm share/wargus/scripts/orc >X@dirrm share/wargus/scripts/human >X@dirrm share/wargus/scripts/ai >X@dirrm share/wargus/scripts >X@dirrm share/wargus/maps/multi >X@dirrm share/wargus/maps >X@dirrm share/wargus/contrib >X@dirrm share/wargus/campaigns/orc-exp >X@dirrm share/wargus/campaigns/orc >X@dirrm share/wargus/campaigns/human-exp >X@dirrm share/wargus/campaigns/human >X@dirrm share/wargus/campaigns >X@dirrm share/wargus >END-of-games/wargus/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 68584
: 44257