aboutsummaryrefslogtreecommitdiffstats
path: root/games/crack-attack/Makefile
blob: 5d21f67bb906aaa907d7dff70ae745ab55398f3c (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
# 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.10
CATEGORIES= games
MASTER_SITES=   http://blackseav.bsdns5.net/~aluminum/attack/

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

LIB_DEPENDS=    glut.3:${PORTSDIR}/graphics/libglut

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${X11BASE}/include" CXXFLAGS="${CFLAGS}"

post-patch:
    ${REINPLACE_CMD} -e 's|-O6 -s|${CFLAGS}|' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>