summaryrefslogtreecommitdiffstats
path: root/games/alephone/Makefile
blob: 9ea6be5a6dd37442f8b964f8f7ffbf2a8b26ce3d (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
# New ports collection makefile for:	alephone
# Date created:		27 February 2001
# Whom:			Michael Alyn Miller <malyn@strangeGizmo.com>
#
# $FreeBSD$
#

PORTNAME=	alephone
PORTVERSION=	0.12.0
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	marathon
DISTNAME=	AlephOne-${PORTVERSION}

MAINTAINER=	malyn@strangeGizmo.com
COMMENT=	The open source version of Bungie's Marathon game

USE_SDL=	image net sdl
USE_PERL5_BUILD=yes
USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=		"Does not compile on FreeBSD >= 5.x"
.endif

post-patch:
	@${PERL} -pi -e 's,^#include \"network_modem.h\".*,,' \
		${WRKSRC}/Source_Files/Network/network.cpp \
		${WRKSRC}/Source_Files/Network/network_stream.cpp \

post-install:
.if !defined(NOPORTDOCS)
	@${CAT} ${PKGMESSAGE}
.endif

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