ports/61367: [New Port] wolf3d
Travis Poppe
tlp at LiquidX.org
Wed Jan 14 20:24:00 UTC 2004
>Number: 61367
>Category: ports
>Synopsis: [New Port] wolf3d - "Wolfenstein 3D Linux" by Steven
>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: Wed Jan 14 12:20:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Travis Poppe <tlp at LiquidX.org>
>Release:
>Organization:
>Environment:
>Description:
This is a October 28, 2001 Snapshot of "Wolfenstein 3D Linux" by Steven
Fuller. It is an unofficial Linux port of the id Software game,
Wolfenstein 3D (1992).
>How-To-Repeat:
>Fix:
# 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:
#
# /usr/ports/games/wolf3d
# /usr/ports/games/wolf3d/Makefile
# /usr/ports/games/wolf3d/distinfo
# /usr/ports/games/wolf3d/pkg-descr
# /usr/ports/games/wolf3d/pkg-plist
# /usr/ports/games/wolf3d/files
# /usr/ports/games/wolf3d/files/wolf3d.in
#
echo c - /usr/ports/games/wolf3d
mkdir -p /usr/ports/games/wolf3d > /dev/null 2>&1
echo x - /usr/ports/games/wolf3d/Makefile
sed 's/^X//' >/usr/ports/games/wolf3d/Makefile << 'END-of-/usr/ports/games/wolf3d/Makefile'
X# New ports collection makefile for: wolf3d
X# Date created: 13 Jan 2004
X# Whom: Travis Poppe <tlp at liquidx.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= wolf3d
XPORTVERSION= 20011028
XCATEGORIES= games
XMASTER_SITES= http://www.icculus.org/wolf3d/:wolf \
X http://www.liquidx.org/distfiles/:wolfdata
XDISTFILES= wolf3d-20011028.tar.gz:wolf wolfdata.tar.gz:wolfdata
X
XMAINTAINER= tlp at liquidx.org
XCOMMENT= This is a CVS snapshot of "Wolfenstein 3D Linux" by Steven Fuller
X
XUSE_SDL= yes
XUSE_GZIP= yes
XUSE_XLIB= yes
XUSE_REINPLACE= yes
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|gcc|cc|' ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|' ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e 's|OBJS += sd_null.o|#OBJS += sd_null.o|' ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e 's|#OBJS += sd_oss.o fmopl.o|OBJS += sd_oss.o fmopl.o|' ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e 's|/usr/X11R6/lib|${X11BASE}/lib|' ${WRKSRC}/Makefile
X @(cp ${FILESDIR}/wolf3d.in ${WRKDIR}/wolf3d)
X @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKDIR}/wolf3d
X
Xdo-install:
X ${MKDIR} ${PREFIX}/libexec/wolf3d
X ${INSTALL_SCRIPT} ${WRKDIR}/wolf3d ${PREFIX}/bin/wolf3d
X ${INSTALL_PROGRAM} ${WRKSRC}/sdlwolf3d ${PREFIX}/libexec/wolf3d/sdlwolf3d
X ${INSTALL_DATA} ${WRKDIR}/wolfdata/* ${PREFIX}/libexec/wolf3d
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${MKDIR} ${DOCSDIR}/docs
X ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs
X ${INSTALL_DATA} ${WRKSRC}/IDEAS ${DOCSDIR}/IDEAS
X ${INSTALL_DATA} ${WRKSRC}/NOTES ${DOCSDIR}/NOTES
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
X ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/games/wolf3d/Makefile
echo x - /usr/ports/games/wolf3d/distinfo
sed 's/^X//' >/usr/ports/games/wolf3d/distinfo << 'END-of-/usr/ports/games/wolf3d/distinfo'
XMD5 (wolf3d-20011028.tar.gz) = d085fc3b00eb2773e15491098461eb4b
XMD5 (wolfdata.tar.gz) = b73bba3a02c0f12cc56f01c8c9a2c3db
END-of-/usr/ports/games/wolf3d/distinfo
echo x - /usr/ports/games/wolf3d/pkg-descr
sed 's/^X//' >/usr/ports/games/wolf3d/pkg-descr << 'END-of-/usr/ports/games/wolf3d/pkg-descr'
XThis is a October 28, 2001 Snapshot of "Wolfenstein 3D Linux" by Steven
XFuller. It is an unofficial Linux port of the id Software game,
XWolfenstein 3D (1992).
X
XThis port uses the shareware data files.
X
XWWW: http://www.icculus.org/wolf3d/
X
X- Travis Poppe
Xtlp at liquidx.org
END-of-/usr/ports/games/wolf3d/pkg-descr
echo x - /usr/ports/games/wolf3d/pkg-plist
sed 's/^X//' >/usr/ports/games/wolf3d/pkg-plist << 'END-of-/usr/ports/games/wolf3d/pkg-plist'
Xbin/wolf3d
Xlibexec/wolf3d/audiohed.wl1
Xlibexec/wolf3d/audiot.wl1
Xlibexec/wolf3d/gamemaps.wl1
Xlibexec/wolf3d/maphead.wl1
Xlibexec/wolf3d/sdlwolf3d
Xlibexec/wolf3d/vgadict.wl1
Xlibexec/wolf3d/vgagraph.wl1
Xlibexec/wolf3d/vgahead.wl1
Xlibexec/wolf3d/vswap.wl1
X%%PORTDOCS%%%%DOCSDIR%%/docs/goodstuf.txt
X%%PORTDOCS%%%%DOCSDIR%%/docs/release.txt
X%%PORTDOCS%%%%DOCSDIR%%/IDEAS
X%%PORTDOCS%%%%DOCSDIR%%/NOTES
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrm libexec/wolf3d
END-of-/usr/ports/games/wolf3d/pkg-plist
echo c - /usr/ports/games/wolf3d/files
mkdir -p /usr/ports/games/wolf3d/files > /dev/null 2>&1
echo x - /usr/ports/games/wolf3d/files/wolf3d.in
sed 's/^X//' >/usr/ports/games/wolf3d/files/wolf3d.in << 'END-of-/usr/ports/games/wolf3d/files/wolf3d.in'
X#!/bin/sh
X# wolf3d - wolf3d-20011028 wrapper script
X#
X# 2004 Travis Poppe
X
Xecho "Basic options:"
Xecho ""
Xecho "-nowait Skips introduction"
Xecho "-nojoy Disables joystick"
Xecho "-nomouse Disables mouse"
Xecho "-x2 Increases screen size by x2"
Xecho "-x3 Increases screen size by x3"
Xecho "-fullscreen Enables fullscreen mode"
Xecho "-demotest Starts wolf3d in demonstration mode"
Xecho "-version Reports game version"
Xecho ""
Xcd %%PREFIX%%/libexec/wolf3d
X./sdlwolf3d $*
END-of-/usr/ports/games/wolf3d/files/wolf3d.in
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
Fuller.
More information about the freebsd-ports-bugs
mailing list