aboutsummaryrefslogtreecommitdiff
path: root/games/crack-attack/Makefile
blob: e9f85cb3479ef6a3a174ad0ac9829f909e14e2ea (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
# New ports collection makefile for:	crack-attack
# Date created:				21 December 2003
# Whom:					Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	crack-attack
PORTVERSION=	1.1.14
PORTREVISION=	8
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	pav@FreeBSD.org
COMMENT=	OpenGL game based on Super Nintendo classic Tetris Attack

USE_GL=		glut
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" CXXFLAGS="${CFLAGS}"

MAN6=		crack-attack.6

post-patch:
	@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h

.include <bsd.port.mk>