mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- make COMMENT better
- modify the wrapper script to build a sample application dot-dir on start if it doesn't already exist - add a pkg-message reflecting the above - bump PORTREVISION PR: 62001 Submitted by: maintainer
This commit is contained in:
parent
633b297a89
commit
1abd8b3c72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99358
@ -7,13 +7,14 @@
|
||||
|
||||
PORTNAME= wolf3d
|
||||
PORTVERSION= 20011028
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.icculus.org/wolf3d/:wolf \
|
||||
http://www.liquidx.org/distfiles/:wolfdata
|
||||
DISTFILES= wolf3d-20011028.tar.gz:wolf wolfdata.tar.gz:wolfdata
|
||||
|
||||
MAINTAINER= tlp@liquidx.org
|
||||
COMMENT= Wolfenstein 3D by Steven Fuller, based on 1992 id Software game
|
||||
COMMENT= "Wolfenstein 3D Linux" by Steven Fuller (1992)
|
||||
|
||||
USE_SDL= yes
|
||||
USE_GZIP= yes
|
||||
@ -43,4 +44,7 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,6 +3,33 @@
|
||||
#
|
||||
# 2004 Travis Poppe
|
||||
|
||||
USERDIR=$HOME/.wolf3d
|
||||
|
||||
if [ -x $USERDIR ]; then
|
||||
echo "wolf3d appears to be installed to $USERDIR/"
|
||||
echo ""
|
||||
echo "Basic options:"
|
||||
echo ""
|
||||
echo "-nowait Skips introduction"
|
||||
echo "-nojoy Disables joystick"
|
||||
echo "-nomouse Disables mouse"
|
||||
echo "-x2 Increases screen size by x2"
|
||||
echo "-x3 Increases screen size by x3"
|
||||
echo "-fullscreen Enables fullscreen mode"
|
||||
echo "-demotest Starts wolf3d in demonstration mode"
|
||||
echo "-version Reports game version"
|
||||
echo ""
|
||||
|
||||
cd $USERDIR
|
||||
./sdlwolf3d $*
|
||||
exit
|
||||
fi
|
||||
|
||||
mkdir $USERDIR
|
||||
ln -s %%PREFIX%%/libexec/wolf3d/* $USERDIR
|
||||
|
||||
echo "Installed wolf3d to $USERDIR/"
|
||||
echo ""
|
||||
echo "Basic options:"
|
||||
echo ""
|
||||
echo "-nowait Skips introduction"
|
||||
@ -14,5 +41,6 @@ echo "-fullscreen Enables fullscreen mode"
|
||||
echo "-demotest Starts wolf3d in demonstration mode"
|
||||
echo "-version Reports game version"
|
||||
echo ""
|
||||
cd %%PREFIX%%/libexec/wolf3d
|
||||
|
||||
cd $USERDIR
|
||||
./sdlwolf3d $*
|
||||
|
8
games/wolf3d/pkg-message
Normal file
8
games/wolf3d/pkg-message
Normal file
@ -0,0 +1,8 @@
|
||||
-------------------------------------------------------------------------------
|
||||
This port's wrapper script will install the wolf3d data to your home directory
|
||||
the first time you run it. If for some odd reason you already have a directory
|
||||
called .wolf3d in your home directory, you must (re)move it before this port
|
||||
will function correctly.
|
||||
|
||||
-tlp
|
||||
-------------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user