diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-16 05:43:09 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-16 05:43:09 +0000 |
commit | 3bb3984ab1086524ba2e6d5dfa1e2aa6264e63ef (patch) | |
tree | 8e3b7dd16e4f4c4535a10b43e90bc244c720e083 /games/quake-source | |
parent | 5c09db37578c109fb45287fdf1ced4b93e7ff82b (diff) | |
download | ports-3bb3984ab1086524ba2e6d5dfa1e2aa6264e63ef.tar.gz ports-3bb3984ab1086524ba2e6d5dfa1e2aa6264e63ef.zip |
[NEW PORT] games/quake-source - Quake and QuakeWorld source
Quake and QuakeWorld sources.
This port installs the Quake (and optionally QuakeWorld)
game sources (in QuakeC) to allow the development of Quake
mods.
Note that to compile it you need a QuakeC compiler (there
are many in ports).
PR: ports/86167
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Notes
Notes:
svn path=/head/; revision=145518
Diffstat (limited to 'games/quake-source')
-rw-r--r-- | games/quake-source/Makefile | 50 | ||||
-rw-r--r-- | games/quake-source/Makefile.include | 11 | ||||
-rw-r--r-- | games/quake-source/distinfo | 4 | ||||
-rw-r--r-- | games/quake-source/pkg-descr | 6 | ||||
-rw-r--r-- | games/quake-source/pkg-plist | 58 |
5 files changed, 129 insertions, 0 deletions
diff --git a/games/quake-source/Makefile b/games/quake-source/Makefile new file mode 100644 index 000000000000..8b309f443ced --- /dev/null +++ b/games/quake-source/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: quake-source +# Date created: 15 Sep 2005 +# Whom: Alejandro Pulver <alejandro@varnet.biz> +# +# $FreeBSD$ +# + +PORTNAME= source +PORTVERSION= 1.01 +CATEGORIES= games +MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/source/:s +PKGNAMEPREFIX= quake- +DISTNAME= qcc +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:s + +MAINTAINER= alejandro@varnet.biz +COMMENT= Quake and QuakeWorld source + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +OPTIONS= QUAKEWORLD "Install QuakeWorld source" on + +LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} + +.include "Makefile.include" + +.include <bsd.port.pre.mk> + +.if defined(WITH_QUAKEWORLD) +MASTER_SITES+= ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/:qw +DISTFILES+= qwsv-2.30-glibc-i386-unknown-linux2.0${EXTRACT_SUFX}:qw +USE_REINPLACE= yes +PLIST_SUB+= QUAKEWORLD="" +.else +PLIST_SUB+= QUAKEWORLD="@comment " +.endif + +do-install: + @${MKDIR} ${DATADIR} + @${CP} -R ${WRKSRC}/send/v101qc ${DATADIR} +.if defined(WITH_QUAKEWORLD) + @${MKDIR} ${DATADIR}/qw +. for f in *.h *.qc *.src + @${REINPLACE_CMD} -e "s|`${ECHO_CMD} -e '\r'`$$||" ${WRKSRC}/qw/${f} + @${INSTALL_DATA} ${WRKSRC}/qw/${f} ${DATADIR}/qw +. endfor +.endif + +.include <bsd.port.post.mk> diff --git a/games/quake-source/Makefile.include b/games/quake-source/Makefile.include new file mode 100644 index 000000000000..7c7a36512e0a --- /dev/null +++ b/games/quake-source/Makefile.include @@ -0,0 +1,11 @@ +# Makefile for dependency to quake-source. + +PREFIX= ${LOCALBASE} + +Q1SRCDIR= ${PREFIX}/share/quake-source + +.if ${PORTNAME} == "source" +DATADIR= ${Q1SRCDIR} +.else +RUN_DEPENDS+= ${Q1SRCDIR}/v101qc/progs.src:${PORTSDIR}/games/quake-source +.endif diff --git a/games/quake-source/distinfo b/games/quake-source/distinfo new file mode 100644 index 000000000000..a2574b287cb5 --- /dev/null +++ b/games/quake-source/distinfo @@ -0,0 +1,4 @@ +MD5 (qcc.tar.gz) = 7c5ef5180fd5e13bfe75a79efc61e5f9 +SIZE (qcc.tar.gz) = 204053 +MD5 (qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz) = 75333c66edd156a1695452d3971169d7 +SIZE (qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz) = 205578 diff --git a/games/quake-source/pkg-descr b/games/quake-source/pkg-descr new file mode 100644 index 000000000000..cb51069ce818 --- /dev/null +++ b/games/quake-source/pkg-descr @@ -0,0 +1,6 @@ +Quake and QuakeWorld sources. + +This port installs the Quake (and optionally QuakeWorld) game sources (in +QuakeC) to allow the development of Quake mods. + +Note that to compile it you need a QuakeC compiler (there are many in ports). diff --git a/games/quake-source/pkg-plist b/games/quake-source/pkg-plist new file mode 100644 index 000000000000..84e3f4c6001d --- /dev/null +++ b/games/quake-source/pkg-plist @@ -0,0 +1,58 @@ +%%QUAKEWORLD%%%%DATADIR%%/qw/buttons.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/client.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/combat.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/defs.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/doors.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/items.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/misc.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/models.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/plats.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/player.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/progdefs.h +%%QUAKEWORLD%%%%DATADIR%%/qw/progs.src +%%QUAKEWORLD%%%%DATADIR%%/qw/server.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/spectate.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/sprites.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/subs.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/triggers.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/weapons.qc +%%QUAKEWORLD%%%%DATADIR%%/qw/world.qc +%%DATADIR%%/v101qc/ai.qc +%%DATADIR%%/v101qc/amtest.qc +%%DATADIR%%/v101qc/boss.qc +%%DATADIR%%/v101qc/buttons.qc +%%DATADIR%%/v101qc/client.qc +%%DATADIR%%/v101qc/combat.qc +%%DATADIR%%/v101qc/defs.qc +%%DATADIR%%/v101qc/demon.qc +%%DATADIR%%/v101qc/dog.qc +%%DATADIR%%/v101qc/doors.qc +%%DATADIR%%/v101qc/enforcer.qc +%%DATADIR%%/v101qc/fight.qc +%%DATADIR%%/v101qc/fish.qc +%%DATADIR%%/v101qc/hknight.qc +%%DATADIR%%/v101qc/items.qc +%%DATADIR%%/v101qc/jctest.qc +%%DATADIR%%/v101qc/knight.qc +%%DATADIR%%/v101qc/misc.qc +%%DATADIR%%/v101qc/models.qc +%%DATADIR%%/v101qc/monsters.qc +%%DATADIR%%/v101qc/ogre.qc +%%DATADIR%%/v101qc/oldone.qc +%%DATADIR%%/v101qc/plats.qc +%%DATADIR%%/v101qc/player.qc +%%DATADIR%%/v101qc/progs.src +%%DATADIR%%/v101qc/shalrath.qc +%%DATADIR%%/v101qc/shambler.qc +%%DATADIR%%/v101qc/soldier.qc +%%DATADIR%%/v101qc/sprites.qc +%%DATADIR%%/v101qc/subs.qc +%%DATADIR%%/v101qc/tarbaby.qc +%%DATADIR%%/v101qc/triggers.qc +%%DATADIR%%/v101qc/weapons.qc +%%DATADIR%%/v101qc/wizard.qc +%%DATADIR%%/v101qc/world.qc +%%DATADIR%%/v101qc/zombie.qc +@dirrm %%DATADIR%%/v101qc +%%QUAKEWORLD%%@dirrm %%DATADIR%%/qw +@dirrm %%DATADIR%% |