aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-steam/Makefile
blob: a7e9ed05cfa99e8342f42902ed33be14677fb2ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:   hlstats
# Date created:        29 December 2003
# Whom:                hideki
#
# $FreeBSD$
#

PORTNAME=   steam
PORTVERSION=    1.1
CATEGORIES= games linux
MASTER_SITES=   http://storefront.steampowered.com/download/
PKGNAMEPREFIX=  linux-
DISTNAME=   hldsupdatetool.bin
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER= chris@easymac.org
COMMENT=    Half Life and Source dedicated server using steam

BUILD_DEPENDS=  ${LINUX_BASE_PORT}

IS_INTERACTIVE= yes
USE_LINUX=  yes
USE_LINUX_APPS= xorglibs

INSTALLDIR?=    steam

SUB_FILES=  pkg-message
SUB_LIST=   INSTALLDIR=${PREFIX}/${INSTALLDIR}
PLIST_SUB+= INSTALLDIR=${INSTALLDIR}

pre-everything::
    @${ECHO_MSG} "You can use the INSTALLDIR option to change the install directory."

do-build:
    @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
    @${BRANDELF} -t Linux ${WRKDIR}/${DISTFILES}
    @${CHMOD} +x ${WRKDIR}/${DISTFILES} && cd ${WRKDIR} && ./${DISTFILES}

do-install:
    @${MKDIR} ${PREFIX}/${INSTALLDIR}
    @${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>