1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/games/vultures-claw/Makefile
Alexander Botero-Lowry e5080c5773 - Update distinfo. As with games/vultures-eye, seperate distfiles are no longer
provided, so we must use the full distfile instead.

Approved by:	novel (mentor, implicit)
2006-10-03 08:44:07 +00:00

49 lines
1.2 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= 2
CATEGORIES= games
MASTER_SITES= http://www.darkarts.co.za/projects/vultures/attachment/wiki/downloads/${PORTVERSION}/
PKGNAMESUFFIX= -claw
DISTFILES= ${DISTNAME}-full${EXTRACT_SUFX}?format=raw
MAINTAINER= alexbl@FreeBSD.org
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|#include <SDL_image.h>||g' \
${WRKSRC}/win/vultures/vultures_gfl.c
.include <bsd.port.post.mk>