State Changed From-To: open->feedback Please submit a diff between old and new directory, not a diff between old and new shar!
diff -r -u /usr/ports/games/linux-steam/Makefile linux-steam/Makefile --- /usr/ports/games/linux-steam/Makefile Fri Jan 2 23:08:38 2004 +++ linux-steam/Makefile Wed Mar 24 16:00:21 2004 @@ -7,6 +7,7 @@ PORTNAME= steam PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= http://hlstats.neojapangz.com/files/ PKGNAMEPREFIX= linux- @@ -14,17 +15,23 @@ MAINTAINER= hido@neojapangz.com COMMENT= Half Life dedicated server running on steam -IS_INTERACTIVE= yes PKGMESSAGE= ${WRKDIR}/pkg-message USE_LINUX= yes +INSTALLDIR?= steam + +PLIST_SUB+= INSTALLDIR=${INSTALLDIR} + +pre-everything:: + @ ${ECHO_MSG} "You can use the INSTALLDIR option to change the install dir" + do-build: @ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin @ ${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} do-install: - @ ${MKDIR} ${PREFIX}/${PORTNAME} - @ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${PORTNAME}/ + @ ${MKDIR} ${PREFIX}/${INSTALLDIR} + @ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/ @ ${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff -r -u /usr/ports/games/linux-steam/pkg-message linux-steam/pkg-message --- /usr/ports/games/linux-steam/pkg-message Fri Jan 2 23:08:38 2004 +++ linux-steam/pkg-message Wed Mar 24 16:00:44 2004 @@ -1,19 +1,27 @@ ################################################################## -# To get started goto %%PREFIX%%/steam # +# To get started goto %%PREFIX%%/%%INSTALLDIR%% # # and type the following to create a steam-user. # -# ./steam -create <username> <password> <question> <answer> # +# ./steam -command create -username <username> \ # +# -email <emailaddress> -password <password> \ # +# -question <question> -answer <answer> # +# # # Example # -# ./steam -create johndoe l337cr3w nameofmygun M4A1 # +# ./steam -command create -username johndoe \ # +# -email johndoe@mydomain.com -password 12345678 \ # +# -question nameofmygun -answer M4A1 # # # # Once you have a steam-user account or if you have a registered # # account already type the following to start updating your HLDS # -# ./steam -update <game> <installdir> <username> [<password> [Y]]# -# example # -# ./steam -update cstrike . johndoe l337cr3w Y # +# ./steam -command update -game <game> -dir <steamdir> \ # +# -username <username> -password <password> -remember_password # +# # +# Example # +# ./steam -command update -game cstrike -dir %%PREFIX%%/steam \ # +# -username johndoe -password 12345678 -remember_password # # # # Once your server has been updated type the following # # to test your server. # -# ./hlds_run -game cstrike +maxplayers 10 +map de_dust # +# ./hlds_run -game cstrike +map de_dust -maxplayers 16 # # # # For instructions on configuring your server goto # # http://server.counter-strike.net # diff -r -u /usr/ports/games/linux-steam/pkg-plist linux-steam/pkg-plist --- /usr/ports/games/linux-steam/pkg-plist Fri Jan 2 23:08:38 2004 +++ linux-steam/pkg-plist Wed Mar 24 15:47:36 2004 @@ -1,2 +1,2 @@ -steam/steam -@dirrm steam +%%INSTALLDIR%%/steam +@dirrm %%INSTALLDIR%%
State Changed From-To: feedback->closed Committed, thanks!