Date: Tue, 23 Mar 2004 23:10:55 -0800 (PST) From: Hideki Machida <hido@neojapangz.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/64643: Update port: games/linux-steam Updated install instructions and also make minor revisions to makefiles Message-ID: <200403240710.i2O7AtmD007592@www.freebsd.org> Resent-Message-ID: <200403240720.i2O7K8r6034086@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64643 >Category: ports >Synopsis: Update port: games/linux-steam Updated install instructions and also make minor revisions to makefiles >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 23 23:20:08 PST 2004 >Closed-Date: >Last-Modified: >Originator: Hideki Machida >Release: >Organization: Private >Environment: >Description: >How-To-Repeat: >Fix: --- current.shar Wed Mar 24 16:05:32 2004 +++ after.shar Wed Mar 24 16:05:18 2004 @@ -5,17 +5,17 @@ # # This archive contains: # -# /usr/ports/games/linux-steam -# /usr/ports/games/linux-steam/Makefile -# /usr/ports/games/linux-steam/distinfo -# /usr/ports/games/linux-steam/pkg-descr -# /usr/ports/games/linux-steam/pkg-message -# /usr/ports/games/linux-steam/pkg-plist +# linux-steam +# linux-steam/Makefile +# linux-steam/distinfo +# linux-steam/pkg-descr +# linux-steam/pkg-message +# linux-steam/pkg-plist # -echo c - /usr/ports/games/linux-steam -mkdir -p /usr/ports/games/linux-steam > /dev/null 2>&1 -echo x - /usr/ports/games/linux-steam/Makefile -sed 's/^X//' >/usr/ports/games/linux-steam/Makefile << 'END-of-/usr/ports/games/linux-steam/Makefile' +echo c - linux-steam +mkdir -p linux-steam > /dev/null 2>&1 +echo x - linux-steam/Makefile +sed 's/^X//' >linux-steam/Makefile << 'END-of-linux-steam/Makefile' X# New ports collection makefile for: hlstats X# Date created: 29 December 2003 X# Whom: hideki @@ -25,6 +25,7 @@ X XPORTNAME= steam XPORTVERSION= 1.0 +XPORTREVISION= 1 XCATEGORIES= games linux XMASTER_SITES= http://hlstats.neojapangz.com/files/ XPKGNAMEPREFIX= linux- @@ -32,27 +33,33 @@ XMAINTAINER= hido@neojapangz.com XCOMMENT= Half Life dedicated server running on steam X -XIS_INTERACTIVE= yes XPKGMESSAGE= ${WRKDIR}/pkg-message XUSE_LINUX= yes X +XINSTALLDIR?= steam +X +XPLIST_SUB+= INSTALLDIR=${INSTALLDIR} +X +Xpre-everything:: +X @ ${ECHO_MSG} "You can use the INSTALLDIR option to change the install dir" +X Xdo-build: X @ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin X @ ${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} X Xdo-install: -X @ ${MKDIR} ${PREFIX}/${PORTNAME} -X @ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${PORTNAME}/ +X @ ${MKDIR} ${PREFIX}/${INSTALLDIR} +X @ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/ X @ ${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> -END-of-/usr/ports/games/linux-steam/Makefile -echo x - /usr/ports/games/linux-steam/distinfo -sed 's/^X//' >/usr/ports/games/linux-steam/distinfo << 'END-of-/usr/ports/games/linux-steam/distinfo' +END-of-linux-steam/Makefile +echo x - linux-steam/distinfo +sed 's/^X//' >linux-steam/distinfo << 'END-of-linux-steam/distinfo' XMD5 (steam-1.0.tar.gz) = 3d32775d1cf34ff8c9c938312e5128b8 -END-of-/usr/ports/games/linux-steam/distinfo -echo x - /usr/ports/games/linux-steam/pkg-descr -sed 's/^X//' >/usr/ports/games/linux-steam/pkg-descr << 'END-of-/usr/ports/games/linux-steam/pkg-descr' +END-of-linux-steam/distinfo +echo x - linux-steam/pkg-descr +sed 's/^X//' >linux-steam/pkg-descr << 'END-of-linux-steam/pkg-descr' XSteam is Valve's new way of getting games into your hands ASAP. Games like XHalf-Life, Counter-Strike, and Counter-Strike Condition Zero Xare all being made available through Steam. @@ -72,35 +79,43 @@ X X- Hideki Xhido@neojapangz.com -END-of-/usr/ports/games/linux-steam/pkg-descr -echo x - /usr/ports/games/linux-steam/pkg-message -sed 's/^X//' >/usr/ports/games/linux-steam/pkg-message << 'END-of-/usr/ports/games/linux-steam/pkg-message' +END-of-linux-steam/pkg-descr +echo x - linux-steam/pkg-message +sed 's/^X//' >linux-steam/pkg-message << 'END-of-linux-steam/pkg-message' X################################################################## -X# To get started goto %%PREFIX%%/steam # +X# To get started goto %%PREFIX%%/%%INSTALLDIR%% # X# and type the following to create a steam-user. # -X# ./steam -create <username> <password> <question> <answer> # +X# ./steam -command create -username <username> \ # +X# -email <emailaddress> -password <password> \ # +X# -question <question> -answer <answer> # +X# # X# Example # -X# ./steam -create johndoe l337cr3w nameofmygun M4A1 # +X# ./steam -command create -username johndoe \ # +X# -email johndoe@mydomain.com -password 12345678 \ # +X# -question nameofmygun -answer M4A1 # X# # X# Once you have a steam-user account or if you have a registered # X# account already type the following to start updating your HLDS # -X# ./steam -update <game> <installdir> <username> [<password> [Y]]# -X# example # -X# ./steam -update cstrike . johndoe l337cr3w Y # +X# ./steam -command update -game <game> -dir <steamdir> \ # +X# -username <username> -password <password> -remember_password # +X# # +X# Example # +X# ./steam -command update -game cstrike -dir %%PREFIX%%/steam \ # +X# -username johndoe -password 12345678 -remember_password # X# # X# Once your server has been updated type the following # X# to test your server. # -X# ./hlds_run -game cstrike +maxplayers 10 +map de_dust # +X# ./hlds_run -game cstrike +map de_dust -maxplayers 16 # X# # X# For instructions on configuring your server goto # X# http://server.counter-strike.net # X# # X################################################################## -END-of-/usr/ports/games/linux-steam/pkg-message -echo x - /usr/ports/games/linux-steam/pkg-plist -sed 's/^X//' >/usr/ports/games/linux-steam/pkg-plist << 'END-of-/usr/ports/games/linux-steam/pkg-plist' -Xsteam/steam -X@dirrm steam -END-of-/usr/ports/games/linux-steam/pkg-plist +END-of-linux-steam/pkg-message +echo x - linux-steam/pkg-plist +sed 's/^X//' >linux-steam/pkg-plist << 'END-of-linux-steam/pkg-plist' +X%%INSTALLDIR%%/steam +X@dirrm %%INSTALLDIR%% +END-of-linux-steam/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403240710.i2O7AtmD007592>