ports/79401: New port: games/linux-doom3-demo

Jean-Yves Lefort jylefort at brutele.be
Thu Mar 31 16:30:05 UTC 2005


>Number:         79401
>Category:       ports
>Synopsis:       New port: games/linux-doom3-demo
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 16:30:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE-p6 FreeBSD 5.3-RELEASE-p6 #0: Tue Mar 29 00:14:29 CEST 2005 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
Depends on 79398.
>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:
#
#	linux-doom3-demo
#	linux-doom3-demo/files
#	linux-doom3-demo/files/doom3-demo.in
#	linux-doom3-demo/distinfo
#	linux-doom3-demo/pkg-descr
#	linux-doom3-demo/Makefile
#	linux-doom3-demo/pkg-plist
#
echo c - linux-doom3-demo
mkdir -p linux-doom3-demo > /dev/null 2>&1
echo c - linux-doom3-demo/files
mkdir -p linux-doom3-demo/files > /dev/null 2>&1
echo x - linux-doom3-demo/files/doom3-demo.in
sed 's/^X//' >linux-doom3-demo/files/doom3-demo.in << 'END-of-linux-doom3-demo/files/doom3-demo.in'
X#!/bin/sh
X
Xcd "@DOOMDIR@" || exit 1
X
Xif [ -n "$LD_LIBRARY_PATH" ]; then
X    export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:."
Xelse
X    export LD_LIBRARY_PATH="."
Xfi
X
Xexec ./doom.x86 "$@"
END-of-linux-doom3-demo/files/doom3-demo.in
echo x - linux-doom3-demo/distinfo
sed 's/^X//' >linux-doom3-demo/distinfo << 'END-of-linux-doom3-demo/distinfo'
XMD5 (doom3-linux-1.1.1286-demo.x86.run) = 81dcf8ead198f14844c554b25e07abbe
XSIZE (doom3-linux-1.1.1286-demo.x86.run) = 485257318
END-of-linux-doom3-demo/distinfo
echo x - linux-doom3-demo/pkg-descr
sed 's/^X//' >linux-doom3-demo/pkg-descr << 'END-of-linux-doom3-demo/pkg-descr'
XScience has unlocked the gates to the unknown, and now only one man
Xstands between Hell and Earth. A sci-fi horror masterpiece, DOOM 3 is
Xlike nothing you have experienced. Dramatic storyline, pulse-pounding
Xaction, incredible graphics, and revolutionary technology combine to
Xdraw you into the most frightening and gripping first person gaming
Xexperience ever created.
X
XWWW: http://www.doom3.com/
X
X- Jean-Yves Lefort
Xjylefort at brutele.be
END-of-linux-doom3-demo/pkg-descr
echo x - linux-doom3-demo/Makefile
sed 's/^X//' >linux-doom3-demo/Makefile << 'END-of-linux-doom3-demo/Makefile'
X# New ports collection makefile for:	doom3-demo
X# Date created:			31 Mar 2005
X# Whom:				Jean-Yves Lefort <jylefort at brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	doom3-demo
XPORTVERSION=	1.1.1286
XCATEGORIES=	games linux
XMASTER_SITES=	http://www.hup.hu/~trey/DOOM3/ \
X		http://darkstar.ist.utl.pt/pub/games/ \
X		ftp://ftp.headoff.com/GameDemos/Doom3/
XPKGNAMEPREFIX=	linux-
XDISTNAME=	doom3-linux-${PORTVERSION}-demo.x86
X
XMAINTAINER=	jylefort at brutele.be
XCOMMENT=	DOOM III demo
X
XRUN_DEPENDS=	${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs
X
XONLY_FOR_ARCHS=	i386
XUSE_MAKESELF=	yes
XPREFIX?=	${X11BASE}	# USE_X_PREFIX would pull in USE_XLIB
XUSE_LINUX=	yes
XNO_PACKAGE=	Distfile is 462MB, set FORCE_PACKAGE if you really want to build this package
XRESTRICTED=	Redistribution is limited, see license
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XDOOMDIR=	${PREFIX}/lib/${PORTNAME}
XSTRIP=		# do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM
X
Xpost-patch:
X	@${SED} -e 's|@DOOMDIR@|${DOOMDIR}|' ${FILESDIR}/doom3-demo.in \
X		> ${WRKSRC}/doom3-demo
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/doom3-demo ${PREFIX}/bin
X
X	${MKDIR} ${DOOMDIR}/demo
X	${INSTALL_DATA} ${WRKSRC}/demo/demo00.pk4 ${DOOMDIR}/demo
X
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/doom.x86 ${DOOMDIR}
X.for f in gamex86.so libgcc_s.so.1 libstdc++.so.5
X	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DOOMDIR}
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in License.txt README
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-linux-doom3-demo/Makefile
echo x - linux-doom3-demo/pkg-plist
sed 's/^X//' >linux-doom3-demo/pkg-plist << 'END-of-linux-doom3-demo/pkg-plist'
Xbin/doom3-demo
Xlib/doom3-demo/demo/demo00.pk4
Xlib/doom3-demo/doom.x86
Xlib/doom3-demo/gamex86.so
Xlib/doom3-demo/libgcc_s.so.1
Xlib/doom3-demo/libstdc++.so.5
X%%PORTDOCS%%%%DOCSDIR%%/License.txt
X%%PORTDOCS%%%%DOCSDIR%%/README
X at dirrm lib/doom3-demo/demo
X at dirrm lib/doom3-demo
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-linux-doom3-demo/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list