freebsd-ports/games/vultures-claw/Makefile
Ion-Mihai Tetcu 942db0947e - Vulture's Claw no longer requires sdl-image as a depedency, so remove
it, and remove a stray reference to SDL_image.h from the source.

Noteced by:	Clive Crous, the Vulture's Claw developer
PR:		ports/99001
Submitted by:	maintainer
2006-06-16 08:02:49 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: vultures-claw
# Date created: 25 Apr 2006
# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
#
PORTNAME= vultures
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.darkarts.co.za/projects/vultures/downloads/${PORTVERSION}/
PKGNAMESUFFIX= -claw
DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
MAINTAINER= alex@foxybanana.com
COMMENT= An isometric interface to Slash'EM based on Falcon's Eye
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl ttf mixer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/slashem
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502102
USE_GCC= 3.3+
.endif
pre-configure:
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
post-configure:
@${REINPLACE_CMD} -e \
"s|/local||g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
"s|^PREFIX|\#PREFIX|g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
"s|slashemdir|share/vultures-claw|g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|../$$(BUILD)|../../../$$(BUILD)|g' \
${WRKSRC}/win/vultures/GNUmakefile
@${REINPLACE_CMD} -e \
's|#include <SDL_image.h>||g' \
${WRKSRC}/win/vultures/vultures_gfl.c
.include <bsd.port.post.mk>