1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/freera/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

44 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= 070328
PORTREVISION= 1
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>