c78a42b444
on FreeCNC). It is a real time strategy game. To play the game with this engine you need the original game (mix files). The only game supported is red alert 1 ;) WWW: http://www.freera.org/ PR: ports/108678 Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: freera
|
|
# Date created: 01 Feb 2007
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freera
|
|
PORTVERSION= 070122
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTVERSION}_freera++_src
|
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
|
COMMENT= Westwood red alert game engine
|
|
|
|
USE_SDL= sdl mixer
|
|
USE_SCONS= yes
|
|
|
|
SCONS_BUILDENV= ${SCONS_ENV} SDL_CONFIG=${SDL_CONFIG}
|
|
|
|
WRKSRC= ${WRKDIR}/freera++
|
|
|
|
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 ${PREFIX}/bin/
|
|
cd ${WRKSRC}/data && \
|
|
${FIND} . -type d -exec ${MKDIR} "${DATADIR}/{}" \; ;\
|
|
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
|
|
|
post-install:
|
|
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
|
|
|
.include <bsd.port.mk>
|