summaryrefslogtreecommitdiffstats
path: root/games/freedroidrpg/Makefile
blob: 5bc148f91da37aaa63fcd8dfb995c15a91b18e9a (plain)
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
# New ports collection makefile for:	freedroidrpg
# Date created:			18 Jul 2005
# Whom:				Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#

PORTNAME=	freedroidrpg
PORTVERSION=	0.9.13.r2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	freedroid
DISTNAME=	${PORTNAME}-0.9.13-rc2

MAINTAINER=	alejandro@varnet.biz
COMMENT=	Modification of the classical Freedroid engine into an RPG

USE_BZIP2=	yes
USE_REINPLACE=	yes
USE_GL=		yes
USE_GMAKE=	yes
USE_GNOME=	gtk12
USE_SDL=	mixer image net sdl
USE_XLIB=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-transform-name=

MAN6=		freedroidRPG.6

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		"does not compile (missing fenv.h)"
.endif

.if ${OSVERSION} < 600021
EXTRA_PATCHES=	${FILESDIR}/extra-patch-init.c
.endif

post-patch:
	@${REINPLACE_CMD} -e 's#-lSDL # #' \
				${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud