diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-15 22:50:37 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-15 22:50:37 +0000 |
commit | 6b37ad9efb50c4da2aeee06ff3825fc5e2076ad6 (patch) | |
tree | 4c1159cd9f99d69c03dd2223b3ab739ad2287421 /games/wolf3d | |
parent | 3dde356876d369406e14aeb579f4487e5fc3ce13 (diff) | |
download | ports-6b37ad9efb50c4da2aeee06ff3825fc5e2076ad6.tar.gz ports-6b37ad9efb50c4da2aeee06ff3825fc5e2076ad6.zip |
Notes
Diffstat (limited to 'games/wolf3d')
-rw-r--r-- | games/wolf3d/Makefile | 46 | ||||
-rw-r--r-- | games/wolf3d/distinfo | 2 | ||||
-rw-r--r-- | games/wolf3d/files/wolf3d.in | 18 | ||||
-rw-r--r-- | games/wolf3d/pkg-descr | 10 | ||||
-rw-r--r-- | games/wolf3d/pkg-plist | 19 |
5 files changed, 95 insertions, 0 deletions
diff --git a/games/wolf3d/Makefile b/games/wolf3d/Makefile new file mode 100644 index 000000000000..55e738cca13e --- /dev/null +++ b/games/wolf3d/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: wolf3d +# Date created: 13 Jan 2004 +# Whom: Travis Poppe <tlp@liquidx.org> +# +# $FreeBSD$ +# + +PORTNAME= wolf3d +PORTVERSION= 20011028 +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 + +USE_SDL= yes +USE_GZIP= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|OBJS += sd_null.o|#OBJS += sd_null.o|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|#OBJS += sd_oss.o fmopl.o|OBJS += sd_oss.o fmopl.o|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|/usr/X11R6/lib|${X11BASE}/lib|' ${WRKSRC}/Makefile + @${CAT} ${FILESDIR}/wolf3d.in | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${WRKDIR}/wolf3d + +do-install: + ${MKDIR} ${PREFIX}/libexec/wolf3d + ${INSTALL_SCRIPT} ${WRKDIR}/wolf3d ${PREFIX}/bin/wolf3d + ${INSTALL_PROGRAM} ${WRKSRC}/sdlwolf3d ${PREFIX}/libexec/wolf3d/sdlwolf3d + ${INSTALL_DATA} ${WRKDIR}/wolfdata/* ${PREFIX}/libexec/wolf3d +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/docs + ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs + ${INSTALL_DATA} ${WRKSRC}/IDEAS ${DOCSDIR}/IDEAS + ${INSTALL_DATA} ${WRKSRC}/NOTES ${DOCSDIR}/NOTES + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README + ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO +.endif + +.include <bsd.port.mk> diff --git a/games/wolf3d/distinfo b/games/wolf3d/distinfo new file mode 100644 index 000000000000..5fc365bdea05 --- /dev/null +++ b/games/wolf3d/distinfo @@ -0,0 +1,2 @@ +MD5 (wolf3d-20011028.tar.gz) = d085fc3b00eb2773e15491098461eb4b +MD5 (wolfdata.tar.gz) = b73bba3a02c0f12cc56f01c8c9a2c3db diff --git a/games/wolf3d/files/wolf3d.in b/games/wolf3d/files/wolf3d.in new file mode 100644 index 000000000000..a1992422fe11 --- /dev/null +++ b/games/wolf3d/files/wolf3d.in @@ -0,0 +1,18 @@ +#!/bin/sh +# wolf3d - wolf3d-20011028 wrapper script +# +# 2004 Travis Poppe + +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 %%PREFIX%%/libexec/wolf3d +./sdlwolf3d $* diff --git a/games/wolf3d/pkg-descr b/games/wolf3d/pkg-descr new file mode 100644 index 000000000000..141e65fa65fe --- /dev/null +++ b/games/wolf3d/pkg-descr @@ -0,0 +1,10 @@ +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). + +This port uses the shareware data files. + +WWW: http://www.icculus.org/wolf3d/ + +- Travis Poppe +tlp@liquidx.org diff --git a/games/wolf3d/pkg-plist b/games/wolf3d/pkg-plist new file mode 100644 index 000000000000..017b68b03c8e --- /dev/null +++ b/games/wolf3d/pkg-plist @@ -0,0 +1,19 @@ +bin/wolf3d +libexec/wolf3d/audiohed.wl1 +libexec/wolf3d/audiot.wl1 +libexec/wolf3d/gamemaps.wl1 +libexec/wolf3d/maphead.wl1 +libexec/wolf3d/sdlwolf3d +libexec/wolf3d/vgadict.wl1 +libexec/wolf3d/vgagraph.wl1 +libexec/wolf3d/vgahead.wl1 +libexec/wolf3d/vswap.wl1 +%%PORTDOCS%%%%DOCSDIR%%/docs/goodstuf.txt +%%PORTDOCS%%%%DOCSDIR%%/docs/release.txt +%%PORTDOCS%%%%DOCSDIR%%/IDEAS +%%PORTDOCS%%%%DOCSDIR%%/NOTES +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm libexec/wolf3d |