freebsd-ports/games/linux-steam/Makefile
Pav Lucistnik 105ff63d66 - Allow user to redefine installation directory
- Update pkg-message

PR:		ports/64643
Submitted by:	Hideki Machida <hido@neojapangz.com> (maintainer)
2004-04-10 11:31:15 +00:00

37 lines
894 B
Makefile

# New ports collection makefile for: hlstats
# Date created: 29 December 2003
# Whom: hideki
#
# $FreeBSD$
#
PORTNAME= steam
PORTVERSION= 1.0
CATEGORIES= games linux
MASTER_SITES= http://hlstats.neojapangz.com/files/
PKGNAMEPREFIX= linux-
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}/${INSTALLDIR}
@ ${CP} ${WRKDIR}/${PORTNAME} ${PREFIX}/${INSTALLDIR}/
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>