diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-04-14 05:37:14 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-04-14 05:37:14 +0800 |
commit | 4b17fa7da868dd9ed3c12b32e7486ebb72817e09 (patch) | |
tree | 0a161480628ca8dcc7d0c987d649b15180ab799d /games | |
parent | 41d7a6d9e13372eed15f3cdeac89f9aecd07c534 (diff) | |
download | freebsd-ports-gnome-4b17fa7da868dd9ed3c12b32e7486ebb72817e09.tar.gz freebsd-ports-gnome-4b17fa7da868dd9ed3c12b32e7486ebb72817e09.tar.zst freebsd-ports-gnome-4b17fa7da868dd9ed3c12b32e7486ebb72817e09.zip |
Adds the DOOM III demo (Linux version).
PR: ports/79401
Submitted by: myself
Approved by: adamw (mentor)
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/linux-doom3-demo/Makefile | 62 | ||||
-rw-r--r-- | games/linux-doom3-demo/distinfo | 2 | ||||
-rw-r--r-- | games/linux-doom3-demo/files/doom3-demo.in | 11 | ||||
-rw-r--r-- | games/linux-doom3-demo/pkg-descr | 11 | ||||
-rw-r--r-- | games/linux-doom3-demo/pkg-plist | 11 |
6 files changed, 98 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index bd47b6251cb2..1e823e186974 100644 --- a/games/Makefile +++ b/games/Makefile @@ -276,6 +276,7 @@ SUBDIR += libmt_client SUBDIR += libshhcards SUBDIR += lincity + SUBDIR += linux-doom3-demo SUBDIR += linux-enemyterritory SUBDIR += linux-nwnclient SUBDIR += linux-nwserver diff --git a/games/linux-doom3-demo/Makefile b/games/linux-doom3-demo/Makefile new file mode 100644 index 000000000000..809c8b771394 --- /dev/null +++ b/games/linux-doom3-demo/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: doom3-demo +# Date created: 31 Mar 2005 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= doom3-demo +PORTVERSION= 1.1.1286 +CATEGORIES= games linux +MASTER_SITES= http://www.hup.hu/~trey/DOOM3/ \ + http://darkstar.ist.utl.pt/pub/games/ \ + ftp://ftp.headoff.com/GameDemos/Doom3/ +PKGNAMEPREFIX= linux- +DISTNAME= doom3-linux-${PORTVERSION}-demo.x86 +EXTRACT_SUFX= .run + +MAINTAINER= jylefort@FreeBSD.org +COMMENT= DOOM III demo + +RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs + +ONLY_FOR_ARCHS= i386 +PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB +USE_LINUX= yes +NO_PACKAGE= Distfile is 462MB, set FORCE_PACKAGE if you really want to build this package +RESTRICTED= Redistribution is limited, see license +NO_BUILD= yes +NO_WRKSUBDIR= yes +DOOMDIR= ${PREFIX}/lib/${PORTNAME} +STRIP= # do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM + +do-extract: + @${MKDIR} ${WRKSRC} + @cd ${WRKSRC} && ${TAIL} -c +8767 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf - + +post-patch: + @${SED} -e 's|@DOOMDIR@|${DOOMDIR}|' ${FILESDIR}/doom3-demo.in \ + > ${WRKSRC}/doom3-demo + +do-install: + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/doom3-demo ${PREFIX}/bin + + ${MKDIR} ${DOOMDIR}/demo + ${INSTALL_DATA} ${WRKSRC}/demo/demo00.pk4 ${DOOMDIR}/demo + + ${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/doom.x86 ${DOOMDIR} +.for f in gamex86.so libgcc_s.so.1 libstdc++.so.5 + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOOMDIR} + -${CHOWN} ${LIBOWN}:${LIBGRP} ${DOOMDIR}/${f} + ${CHMOD} ${LIBMODE} ${DOOMDIR}/${f} +.endfor + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in License.txt README + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/linux-doom3-demo/distinfo b/games/linux-doom3-demo/distinfo new file mode 100644 index 000000000000..562b1350c465 --- /dev/null +++ b/games/linux-doom3-demo/distinfo @@ -0,0 +1,2 @@ +MD5 (doom3-linux-1.1.1286-demo.x86.run) = 81dcf8ead198f14844c554b25e07abbe +SIZE (doom3-linux-1.1.1286-demo.x86.run) = 485257318 diff --git a/games/linux-doom3-demo/files/doom3-demo.in b/games/linux-doom3-demo/files/doom3-demo.in new file mode 100644 index 000000000000..0b91353beb55 --- /dev/null +++ b/games/linux-doom3-demo/files/doom3-demo.in @@ -0,0 +1,11 @@ +#!/bin/sh + +cd "@DOOMDIR@" || exit 1 + +if [ -n "$LD_LIBRARY_PATH" ]; then + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:." +else + export LD_LIBRARY_PATH="." +fi + +exec ./doom.x86 "$@" diff --git a/games/linux-doom3-demo/pkg-descr b/games/linux-doom3-demo/pkg-descr new file mode 100644 index 000000000000..9148f5ae6f73 --- /dev/null +++ b/games/linux-doom3-demo/pkg-descr @@ -0,0 +1,11 @@ +Science has unlocked the gates to the unknown, and now only one man +stands between Hell and Earth. A sci-fi horror masterpiece, DOOM 3 is +like nothing you have experienced. Dramatic storyline, pulse-pounding +action, incredible graphics, and revolutionary technology combine to +draw you into the most frightening and gripping first person gaming +experience ever created. + +WWW: http://www.doom3.com/ + +- Jean-Yves Lefort +jylefort@FreeBSD.org diff --git a/games/linux-doom3-demo/pkg-plist b/games/linux-doom3-demo/pkg-plist new file mode 100644 index 000000000000..6f754cfc18d6 --- /dev/null +++ b/games/linux-doom3-demo/pkg-plist @@ -0,0 +1,11 @@ +bin/doom3-demo +lib/doom3-demo/demo/demo00.pk4 +lib/doom3-demo/doom.x86 +lib/doom3-demo/gamex86.so +lib/doom3-demo/libgcc_s.so.1 +lib/doom3-demo/libstdc++.so.5 +%%PORTDOCS%%%%DOCSDIR%%/License.txt +%%PORTDOCS%%%%DOCSDIR%%/README +@dirrm lib/doom3-demo/demo +@dirrm lib/doom3-demo +%%PORTDOCS%%@dirrm %%DOCSDIR%% |