1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/freera/Makefile
Marcus von Appen 6506e45d69 - Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
  graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.

PR:		ports/142147 ports/142248 ports/142249
Approved by:	miwi (mentor implicit)
2010-01-30 09:43:31 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: freera
# Date created: 01 Feb 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= freera
PORTVERSION= 080203
PORTREVISION= 2
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
USE_SDL= sdl mixer
USE_SCONS= yes
SCONS_BUILDENV= ${SCONS_ENV} SDL_CONFIG=${SDL_CONFIG}
WRKSRC= ${WRKDIR}/freera++
SUB_FILES= pkg-message
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:
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>