freebsd-ports/games/freera/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

37 lines
1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= freera
PORTVERSION= 080203
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}%20${PORTNAME}%2B%2B/0.47%20beta
DISTNAME= ${PORTVERSION}_freera++_src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Westwood red alert game engine
USES= scons
USE_SDL= sdl mixer
WRKSRC= ${WRKDIR}/freera++
SUB_FILES= pkg-message
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
post-patch:
@${MV} ${WRKSRC}/SConstruct ${WRKSRC}/SConstruct.orig
@${CP} ${FILESDIR}/SConstruct ${WRKSRC}/
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/video/renderer.cpp \
${WRKSRC}/src/video/graphicsengine.cpp ${WRKSRC}/src/vfs/vfs.cpp \
${WRKSRC}/data/settings/files.ini
@${RM} ${WRKSRC}/data/settings/files.ini.bak
@${RM} -rf ${WRKSRC}/data/settings/ra/.svn ${WRKSRC}/data/settings/td/.svn
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freera ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>