forked from Lainports/freebsd-ports
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
42 lines
1,005 B
Makefile
42 lines
1,005 B
Makefile
# New ports collection makefile for: hlstats
|
|
# Date created: 29 December 2003
|
|
# Whom: hideki
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= steam
|
|
PORTVERSION= 1.0
|
|
PORTREVISOIN= 2
|
|
CATEGORIES= games linux
|
|
MASTER_SITES= http://www.coreblack.com/files/
|
|
PKGNAMEPREFIX= linux-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Half Life dedicated server running on steam
|
|
|
|
BUILD_DEPENDS= ${LINUX_BASE_PORT}
|
|
|
|
IS_INTERACTIVE= yes
|
|
USE_LINUX= yes
|
|
USE_XLIB= yes
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
INSTALLDIR?= steam
|
|
|
|
PLIST_SUB+= INSTALLDIR=${INSTALLDIR}
|
|
|
|
pre-everything::
|
|
@ ${ECHO_MSG} "You can use the INSTALLDIR option to change the install dir"
|
|
|
|
do-build:
|
|
@ ${BRANDELF} -t Linux ${WRKDIR}/hldsupdatetool.bin
|
|
@ ${CHMOD} +x ${WRKDIR}/hldsupdatetool.bin && cd ${WRKDIR} && ./hldsupdatetool.bin
|
|
@ ${CAT} pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
|
|
|
|
do-install:
|
|
@ ${MKDIR} ${PREFIX}/${INSTALLDIR}
|
|
@ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|