1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

This package contains Quake 4 for Linux (Demo version) by id Software.

WWW: http://www.quake4game.com/
This commit is contained in:
Alejandro Pulver 2006-07-29 01:42:01 +00:00
parent 39c9a9acc1
commit 028458c3c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169018
6 changed files with 77 additions and 0 deletions

View File

@ -386,6 +386,7 @@
SUBDIR += linux-nwserver SUBDIR += linux-nwserver
SUBDIR += linux-quake3-demo SUBDIR += linux-quake3-demo
SUBDIR += linux-quake4 SUBDIR += linux-quake4
SUBDIR += linux-quake4-demo
SUBDIR += linux-spheresofchaos-demo SUBDIR += linux-spheresofchaos-demo
SUBDIR += linux-steam SUBDIR += linux-steam
SUBDIR += linux-ut SUBDIR += linux-ut

View File

@ -0,0 +1,52 @@
# New ports collection makefile for: linux-quake4-demo
# Date created: 19 Jul 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= quake4
PORTVERSION= 1.0
CATEGORIES= games linux
MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|quake4/linux/|} \
${MASTER_SITE_GENTOO:S|$|distfiles/|}
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -demo
DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX}${PORTVERSION}${PKGNAMESUFFIX}.x86
EXTRACT_SUFX= .run
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Quake 4 for Linux Demo
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
NO_WRKSUBDIR= yes
Q4DIR= lib/${PORTNAME}${PKGNAMESUFFIX}
PLIST_SUB= Q4DIR="${Q4DIR}"
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} && ${TAIL} +376 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
${TAR} zxf -
do-build:
.for FILE in quake4 q4ded
@${SED} \
-e 's|@Q4DIR@|${PREFIX}/${Q4DIR}|' \
-e 's|@APP@|${FILE}.x86|' \
${FILESDIR}/run.sh.in > ${WRKSRC}/${FILE}.sh
.endfor
do-install:
${MKDIR} ${PREFIX}/${Q4DIR}/q4base
.for FILE in quake4 q4ded
${INSTALL_SCRIPT} ${WRKSRC}/${FILE}.sh ${PREFIX}/bin/${FILE}-demo
${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/${FILE}.x86 ${PREFIX}/${Q4DIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/q4base/* ${PREFIX}/${Q4DIR}/q4base
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (quake4-linux-1.0-demo.x86.run) = 98ebbb835cc71ea29062cd2b4a139a46
SHA256 (quake4-linux-1.0-demo.x86.run) = 69e69e8cb22dd1496bcc98dc63f244d35c516c2e770aba64c72275827814bc73
SIZE (quake4-linux-1.0-demo.x86.run) = 337276597

View File

@ -0,0 +1,4 @@
#!/bin/sh
cd @Q4DIR@ || exit 1
exec @Q4DIR@/@APP@ "$@"

View File

@ -0,0 +1,3 @@
This package contains Quake 4 for Linux (Demo version) by id Software.
WWW: http://www.quake4game.com/

View File

@ -0,0 +1,14 @@
bin/q4ded-demo
bin/quake4-demo
%%Q4DIR%%/q4ded.x86
%%Q4DIR%%/quake4.x86
%%Q4DIR%%/q4base/game000.pk4
%%Q4DIR%%/q4base/game100.pk4
%%Q4DIR%%/q4base/mapcycle.scriptcfg
%%Q4DIR%%/q4base/pak001.pk4
%%Q4DIR%%/q4base/zpak_english.pk4
%%Q4DIR%%/q4base/zpak_french.pk4
%%Q4DIR%%/q4base/zpak_italian.pk4
%%Q4DIR%%/q4base/zpak_spanish.pk4
@dirrm %%Q4DIR%%/q4base
@dirrm %%Q4DIR%%