diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-04-27 03:12:47 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-04-27 03:12:47 +0000 |
commit | c97b1eec192bca6d54da1d62bcf430267f367656 (patch) | |
tree | 37db02d96973092434b4b267fc68e8bc32b54a3c /games/halflifeserver | |
parent | 056a95abe868bf042aa1418d4bccfa5d0f43563d (diff) | |
download | ports-c97b1eec192bca6d54da1d62bcf430267f367656.tar.gz ports-c97b1eec192bca6d54da1d62bcf430267f367656.zip |
Notes
Diffstat (limited to 'games/halflifeserver')
-rw-r--r-- | games/halflifeserver/Makefile | 64 | ||||
-rw-r--r-- | games/halflifeserver/distinfo | 4 | ||||
-rw-r--r-- | games/halflifeserver/pkg-plist | 11 |
3 files changed, 21 insertions, 58 deletions
diff --git a/games/halflifeserver/Makefile b/games/halflifeserver/Makefile index abe119a6b8d5..a31ace90e145 100644 --- a/games/halflifeserver/Makefile +++ b/games/halflifeserver/Makefile @@ -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 - -.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 +EXECUTABLES= hltv hlds hlds_run libSteamValidateUserIDTickets.so \ + libhlwon.so + +.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> diff --git a/games/halflifeserver/distinfo b/games/halflifeserver/distinfo index c3d89f65b7ca..fe5f14cc49df 100644 --- a/games/halflifeserver/distinfo +++ b/games/halflifeserver/distinfo @@ -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 diff --git a/games/halflifeserver/pkg-plist b/games/halflifeserver/pkg-plist index b2abce4bd69b..988b6188c7a2 100644 --- a/games/halflifeserver/pkg-plist +++ b/games/halflifeserver/pkg-plist @@ -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 |