diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-12-26 12:33:37 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-12-26 12:33:37 +0800 |
commit | d48c8030baabbe00739928d08c88a340f8651140 (patch) | |
tree | 9b626cfbd0eaffdbc4f1cf660a9262f46740fd05 /games | |
parent | c34a75bea4d846add5100e02fe3928e4c9ab2134 (diff) | |
download | freebsd-ports-gnome-d48c8030baabbe00739928d08c88a340f8651140.tar.gz freebsd-ports-gnome-d48c8030baabbe00739928d08c88a340f8651140.tar.zst freebsd-ports-gnome-d48c8030baabbe00739928d08c88a340f8651140.zip |
Quake II: Zaero Mission Pack.
WWW: http://teamevolve.planetquake.gamespy.com/products/index.html
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/quake2-zaero/Makefile | 78 | ||||
-rw-r--r-- | games/quake2-zaero/distinfo | 12 | ||||
-rw-r--r-- | games/quake2-zaero/files/Makefile | 109 | ||||
-rw-r--r-- | games/quake2-zaero/files/pkg-message.in | 7 | ||||
-rw-r--r-- | games/quake2-zaero/pkg-descr | 3 | ||||
-rw-r--r-- | games/quake2-zaero/pkg-plist | 15 |
7 files changed, 225 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index b09fb97e3c07..9d720d295bff 100644 --- a/games/Makefile +++ b/games/Makefile @@ -604,6 +604,7 @@ SUBDIR += quake2-rogue SUBDIR += quake2-source SUBDIR += quake2-xatrix + SUBDIR += quake2-zaero SUBDIR += quake2forge SUBDIR += quake2lnx SUBDIR += quake3 diff --git a/games/quake2-zaero/Makefile b/games/quake2-zaero/Makefile new file mode 100644 index 000000000000..a21af0292c00 --- /dev/null +++ b/games/quake2-zaero/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: quake2-zaero +# Date created: 2006-12-24 +# Whom: alepulver +# +# $FreeBSD$ +# + +PORTNAME= zaero +PORTVERSION= 1.1 +CATEGORIES= games +MASTER_SITES= ftp://ftp.alepulver.com.ar/distfiles/ +PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${PORTNAME}-src-${PORTVERSION}-2${EXTRACT_SUFX} +DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} + +MAINTAINER= alepulver@FreeBSD.org +COMMENT= Quake II Zaero Mission Pack + +USE_ZIP= yes +USE_DOS2UNIX= *.[ch] +NO_WRKSUBDIR= yes + +OPTIONS= DEMO "Install demo version of the game data" off \ + DM "Install deathmatch maps" off + +DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} + +.include "${.CURDIR}/../quake2-data/Makefile.include" + +.include <bsd.port.pre.mk> + +.if defined(WITH_DEMO) +DISTFILES+= zaerodemo${EXTRACT_SUFX} +PLIST_SUB+= DEMO="" +.else +PLIST_SUB+= DEMO="@comment " +SUB_FILES+= pkg-message +.endif + +.if defined(WITH_DM) +DISTFILES+= zaerodm${EXTRACT_SUFX} +PLIST_SUB+= DM="" +.else +PLIST_SUB+= DM="@comment " +.endif + +post-extract: + @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} + +post-patch: + @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch] + +do-install: + ${MKDIR} ${Q2DIR}/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/${PORTNAME} +.if defined(WITH_DEMO) + ${INSTALL_DATA} ${WRKSRC}/zaero/pak0.pak ${Q2DIR}/${PORTNAME} + ${MKDIR} ${Q2DIR}/${PORTNAME}/sprites + ${INSTALL_DATA} ${WRKSRC}/zaero/sprites/* ${Q2DIR}/${PORTNAME}/sprites +.endif + ${INSTALL_DATA} ${WRKSRC}/pak1.pak ${Q2DIR}/${PORTNAME} +.if defined(WITH_DM) + ${INSTALL_DATA} ${WRKSRC}/zaero/pak2.pak ${Q2DIR}/${PORTNAME} +.endif +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/changelog.txt ${DOCSDIR} +.endif + +.if !defined(WITH_DEMO) +post-install: + @${ECHO_CMD} + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} +.endif + +.include <bsd.port.post.mk> diff --git a/games/quake2-zaero/distinfo b/games/quake2-zaero/distinfo new file mode 100644 index 000000000000..86afbca0d41b --- /dev/null +++ b/games/quake2-zaero/distinfo @@ -0,0 +1,12 @@ +MD5 (quake2-zaero/zaero-1.1.zip) = 1a7fc1a233c2336335bae4d2b5ad04ad +SHA256 (quake2-zaero/zaero-1.1.zip) = 6c4674d68c97e5e2ac3914a5eb76323ea959378178b70f4ce39cb54826dc2568 +SIZE (quake2-zaero/zaero-1.1.zip) = 408395 +MD5 (quake2-zaero/zaero-src-1.1-2.zip) = 4704c4d8ad19591443e41ea19edcd534 +SHA256 (quake2-zaero/zaero-src-1.1-2.zip) = 28f1b6cf089f391f1bed1e2ffed9fbe4cb1e1ee31ed6c77957a69e2be59cd01e +SIZE (quake2-zaero/zaero-src-1.1-2.zip) = 319876 +MD5 (quake2-zaero/zaerodemo.zip) = 4078e733f46275d0a7b16bd402d4d584 +SHA256 (quake2-zaero/zaerodemo.zip) = eb5ae039007f4d562f821f80648cc7cb4f1e3b9caf89542ee536425b1dc2372d +SIZE (quake2-zaero/zaerodemo.zip) = 45156957 +MD5 (quake2-zaero/zaerodm.zip) = 1e09d79078c0c909a3b2724d3d9778b6 +SHA256 (quake2-zaero/zaerodm.zip) = d25ffdd180bf780b2107868ed8453277c24af193b90d1880259d49feab0ca2a2 +SIZE (quake2-zaero/zaerodm.zip) = 5157876 diff --git a/games/quake2-zaero/files/Makefile b/games/quake2-zaero/files/Makefile new file mode 100644 index 000000000000..b9686edcce31 --- /dev/null +++ b/games/quake2-zaero/files/Makefile @@ -0,0 +1,109 @@ +# $FreeBSD$ + +SHLIB= game +SHLIB_NAME= game.so + +SRCS= g_ai.c \ + g_cmds.c \ + g_combat.c \ + g_func.c \ + g_items.c \ + g_local.h \ + g_main.c \ + g_misc.c \ + g_monster.c \ + g_phys.c \ + g_save.c \ + g_spawn.c \ + g_svcmds.c \ + g_target.c \ + g_trigger.c \ + g_turret.c \ + g_utils.c \ + g_weapon.c \ + game.h \ + m_actor.c \ + m_actor.h \ + m_berserk.c \ + m_berserk.h \ + m_boss2.c \ + m_boss2.h \ + m_boss3.c \ + m_boss31.c \ + m_boss31.h \ + m_boss32.c \ + m_boss32.h \ + m_brain.c \ + m_brain.h \ + m_chick.c \ + m_chick.h \ + m_flash.c \ + m_flipper.c \ + m_flipper.h \ + m_float.c \ + m_float.h \ + m_flyer.c \ + m_flyer.h \ + m_gladiator.c \ + m_gladiator.h \ + m_gunner.c \ + m_gunner.h \ + m_hover.c \ + m_hover.h \ + m_infantry.c \ + m_infantry.h \ + m_insane.c \ + m_insane.h \ + m_medic.c \ + m_medic.h \ + m_move.c \ + m_mutant.c \ + m_mutant.h \ + m_parasite.c \ + m_parasite.h \ + m_player.h \ + m_rider.h \ + m_soldier.c \ + m_soldier.h \ + m_supertank.c \ + m_supertank.h \ + m_tank.c \ + m_tank.h \ + p_client.c \ + p_hud.c \ + p_trail.c \ + p_view.c \ + p_weapon.c \ + q_shared.c \ + q_shared.h \ + z_acannon.c \ + z_ai.c \ + z_anim.c \ + z_anim.h \ + z_boss.c \ + z_boss.h \ + z_camera.c \ + z_debug.c \ + z_debug.h \ + z_frames.c \ + z_frames.h \ + z_handler.c \ + z_handler.h \ + z_hound.c \ + z_hound.h \ + z_item.c \ + z_list.c \ + z_list.h \ + z_mtest.c \ + z_sentien.c \ + z_sentien.h \ + z_spawn.c \ + z_trigger.c \ + z_weapon.c + +CFLAGS+= -Dstricmp=strcasecmp -ffast-math -funroll-loops \ + -fomit-frame-pointer -fexpensive-optimizations + +LDFLAGS+= -L/lib -L/usr/lib -lm + +.include <bsd.lib.mk> diff --git a/games/quake2-zaero/files/pkg-message.in b/games/quake2-zaero/files/pkg-message.in new file mode 100644 index 000000000000..41fc10f0db2a --- /dev/null +++ b/games/quake2-zaero/files/pkg-message.in @@ -0,0 +1,7 @@ +============================================================================== + +To complete the installation of this port you need to copy the file +"zaero/pak0.pak" from the original Quake II: Zaero Mission Pack distribution +to "%%Q2DIR%%/zaero". + +============================================================================== diff --git a/games/quake2-zaero/pkg-descr b/games/quake2-zaero/pkg-descr new file mode 100644 index 000000000000..c7c67c0c0bf7 --- /dev/null +++ b/games/quake2-zaero/pkg-descr @@ -0,0 +1,3 @@ +Quake II: Zaero Mission Pack. + +WWW: http://teamevolve.planetquake.gamespy.com/products/index.html diff --git a/games/quake2-zaero/pkg-plist b/games/quake2-zaero/pkg-plist new file mode 100644 index 000000000000..115ca4f29f90 --- /dev/null +++ b/games/quake2-zaero/pkg-plist @@ -0,0 +1,15 @@ +%%PORTDOCS%%%%DOCSDIR%%/changelog.txt +%%Q2DIR%%/zaero/game.so +%%DEMO%%%%Q2DIR%%/zaero/pak0.pak +%%Q2DIR%%/zaero/pak1.pak +%%DM%%%%Q2DIR%%/zaero/pak2.pak +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasma1.sp2 +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasma1_0.pcx +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasma1_1.pcx +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasma1_2.pcx +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasma1_3.pcx +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasmashield.sp2 +%%DEMO%%%%Q2DIR%%/zaero/sprites/plasmashield_0.pcx +%%DEMO%%@dirrm %%Q2DIR%%/zaero/sprites +@dirrm %%Q2DIR%%/zaero +%%PORTDOCS%%@dirrm %%DOCSDIR%% |