# New ports collection makefile for:	openuniverse
# Date created:				4 August 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD: ports/astro/openuniverse/Makefile,v 1.28 2007/05/19 19:57:51 flz Exp $
#

PORTNAME=	openuniverse
PORTVERSION=	1.0.b3
PORTREVISION=	3
CATEGORIES=	astro
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	openuniverse
DISTNAME=	${PORTNAME}-1.0beta3

MAINTAINER=	ports@FreeBSD.org
COMMENT=	OpenGL Solar System simulator for X Window System

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		glut.4:${PORTSDIR}/graphics/libglut

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

CONFIGURE_ARGS=	--includedir="${LOCALBASE}/include" \
		--libdir="${LOCALBASE}/lib" \

CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include -I${X11BASE}/include/GL -I${LOCALBASE}/include" \
		LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm"  \
		LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"

USE_X_PREFIX=	yes

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1