mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
This port installs various Quake II extras:
- High quality texture pack (requires support in engine). - High quality skin pack (requires JPEG and PNG support in engine). WWW: http://www-personal.umich.edu/~jimw/q2/index.htm
This commit is contained in:
parent
faaf5c9d38
commit
e498b978dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169000
@ -555,6 +555,7 @@
|
||||
SUBDIR += quake-reaper
|
||||
SUBDIR += quake-source
|
||||
SUBDIR += quake2-data
|
||||
SUBDIR += quake2-extras
|
||||
SUBDIR += quake2-relay
|
||||
SUBDIR += quake2-source
|
||||
SUBDIR += quake2forge
|
||||
|
97
games/quake2-extras/Makefile
Normal file
97
games/quake2-extras/Makefile
Normal file
@ -0,0 +1,97 @@
|
||||
# New ports collection makefile for: quake2-extras
|
||||
# Date created: 27 Jul 2006
|
||||
# Whom: alepulver
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= extras
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://offload1.icculus.org/quake2/files/:retex \
|
||||
http://www.icculus.org/quake2/files/:retex \
|
||||
http://www-personal.umich.edu/~jimw/q2/files/:retex2
|
||||
PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX}
|
||||
DISTFILES= #
|
||||
DIST_SUBDIR= ${LATEST_LINK}
|
||||
EXTRACT_ONLY= #
|
||||
|
||||
MAINTAINER= alepulver@FreeBSD.org
|
||||
COMMENT= Quake II extras (high quality textures and skins)
|
||||
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
OPTIONS= RETEXTURE "Install high quality textures" on \
|
||||
RETEXTURE_FULL "Install more textures (120MB)" off \
|
||||
SKINS "Install high quality skins" off
|
||||
|
||||
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
RETEX_PAKS= 10 11 12 13 14 16 17 19
|
||||
RETEX_FULL= all_q2_textures_07_17_2006.zip
|
||||
SKINS= models.zip
|
||||
|
||||
.include "${.CURDIR}/../quake2-data/Makefile.include"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_RETEXTURE_FULL) || defined(WITH_SKINS)
|
||||
BUILD_DEPENDS+= nwreckdum:${PORTSDIR}/archivers/nwreckdum
|
||||
PLIST_FILES+= %%Q2DIR%%/baseq2/pak20.pak
|
||||
.endif
|
||||
|
||||
.if defined(WITH_RETEXTURE) && !defined(WITH_RETEXTURE_FULL)
|
||||
.for i in ${RETEX_PAKS}
|
||||
DISTFILES+= pak${i}.pak:retex
|
||||
PLIST_FILES+= %%Q2DIR%%/baseq2/pak${i}.pak
|
||||
.endfor
|
||||
PLIST_SUB+= RETEX=""
|
||||
.else
|
||||
PLIST_SUB+= RETEX="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_RETEXTURE_FULL)
|
||||
DISTFILES+= ${RETEX_FULL}:retex2
|
||||
EXTRACT_ONLY+= ${RETEX_FULL}
|
||||
PLIST_FILES+= %%Q2DIR%%/baseq2/pak10.pak
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SKINS)
|
||||
DISTFILES+= ${SKINS}:retex2
|
||||
EXTRACT_ONLY+= ${SKINS}
|
||||
PLIST_FILES+= %%Q2DIR%%/baseq2/pak20.pak
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.if defined(WITH_RETEXTURE_FULL)
|
||||
@${MKDIR} ${WRKSRC}/pak10
|
||||
@${MV} ${WRKSRC}/textures ${WRKSRC}/pak10
|
||||
.endif
|
||||
.if defined(WITH_SKINS)
|
||||
@${MKDIR} ${WRKSRC}/pak20
|
||||
@${MV} ${WRKSRC}/models ${WRKSRC}/pak20
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
.if defined(WITH_RETEXTURE_FULL)
|
||||
@nwreckdum -c -p ${WRKSRC}/pak10.pak -d ${WRKSRC}/pak10
|
||||
.endif
|
||||
.if defined(WITH_SKINS)
|
||||
@nwreckdum -c -p ${WRKSRC}/pak20.pak -d ${WRKSRC}/pak20
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
.if defined(WITH_RETEXTURE) && !defined(WITH_RETEXTURE_FULL)
|
||||
.for i in ${RETEX_PAKS}
|
||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pak${i}.pak ${Q2DIR}/baseq2
|
||||
.endfor
|
||||
.endif
|
||||
.if defined(WITH_RETEXTURE_FULL)
|
||||
${INSTALL_DATA} ${WRKSRC}/pak10.pak ${Q2DIR}/baseq2
|
||||
.endif
|
||||
.if defined(WITH_SKINS)
|
||||
${INSTALL_DATA} ${WRKSRC}/pak20.pak ${Q2DIR}/baseq2
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
30
games/quake2-extras/distinfo
Normal file
30
games/quake2-extras/distinfo
Normal file
@ -0,0 +1,30 @@
|
||||
MD5 (quake2-extras/pak10.pak) = fc2de3c33c23cca5f0e6fcec068ce616
|
||||
SHA256 (quake2-extras/pak10.pak) = 196dc096c1f4fd620c19a09593e5b770ddbeed7d864ca3a95383f7bf9538fbc3
|
||||
SIZE (quake2-extras/pak10.pak) = 16315845
|
||||
MD5 (quake2-extras/pak11.pak) = 221019679613a13c6d7e5f9e21701d85
|
||||
SHA256 (quake2-extras/pak11.pak) = dcddd989b568cb28aa6c2a877d81df50a71fd9a649ce6dd44f454efe13e26a73
|
||||
SIZE (quake2-extras/pak11.pak) = 1702702
|
||||
MD5 (quake2-extras/pak12.pak) = 0c8b49c303014e535394168aed9b668a
|
||||
SHA256 (quake2-extras/pak12.pak) = 170af42c090940c89f1bf16e8518733bc39dac070e0d42e4eacad727b37de256
|
||||
SIZE (quake2-extras/pak12.pak) = 3629554
|
||||
MD5 (quake2-extras/pak13.pak) = 9628c82566535e48c59caaee5281b963
|
||||
SHA256 (quake2-extras/pak13.pak) = 085b22e5a9f23299e6f0519e402711725cdac51fc399ce577d0d701df0a72681
|
||||
SIZE (quake2-extras/pak13.pak) = 2198193
|
||||
MD5 (quake2-extras/pak14.pak) = 5d47605de09c458c7f1c69d8e6fea6a7
|
||||
SHA256 (quake2-extras/pak14.pak) = 78d3b02d20f856b3a0680035b0d67a80a16bede372eef3330b58c755387ff1ff
|
||||
SIZE (quake2-extras/pak14.pak) = 2397651
|
||||
MD5 (quake2-extras/pak16.pak) = 94b18e1f2d76fb7e7d0c5bd0ae8d7c69
|
||||
SHA256 (quake2-extras/pak16.pak) = eb21fbc6d0bcd69fb1d3768bcb7f0bbff03e28c18c67f239497d15749913ded3
|
||||
SIZE (quake2-extras/pak16.pak) = 2675893
|
||||
MD5 (quake2-extras/pak17.pak) = e24d79286ba3c1f3da1f9642a78c49af
|
||||
SHA256 (quake2-extras/pak17.pak) = e9585c18ec1f53b95dad833f76ac2df54586d3171e0f3a93ba7c2acce8d915be
|
||||
SIZE (quake2-extras/pak17.pak) = 1431798
|
||||
MD5 (quake2-extras/pak19.pak) = 070a4d00b93a2a427ca92adee2736000
|
||||
SHA256 (quake2-extras/pak19.pak) = ee7d5aaee977a8dd198c61a2bcca446b2ab421ee6eaa3a18159671dd742a9540
|
||||
SIZE (quake2-extras/pak19.pak) = 648896
|
||||
MD5 (quake2-extras/all_q2_textures_07_17_2006.zip) = 04ad930517f9af082c25caf8490141a8
|
||||
SHA256 (quake2-extras/all_q2_textures_07_17_2006.zip) = af741dc4637693f9804fc8d6fc59604317033f3e436671bda028d3ce81f8910f
|
||||
SIZE (quake2-extras/all_q2_textures_07_17_2006.zip) = 119631164
|
||||
MD5 (quake2-extras/models.zip) = 1644efdb8db3f468f33f6874299a8760
|
||||
SHA256 (quake2-extras/models.zip) = 519b7442808b78bc61094459c71b9d042be6e64a350876bae850ede691610222
|
||||
SIZE (quake2-extras/models.zip) = 17767691
|
6
games/quake2-extras/pkg-descr
Normal file
6
games/quake2-extras/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This port installs various Quake II extras:
|
||||
|
||||
- High quality texture pack (requires support in engine).
|
||||
- High quality skin pack (requires JPEG and PNG support in engine).
|
||||
|
||||
WWW: http://www-personal.umich.edu/~jimw/q2/index.htm
|
Loading…
Reference in New Issue
Block a user