summaryrefslogtreecommitdiff
path: root/games/enigma/Makefile
blob: 01acc1acad1849f03f84d4c7b0ea506ee38233af (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
# New ports collection makefile for:	enigma
# Date created:				25 July 2002
# Whom:					Edwin Groothuis
#
# $FreeBSD$
#

PORTNAME=	enigma
PORTVERSION=	0.81
PORTREVISION=	5
CATEGORIES=	games
MASTER_SITES=	http://www.rzuser.uni-heidelberg.de/~dheck/ \
		${MASTER_SITE_SAVANNAH}	# savannah is locked temporarely
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	edwin@mavetju.org
COMMENT=	Enigma is a reimplementation of Oxyd, a puzzle game

BUILD_DEPENDS=	lua:${PORTSDIR}/lang/lua

GNU_CONFIGURE=	yes
USE_XLIB=	yes
USE_GMAKE=	yes
USE_SDL=	gfx image mixer sdl
CONFIGURE_ARGS=	--target=""
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"

MAN6=		enigma.6

.include <bsd.port.pre.mk>

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

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>