1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 1.3

- Removed USE_X_PREFIX
- Added NO_CDROM and NO_PACKAGE
- Added linux- prefix to all quake* scripts

Approved by:	garga (mentor)
This commit is contained in:
Jose Alonso Cardenas Marquez 2006-08-02 19:50:23 +00:00
parent 2ad9426df8
commit ee2e74ba42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169495
4 changed files with 31 additions and 20 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= quake4
PORTVERSION= 1.2.1
PORTVERSION= 1.3
PORTEPOCH= 1
CATEGORIES= games linux
MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|quake4/linux/|} \
@ -21,9 +21,10 @@ COMMENT= Quake 4 for Linux
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
ONLY_FOR_ARCHS= i386 amd64
USE_X_PREFIX= yes
USE_LINUX= yes
NO_WRKSUBDIR= yes
NO_CDROM= Redistribution is limited, see license
NO_PACKAGE= Package will be 230MB, set FORCE_PACKAGE if you really want it
Q4DIR= lib/${PORTNAME}
PLIST_SUB+= Q4DIR="${Q4DIR}" \
LINUXBASE="${LINUXBASE}"
@ -54,18 +55,18 @@ do-build:
@${SED} \
-e 's|@Q4DIR@|${PREFIX}/${Q4DIR}|' \
-e 's|@APP@|${FILE}.x86|' \
${FILESDIR}/run.sh.in > ${WRKSRC}/${FILE}.sh
${FILESDIR}/run.sh.in > ${WRKSRC}/${PKGNAMEPREFIX}${FILE}.sh
.endfor
do-install:
# Executables
@${MKDIR} ${PREFIX}/${Q4DIR}
.for FILE in quake4 q4ded
${INSTALL_SCRIPT} ${WRKSRC}/${FILE}.sh ${PREFIX}/bin/${FILE}
${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}${FILE}.sh ${PREFIX}/bin/${PKGNAMEPREFIX}${FILE}
${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/${FILE}.x86 ${PREFIX}/${Q4DIR}
.endfor
.if !defined(WITHOUT_SMP)
${INSTALL_SCRIPT} ${WRKSRC}/quake4smp.sh ${PREFIX}/bin/quake4smp
${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}quake4smp.sh ${PREFIX}/bin/${PKGNAMEPREFIX}quake4smp
${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/quake4smp.x86 ${PREFIX}/${Q4DIR}
.endif
@ -79,7 +80,7 @@ do-install:
-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \;
# Q4base
@cd ${WRKSRC} && \
${FIND} -E q4base -type f -iregex ".*\.(cfg|scriptcfg|pk4)" \
${FIND} -E q4base -type f -iregex ".*\.(cfg|scriptcfg|pk4|off)" \
-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \;
# All version (except germany) or only germany version

View File

@ -1,3 +1,3 @@
MD5 (quake4-linux-1.2.1.x86.run) = ed9ecbddf8d3e5cf4e7d5330303c3610
SHA256 (quake4-linux-1.2.1.x86.run) = 1e23a3f509a3d3ce86519c3ad0a29677eb05e2cc28f773dca1971ad025032622
SIZE (quake4-linux-1.2.1.x86.run) = 123174709
MD5 (quake4-linux-1.3.x86.run) = 90f9c1390e38e723e62a5a07fd96cc91
SHA256 (quake4-linux-1.3.x86.run) = 3ac59bec1e4b3120677ed062293582fb72d2b2bbb11bdaab35efb8f03500c688
SIZE (quake4-linux-1.3.x86.run) = 239447744

View File

@ -1,4 +1,4 @@
------------------------------------------------------------
###############################################################################
1) In order to play Quake 4, you need to copy some data files
from the Quake 4 DVD or CD's. Please read the following
@ -10,4 +10,4 @@ file:
Have fun!
------------------------------------------------------------
###############################################################################

View File

@ -1,6 +1,6 @@
%%SMP%%bin/quake4smp
bin/q4ded
bin/quake4
%%SMP%%bin/linux-quake4smp
bin/linux-q4ded
bin/linux-quake4
%%Q4DIR%%/pb/htm/la001307.htm
%%Q4DIR%%/pb/htm/lc001095.htm
%%Q4DIR%%/pb/htm/ma001307.htm
@ -20,6 +20,7 @@ bin/quake4
%%Q4DIR%%/q4base/game200.pk4
%%Q4DIR%%/q4base/mapcycle-mp1.scriptcfg
%%Q4DIR%%/q4base/mapcycle-mp2.scriptcfg
%%Q4DIR%%/q4base/mapcycle-mp3.scriptcfg
%%Q4DIR%%/q4base/mapcycle.scriptcfg
%%Q4DIR%%/q4base/pak013.pk4
%%Q4DIR%%/q4base/pak014.pk4
@ -27,16 +28,25 @@ bin/quake4
%%Q4DIR%%/q4base/pak016.pk4
%%Q4DIR%%/q4base/pak017.pk4
%%Q4DIR%%/q4base/pak018.pk4
%%Q4DIR%%/q4base/pak019.pk4
%%Q4DIR%%/q4base/pak020.pk4
%%Q4DIR%%/q4base/teamdm.cfg
%%Q4DIR%%/q4base/tourney.cfg
%%Q4DIR%%/q4base/zpak_czech_01.pk4.off
%%Q4DIR%%/q4base/zpak_english_01.pk4
%%Q4DIR%%/q4base/zpak_english_02.pk4
%%Q4DIR%%/q4base/zpak_french_01.pk4
%%Q4DIR%%/q4base/zpak_french_02.pk4
%%Q4DIR%%/q4base/zpak_italian_01.pk4
%%Q4DIR%%/q4base/zpak_italian_02.pk4
%%Q4DIR%%/q4base/zpak_spanish_01.pk4
%%Q4DIR%%/q4base/zpak_spanish_02.pk4
%%Q4DIR%%/q4base/zpak_english_03.pk4
%%Q4DIR%%/q4base/zpak_french_01.pk4.off
%%Q4DIR%%/q4base/zpak_french_02.pk4.off
%%Q4DIR%%/q4base/zpak_french_03.pk4.off
%%Q4DIR%%/q4base/zpak_italian_01.pk4.off
%%Q4DIR%%/q4base/zpak_italian_02.pk4.off
%%Q4DIR%%/q4base/zpak_italian_03.pk4.off
%%Q4DIR%%/q4base/zpak_polish_01.pk4.off
%%Q4DIR%%/q4base/zpak_russian_01.pk4.off
%%Q4DIR%%/q4base/zpak_spanish_01.pk4.off
%%Q4DIR%%/q4base/zpak_spanish_02.pk4.off
%%Q4DIR%%/q4base/zpak_spanish_03.pk4.off
%%SMP%%%%Q4DIR%%/quake4smp.x86
%%Q4DIR%%/q4ded.x86
%%Q4DIR%%/quake4.x86