Bug 64643 - Update port: games/linux-steam Updated install instructions and also make minor revisions to makefiles
Summary: Update port: games/linux-steam Updated install instructions and also make min...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-24 07:20 UTC by Hideki Machida
Modified: 2004-04-10 12:31 UTC (History)
0 users

See Also:


Attachments
file.diff (6.17 KB, patch)
2004-03-24 07:20 UTC, Hideki Machida
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hideki Machida 2004-03-24 07:20:08 UTC

    
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-03-24 23:27:10 UTC
State Changed
From-To: open->feedback

Please submit a diff between old and new directory, 
not a diff between old and new shar!
Comment 2 Hideki Machida 2004-03-25 01:13:18 UTC
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%%
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-04-10 12:31:22 UTC
State Changed
From-To: feedback->closed

Committed, thanks!