freebsd-ports/astro/openuniverse/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

33 lines
787 B
Makefile

# New ports collection makefile for: openuniverse
# Date created: 4 August 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= openuniverse
DISTVERSION= 1.0beta3
PORTREVISION= 8
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL Solar System simulator for X Window System
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
USE_GL= glut
USE_XORG= sm ice xmu xi xext x11
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \
CONFIGURE_ENV= LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lm
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.mk>