1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/linux-steam/Makefile

43 lines
976 B
Makefile

# Created by: 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}
NO_STAGE= yes
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>