blob: d4437e3bb5f8ee43483614e3a56fc35689c39f25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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= 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|../$$(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>
|