View | Details | Raw Unified | Return to bug 64643
Collapse All | Expand All

(-)after.shar (-35 / +50 lines)
Lines 5-21 Link Here
5
#
5
#
6
# This archive contains:
6
# This archive contains:
7
#
7
#
8
#	/usr/ports/games/linux-steam
8
#	linux-steam
9
#	/usr/ports/games/linux-steam/Makefile
9
#	linux-steam/Makefile
10
#	/usr/ports/games/linux-steam/distinfo
10
#	linux-steam/distinfo
11
#	/usr/ports/games/linux-steam/pkg-descr
11
#	linux-steam/pkg-descr
12
#	/usr/ports/games/linux-steam/pkg-message
12
#	linux-steam/pkg-message
13
#	/usr/ports/games/linux-steam/pkg-plist
13
#	linux-steam/pkg-plist
14
#
14
#
15
echo c - /usr/ports/games/linux-steam
15
echo c - linux-steam
16
mkdir -p /usr/ports/games/linux-steam > /dev/null 2>&1
16
mkdir -p linux-steam > /dev/null 2>&1
17
echo x - /usr/ports/games/linux-steam/Makefile
17
echo x - linux-steam/Makefile
18
sed 's/^X//' >/usr/ports/games/linux-steam/Makefile << 'END-of-/usr/ports/games/linux-steam/Makefile'
18
sed 's/^X//' >linux-steam/Makefile << 'END-of-linux-steam/Makefile'
19
X# New ports collection makefile for:   hlstats
19
X# New ports collection makefile for:   hlstats
20
X# Date created:        29 December 2003
20
X# Date created:        29 December 2003
21
X# Whom:                hideki
21
X# Whom:                hideki
Lines 25-30 Link Here
25
X
25
X
26
XPORTNAME=	steam
26
XPORTNAME=	steam
27
XPORTVERSION=	1.0
27
XPORTVERSION=	1.0
28
XPORTREVISION=	1
28
XCATEGORIES=	games linux
29
XCATEGORIES=	games linux
29
XMASTER_SITES=	http://hlstats.neojapangz.com/files/
30
XMASTER_SITES=	http://hlstats.neojapangz.com/files/
30
XPKGNAMEPREFIX=	linux-
31
XPKGNAMEPREFIX=	linux-
Lines 32-58 Link Here
32
XMAINTAINER=	hido@neojapangz.com
33
XMAINTAINER=	hido@neojapangz.com
33
XCOMMENT=	Half Life dedicated server running on steam
34
XCOMMENT=	Half Life dedicated server running on steam
34
X
35
X
35
XIS_INTERACTIVE=	yes
36
XPKGMESSAGE=	${WRKDIR}/pkg-message
36
XPKGMESSAGE=	${WRKDIR}/pkg-message
37
XUSE_LINUX=	yes
37
XUSE_LINUX=	yes
38
X
38
X
39
XINSTALLDIR?=	steam
40
X
41
XPLIST_SUB+=     INSTALLDIR=${INSTALLDIR}
42
X
43
Xpre-everything::
44
X	@ ${ECHO_MSG} "You can use the INSTALLDIR option to change the install dir"
45
X
39
Xdo-build:
46
Xdo-build:
40
X	@ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin
47
X	@ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin
41
X	@ ${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
48
X	@ ${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
42
X
49
X
43
Xdo-install:
50
Xdo-install:
44
X	@ ${MKDIR} ${PREFIX}/${PORTNAME}
51
X	@ ${MKDIR} ${PREFIX}/${INSTALLDIR}
45
X	@ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${PORTNAME}/
52
X	@ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/
46
X	@ ${CAT} ${PKGMESSAGE}
53
X	@ ${CAT} ${PKGMESSAGE}
47
X
54
X
48
X.include <bsd.port.mk>
55
X.include <bsd.port.mk>
49
END-of-/usr/ports/games/linux-steam/Makefile
56
END-of-linux-steam/Makefile
50
echo x - /usr/ports/games/linux-steam/distinfo
57
echo x - linux-steam/distinfo
51
sed 's/^X//' >/usr/ports/games/linux-steam/distinfo << 'END-of-/usr/ports/games/linux-steam/distinfo'
58
sed 's/^X//' >linux-steam/distinfo << 'END-of-linux-steam/distinfo'
52
XMD5 (steam-1.0.tar.gz) = 3d32775d1cf34ff8c9c938312e5128b8
59
XMD5 (steam-1.0.tar.gz) = 3d32775d1cf34ff8c9c938312e5128b8
53
END-of-/usr/ports/games/linux-steam/distinfo
60
END-of-linux-steam/distinfo
54
echo x - /usr/ports/games/linux-steam/pkg-descr
61
echo x - linux-steam/pkg-descr
55
sed 's/^X//' >/usr/ports/games/linux-steam/pkg-descr << 'END-of-/usr/ports/games/linux-steam/pkg-descr'
62
sed 's/^X//' >linux-steam/pkg-descr << 'END-of-linux-steam/pkg-descr'
56
XSteam is Valve's new way of getting games into your hands ASAP. Games like
63
XSteam is Valve's new way of getting games into your hands ASAP. Games like
57
XHalf-Life, Counter-Strike, and Counter-Strike Condition Zero
64
XHalf-Life, Counter-Strike, and Counter-Strike Condition Zero
58
Xare all being made available through Steam.
65
Xare all being made available through Steam.
Lines 72-106 Link Here
72
X
79
X
73
X- Hideki
80
X- Hideki
74
Xhido@neojapangz.com
81
Xhido@neojapangz.com
75
END-of-/usr/ports/games/linux-steam/pkg-descr
82
END-of-linux-steam/pkg-descr
76
echo x - /usr/ports/games/linux-steam/pkg-message
83
echo x - linux-steam/pkg-message
77
sed 's/^X//' >/usr/ports/games/linux-steam/pkg-message << 'END-of-/usr/ports/games/linux-steam/pkg-message'
84
sed 's/^X//' >linux-steam/pkg-message << 'END-of-linux-steam/pkg-message'
78
X##################################################################
85
X##################################################################
79
X# To get started goto %%PREFIX%%/steam                           #
86
X# To get started goto %%PREFIX%%/%%INSTALLDIR%%                             #
80
X# and type the following to create a steam-user.                 #
87
X# and type the following to create a steam-user.                 #
81
X# ./steam -create <username> <password> <question> <answer>      #
88
X# ./steam -command create -username <username> \                 #
89
X# -email <emailaddress> -password <password> \                   #
90
X# -question <question> -answer <answer>                          #
91
X#                                                                #
82
X# Example                                                        #
92
X# Example                                                        #
83
X# ./steam -create johndoe l337cr3w nameofmygun M4A1              #
93
X# ./steam -command create -username johndoe \                    #
94
X# -email johndoe@mydomain.com -password 12345678 \               #
95
X# -question nameofmygun -answer M4A1                             #
84
X#                                                                #
96
X#                                                                #
85
X# Once you have a steam-user account or if you have a registered #
97
X# Once you have a steam-user account or if you have a registered #
86
X# account already type the following to start updating your HLDS #
98
X# account already type the following to start updating your HLDS #
87
X# ./steam -update <game> <installdir> <username> [<password> [Y]]#
99
X# ./steam -command update -game <game> -dir <steamdir> \         #
88
X# example                                                        #
100
X# -username <username> -password <password> -remember_password   #
89
X# ./steam -update cstrike . johndoe l337cr3w Y                   #
101
X#                                                                #
102
X# Example                                                        #
103
X# ./steam -command update -game cstrike -dir %%PREFIX%%/steam \  #
104
X# -username johndoe -password 12345678 -remember_password        #
90
X#                                                                #
105
X#                                                                #
91
X# Once your server has been updated type the following           #
106
X# Once your server has been updated type the following           #
92
X# to test your server.                                           #
107
X# to test your server.                                           #
93
X# ./hlds_run -game cstrike +maxplayers 10 +map de_dust           #
108
X# ./hlds_run -game cstrike +map de_dust -maxplayers 16           #
94
X#                                                                #
109
X#                                                                #
95
X# For instructions on configuring your server goto               #
110
X# For instructions on configuring your server goto               #
96
X# http://server.counter-strike.net                               #
111
X# http://server.counter-strike.net                               #
97
X#                                                                #
112
X#                                                                #
98
X##################################################################
113
X##################################################################
99
END-of-/usr/ports/games/linux-steam/pkg-message
114
END-of-linux-steam/pkg-message
100
echo x - /usr/ports/games/linux-steam/pkg-plist
115
echo x - linux-steam/pkg-plist
101
sed 's/^X//' >/usr/ports/games/linux-steam/pkg-plist << 'END-of-/usr/ports/games/linux-steam/pkg-plist'
116
sed 's/^X//' >linux-steam/pkg-plist << 'END-of-linux-steam/pkg-plist'
102
Xsteam/steam
117
X%%INSTALLDIR%%/steam
103
X@dirrm steam
118
X@dirrm %%INSTALLDIR%%
104
END-of-/usr/ports/games/linux-steam/pkg-plist
119
END-of-linux-steam/pkg-plist
105
exit
120
exit

Return to bug 64643