Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 13:39:25 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/86167: [NEW PORT] games/quake-source - Quake and QuakeWorld source
Message-ID:  <1126802365.0@phobos.mars.bsd>
Resent-Message-ID: <200509151640.j8FGeHlF037800@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86167
>Category:       ports
>Synopsis:       [NEW PORT] games/quake-source - Quake and QuakeWorld source
>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:   Thu Sep 15 16:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:





>How-To-Repeat:





>Fix:


--- quake-source.shar begins here ---
# 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:
#
#	quake-source
#	quake-source/Makefile
#	quake-source/pkg-descr
#	quake-source/pkg-plist
#	quake-source/Makefile.include
#	quake-source/distinfo
#
echo c - quake-source
mkdir -p quake-source > /dev/null 2>&1
echo x - quake-source/Makefile
sed 's/^X//' >quake-source/Makefile << 'END-of-quake-source/Makefile'
X# New ports collection makefile for:	quake-source
X# Date created:				15 Sep 2005
X# Whom:					Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	source
XPORTVERSION=	1.01
XCATEGORIES=	games
XMASTER_SITES=	ftp://ftp.idsoftware.com/idstuff/source/:s
XPKGNAMEPREFIX=	quake-
XDISTNAME=	qcc
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX}:s
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Quake and QuakeWorld source
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XOPTIONS=	QUAKEWORLD "Install QuakeWorld source" on
X
XLATEST_LINK=	${PKGNAMEPREFIX}${PORTNAME}
X
X.include "Makefile.include"
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_QUAKEWORLD)
XMASTER_SITES+=	ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/:qw
XDISTFILES+=	qwsv-2.30-glibc-i386-unknown-linux2.0${EXTRACT_SUFX}:qw
XUSE_REINPLACE=	yes
XPLIST_SUB+=	QUAKEWORLD=""
X.else
XPLIST_SUB+=	QUAKEWORLD="@comment "
X.endif
X
Xdo-install:
X	@${MKDIR} ${DATADIR}
X	@${CP} -R ${WRKSRC}/send/v101qc ${DATADIR}
X.if defined(WITH_QUAKEWORLD)
X	@${MKDIR} ${DATADIR}/qw
X.   for f in *.h *.qc *.src
X	@${REINPLACE_CMD} -e "s|`${ECHO_CMD} -e '\r'`$$||" ${WRKSRC}/qw/${f}
X	@${INSTALL_DATA} ${WRKSRC}/qw/${f} ${DATADIR}/qw
X.   endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-quake-source/Makefile
echo x - quake-source/pkg-descr
sed 's/^X//' >quake-source/pkg-descr << 'END-of-quake-source/pkg-descr'
XQuake and QuakeWorld sources.
X
XThis port installs the Quake (and optionally QuakeWorld) game sources (in
XQuakeC) to allow the development of Quake mods.
X
XNote that to compile it you need a QuakeC compiler (there are many in ports).
END-of-quake-source/pkg-descr
echo x - quake-source/pkg-plist
sed 's/^X//' >quake-source/pkg-plist << 'END-of-quake-source/pkg-plist'
X%%QUAKEWORLD%%%%DATADIR%%/qw/buttons.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/client.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/combat.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/defs.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/doors.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/items.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/misc.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/models.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/plats.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/player.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/progdefs.h
X%%QUAKEWORLD%%%%DATADIR%%/qw/progs.src
X%%QUAKEWORLD%%%%DATADIR%%/qw/server.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/spectate.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/sprites.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/subs.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/triggers.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/weapons.qc
X%%QUAKEWORLD%%%%DATADIR%%/qw/world.qc
X%%DATADIR%%/v101qc/ai.qc
X%%DATADIR%%/v101qc/amtest.qc
X%%DATADIR%%/v101qc/boss.qc
X%%DATADIR%%/v101qc/buttons.qc
X%%DATADIR%%/v101qc/client.qc
X%%DATADIR%%/v101qc/combat.qc
X%%DATADIR%%/v101qc/defs.qc
X%%DATADIR%%/v101qc/demon.qc
X%%DATADIR%%/v101qc/dog.qc
X%%DATADIR%%/v101qc/doors.qc
X%%DATADIR%%/v101qc/enforcer.qc
X%%DATADIR%%/v101qc/fight.qc
X%%DATADIR%%/v101qc/fish.qc
X%%DATADIR%%/v101qc/hknight.qc
X%%DATADIR%%/v101qc/items.qc
X%%DATADIR%%/v101qc/jctest.qc
X%%DATADIR%%/v101qc/knight.qc
X%%DATADIR%%/v101qc/misc.qc
X%%DATADIR%%/v101qc/models.qc
X%%DATADIR%%/v101qc/monsters.qc
X%%DATADIR%%/v101qc/ogre.qc
X%%DATADIR%%/v101qc/oldone.qc
X%%DATADIR%%/v101qc/plats.qc
X%%DATADIR%%/v101qc/player.qc
X%%DATADIR%%/v101qc/progs.src
X%%DATADIR%%/v101qc/shalrath.qc
X%%DATADIR%%/v101qc/shambler.qc
X%%DATADIR%%/v101qc/soldier.qc
X%%DATADIR%%/v101qc/sprites.qc
X%%DATADIR%%/v101qc/subs.qc
X%%DATADIR%%/v101qc/tarbaby.qc
X%%DATADIR%%/v101qc/triggers.qc
X%%DATADIR%%/v101qc/weapons.qc
X%%DATADIR%%/v101qc/wizard.qc
X%%DATADIR%%/v101qc/world.qc
X%%DATADIR%%/v101qc/zombie.qc
X@dirrm %%DATADIR%%/v101qc
X%%QUAKEWORLD%%@dirrm %%DATADIR%%/qw
X@dirrm %%DATADIR%%
END-of-quake-source/pkg-plist
echo x - quake-source/Makefile.include
sed 's/^X//' >quake-source/Makefile.include << 'END-of-quake-source/Makefile.include'
X# Makefile for dependency to quake-source.
X
XPREFIX=		${LOCALBASE}
X
XQ1SRCDIR=	${PREFIX}/share/quake-source
X
X.if ${PORTNAME} == "source"
XDATADIR=	${Q1SRCDIR}
X.else
XRUN_DEPENDS+=	${Q1SRCDIR}/v101qc/progs.src:${PORTSDIR}/games/quake-source
X.endif
END-of-quake-source/Makefile.include
echo x - quake-source/distinfo
sed 's/^X//' >quake-source/distinfo << 'END-of-quake-source/distinfo'
XMD5 (qcc.tar.gz) = 7c5ef5180fd5e13bfe75a79efc61e5f9
XSIZE (qcc.tar.gz) = 204053
XMD5 (qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz) = 75333c66edd156a1695452d3971169d7
XSIZE (qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz) = 205578
END-of-quake-source/distinfo
exit

--- quake-source.shar ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1126802365.0>