diff options
author | pav <pav@FreeBSD.org> | 2004-07-05 16:34:22 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-05 16:34:22 +0000 |
commit | ca9a8bc1f2aed88da41ca6d5f032907ef2a8e79d (patch) | |
tree | c42255907c8faf4b40dbab673e83121ce838ce2d /games/wargus | |
parent | a635b5a7161f3ec7df52f3aa196ca5ce5dd5cac6 (diff) | |
download | FreeBSD-ports-ca9a8bc1f2aed88da41ca6d5f032907ef2a8e79d.zip FreeBSD-ports-ca9a8bc1f2aed88da41ca6d5f032907ef2a8e79d.tar.gz |
- [ -d for directories
- Kill trailing whitespace
PR: ports/68670
Submitted by: Travis Poppe <tlp@LiquidX.org> (maintainer)
Diffstat (limited to 'games/wargus')
-rw-r--r-- | games/wargus/Makefile | 1 | ||||
-rw-r--r-- | games/wargus/files/wargus.in | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/games/wargus/Makefile b/games/wargus/Makefile index 24870de..a27384e 100644 --- a/games/wargus/Makefile +++ b/games/wargus/Makefile @@ -7,6 +7,7 @@ PORTNAME= wargus PORTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/games/wargus/files/wargus.in b/games/wargus/files/wargus.in index d76fbeb..b7bcaeb 100644 --- a/games/wargus/files/wargus.in +++ b/games/wargus/files/wargus.in @@ -9,7 +9,7 @@ USERDIR=$HOME/.wargus DATADIR=%%PREFIX%%/share/wargus/data.wc2 -if [ ! -x $DATADIR ]; then +if [ ! -d $DATADIR ]; then echo "Warcraft2 data not found in $DATADIR/" echo "" echo "Did you run build.sh yet?" @@ -23,7 +23,7 @@ if [ ! -x $DATADIR ]; then echo "Stratagus engine from the following CDs:" echo "" echo "* US Expansion (both MAC/DOS)" - echo "* US Original (both MAC/DOS)" + echo "* US Original (both MAC/DOS)" echo "* UK/Australian Original" echo "* UK/Australian Expansion" echo "* German Original" @@ -41,7 +41,7 @@ if [ ! -x $DATADIR ]; then echo "For more information, please visit: http://wargus.sourceforge.net" fi -if [ -x $USERDIR ]; then +if [ -d $USERDIR ]; then echo "Warcraft2 data appears to be installed/linked to $USERDIR/" echo "" echo "Attempting to run Stratagus with Warcraft2 data" @@ -51,7 +51,7 @@ if [ -x $USERDIR ]; then exit fi -if [ -x $DATADIR ]; then +if [ -d $DATADIR ]; then mkdir $USERDIR mkdir $USERDIR/data ln -s %%PREFIX%%/share/wargus/data.wc2/* $USERDIR/data |