freebsd-ports/games/crack-attack/Makefile
Koop Mast 5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00

28 lines
628 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= 11
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_XORG= x11 xi xmu sm ice
USE_GL= glut
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
MAN6= crack-attack.6
post-patch:
@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
.include <bsd.port.mk>