summaryrefslogtreecommitdiff
path: root/games/xye/Makefile
blob: 61a340c1ca4a22070963cf24ad21007bb30cd78e (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
# New ports collection makefile for: xye
# Date created:        3 May 2006
# Whom:                Robert Gogolok <gogo@cs.uni-sb.de>
#
# $FreeBSD$
#

PORTNAME=	xye
PORTVERSION=	0.7.6.2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	gogo@cs.uni-sb.de
COMMENT=	A puzzle game for X

USE_SDL=	sdl image
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-docdir=${PREFIX}/share/doc
USE_GMAKE=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		does not build on FreeBSD 4.x
.endif

post-patch:
	@${REINPLACE_CMD} -E 's,#include.*<SDL/(SDL.*\.h)>,#include <SDL11/\1>,g' ${WRKSRC}/src/vxsdl.h

.include <bsd.port.post.mk>