1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/games/ivan/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

52 lines
1.4 KiB
Makefile

# New ports collection makefile for: ivan
# Date created: 11 Nov 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= ivan
PORTVERSION= 0.50
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/IVAN/IVAN%20${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A graphical roguelike game
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
STATEDIR= /var/games/ivan
PORTSCOUT= skipv:0.301,0.310,0.311,0.401,0.410,0.420,0.430
post-patch:
@${REINPLACE_CMD} -e 's|IvanSave|.IvanSave|g' ${WRKSRC}/Main/Source/game.cpp
@${REINPLACE_CMD} -Ee 's|(fearray<type>::~?fearray)<type>|\1|' \
${WRKSRC}/FeLib/Include/fearray.h
@${REINPLACE_CMD} -Ee 's|([a-z]+<[a-z ,]+>::~?[a-z]+)<[a-z ,]+>|\1|' \
${WRKSRC}/Main/Source/script.cpp
@${REINPLACE_CMD} -e 's|truth(|bool(|' ${WRKSRC}/Main/Source/fluid.cpp \
${WRKSRC}/Main/Include/char.h ${WRKSRC}/Main/Include/lsquare.h \
${WRKSRC}/FeLib/Include/save.h ${WRKSRC}/Main/Include/lsquare.h \
${WRKSRC}/Main/Include/human.h ${WRKSRC}/Main/Source/command.cpp \
${WRKSRC}/Main/Include/stack.h ${WRKSRC}/Main/Source/lsquare.cpp \
${WRKSRC}/Main/Source/lterras.cpp
post-install:
${CHGRP} games ${PREFIX}/bin/ivan
${CHMOD} g+s ${PREFIX}/bin/ivan
.if !exists(${STATEDIR})
${MKDIR} ${STATEDIR}
${TOUCH} ${STATEDIR}/ivan-highscore.scores
${MKDIR} ${STATEDIR}/Bones
${CHGRP} -R games ${STATEDIR}
${CHMOD} -R g+w ${STATEDIR}
.endif
.include <bsd.port.mk>