freebsd-ports/games/crack-attack/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

33 lines
754 B
Makefile

# 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= 3
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
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_X_PREFIX= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" CXXFLAGS="${CFLAGS}"
MAN6= crack-attack.6
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 502126
@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
.endif
.include <bsd.port.post.mk>