mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Update to 3.1.0.9
This commit is contained in:
parent
056a95abe8
commit
c97b1eec19
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58210
@ -6,16 +6,9 @@
|
||||
#
|
||||
|
||||
PORTNAME= hlds
|
||||
PORTVERSION= 3.1.0.8.0a
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.1.0.9
|
||||
CATEGORIES= games linux
|
||||
MASTER_SITES= http://www.carnage.q-net.net.au/downloads/server/halflife/linux/ \
|
||||
http://carnage.q-net.net.au/~carnage/server/halflife/linux/ \
|
||||
http://www.redphive.org/files/ \
|
||||
ftp://ftp.splatterworld.de/hl/official/server/ \
|
||||
http://files.ausgamers.com:81/half-life/linux/
|
||||
DISTFILES= hlds_l_3108_full.tar.gz \
|
||||
hlds_l_3108a_up.tar.gz
|
||||
DISTNAME= hlds_l_3109_full
|
||||
|
||||
MAINTAINER= pat@FreeBSD.org
|
||||
|
||||
@ -24,7 +17,6 @@ USE_LINUX_PREFIX= yes
|
||||
NO_CDROM= "Size; the data set is much too big"
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/hlds_l
|
||||
STRIP=
|
||||
PLIST_SUB= ${PLIST_SUB_FOR_THIS_PORT}
|
||||
PLIST_SUB_FOR_THIS_PORT= HLDSDIR="${HLDSDIR:S/^\///}" LDCONFIG="${LDCONFIG_LINUX}"
|
||||
|
||||
@ -32,43 +24,19 @@ INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
|
||||
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
|
||||
|
||||
HLDSDIR= /usr/games/hlds_l/
|
||||
HL_PROGRAM= hlds_run
|
||||
SORT?= /usr/bin/sort
|
||||
|
||||
# files which should be installed with executables perms
|
||||
EXECUTABLES= ${HL_PROGRAM} hltv
|
||||
EXECUTABLES= hltv hlds hlds_run libSteamValidateUserIDTickets.so \
|
||||
libhlwon.so
|
||||
|
||||
.ifdef(WITH_PING_BOOSTER)
|
||||
MASTER_SITES+= http://www.udpsoft.com/booster/
|
||||
DISTFILES+= HLDSPingBooster-0.99.tar.gz
|
||||
|
||||
BOOSTER_FILES= booster.so hlds_boost
|
||||
EXECUTABLES+= hlds_boost
|
||||
|
||||
PLIST_SUB+= BOOSTER=""
|
||||
.else
|
||||
PLIST_SUB+= BOOSTER="@comment "
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.ifndef(WITH_PING_BOOSTER)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITH_PING_BOOSTER to enable HLDS Ping Booster.'
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> HLDS Ping Booster is a small tweak to the Half-Life Dedicated'
|
||||
@${ECHO_MSG} '===> Server that drastically reduces player pings and generally'
|
||||
@${ECHO_MSG} '===> makes the game much more responsive.'
|
||||
@${ECHO_MSG} '===> Besides defining this, instead of using hlds_run to start the'
|
||||
@${ECHO_MSG} '===> server, use hlds_boost. Clients do not have to install anything.'
|
||||
@${ECHO_MSG} '===> Check http://www.udpsoft.com/booster/ for additional information.'
|
||||
@${ECHO_MSG} '===>'
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.ifdef(WITH_PING_BOOSTER)
|
||||
.for file in ${BOOSTER_FILES}
|
||||
@${CP} ${WRKDIR}/${file} ${WRKSRC}
|
||||
.endfor
|
||||
.include <bsd.port.pre.mk>
|
||||
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
||||
IGNORE= "Please download and execute ${DISTNAME}.bin to read valve\'s \
|
||||
agreement and if you agree to the terms, then it will dump the \
|
||||
tarball ${DISTNAME}${EXTRACT_SUFX} to your current directory. \
|
||||
Finally, move ${DISTNAME}${EXTRACT_SUFX} to ${DISTDIR} and run \
|
||||
make again"
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@ -76,10 +44,6 @@ pre-patch:
|
||||
@${FIND} -E ${WRKSRC} -type f \
|
||||
-iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|lst|sc|scr|txt|rc)" \
|
||||
-exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
|
||||
.ifdef(WITH_PING_BOOSTER)
|
||||
@${PERL} -pi -e 's|booster.so|${PREFIX}${HLDSDIR}booster.so|' \
|
||||
${WRKSRC}/hlds_boost
|
||||
.endif
|
||||
|
||||
do-install: install-parse-plist install-run-scripts scan-libs
|
||||
|
||||
@ -105,7 +69,7 @@ install-parse-plist: generate-plist
|
||||
-e '}' \
|
||||
-e '}' \
|
||||
-e 'print FFILES ($$program_flag == 0) ? \
|
||||
"${INSTALL_DATA}" : "${INSTALL_PROGRAM}";' \
|
||||
"${INSTALL_DATA:S/${SHAREMODE}/400/}" : "${INSTALL_SCRIPT:S/${BINMODE}/500/}";' \
|
||||
-e 'print FFILES " ", "\"${WRKSRC}/$$file_partial\"", \
|
||||
" ", "\"${PREFIX}/$$file\"", \
|
||||
"\n";' \
|
||||
@ -131,4 +95,4 @@ scan-libs:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1 @@
|
||||
MD5 (hlds_l_3108_full.tar.gz) = e034c77e5835bca3bb26c6d058efa30c
|
||||
MD5 (hlds_l_3108a_up.tar.gz) = c39a385ff62c917afec31d5b242bc29e
|
||||
MD5 (HLDSPingBooster-0.99.tar.gz) = 1144a59703d89143bb0efdc18cfea5a5
|
||||
MD5 (hlds_l_3109_full.tar.gz) = de2ca8cb027f7227d4a2f7a71a071b84
|
||||
|
@ -1,5 +1,5 @@
|
||||
%%PORTDOCS%%%%HLDSDIR%%EULA.TXT
|
||||
%%PORTDOCS%%%%HLDSDIR%%HLTV-Readme.txt
|
||||
%%PORTDOCS%%%%HLDSDIR%%3108a_changes.txt
|
||||
%%HLDSDIR%%dmc/cl_dlls/client.dll
|
||||
%%HLDSDIR%%dmc/delta.lst
|
||||
%%HLDSDIR%%dmc/dlls/dmc_i386.so
|
||||
@ -382,14 +382,14 @@
|
||||
%%HLDSDIR%%dmc/sprites/yelflare2.spr
|
||||
%%HLDSDIR%%dmc/sprites/zerogxplode.spr
|
||||
%%HLDSDIR%%dmc/titles.txt
|
||||
%%BOOSTER%%%%HLDSDIR%%booster.so
|
||||
%%HLDSDIR%%engine_i386.so
|
||||
%%BOOSTER%%%%HLDSDIR%%hlds_boost
|
||||
%%HLDSDIR%%hlds
|
||||
%%HLDSDIR%%hlds_run
|
||||
%%HLDSDIR%%hlds_run.dat
|
||||
%%HLDSDIR%%hltv
|
||||
%%HLDSDIR%%hltv.cfg
|
||||
%%HLDSDIR%%kver.kp
|
||||
%%HLDSDIR%%libSteamValidateUserIDTickets.so
|
||||
%%HLDSDIR%%libhlwon.so
|
||||
%%PORTDOCS%%%%HLDSDIR%%linuxreadme.txt
|
||||
%%PORTDOCS%%%%HLDSDIR%%readme.txt
|
||||
@ -552,7 +552,7 @@
|
||||
%%HLDSDIR%%tfc/sound/weapons/asscan4.wav
|
||||
%%HLDSDIR%%tfc/tfc.wad
|
||||
%%HLDSDIR%%tfc/tfc2.wad
|
||||
%%HLDSDIR%%tfc/tfstats/readme.txt
|
||||
%%PORTDOCS%%%%HLDSDIR%%tfc/tfstats/readme.txt
|
||||
%%HLDSDIR%%tfc/tfstats/tfc.2fort.rul
|
||||
%%HLDSDIR%%tfc/tfstats/tfc.cz2.rul
|
||||
%%HLDSDIR%%tfc/tfstats/tfc.rock2.rul
|
||||
@ -560,8 +560,9 @@
|
||||
%%HLDSDIR%%tfc/tfstats/tfc.well.rul
|
||||
%%HLDSDIR%%tfc/tfstats/tfstats.txt
|
||||
%%HLDSDIR%%tfc/tfstats/tfstats_l
|
||||
%%HLDSDIR%%tfc/valve.rc
|
||||
%%HLDSDIR%%valve/cl_dlls/client.dll
|
||||
%%HLDSDIR%%valve/credits.txt
|
||||
%%PORTDOCS%%%%HLDSDIR%%valve/credits.txt
|
||||
%%HLDSDIR%%valve/decals.wad
|
||||
%%HLDSDIR%%valve/delta.lst
|
||||
%%HLDSDIR%%valve/dlls/hl_i386.so
|
||||
|
Loading…
Reference in New Issue
Block a user