# New ports collection makefile for:	openuniverse
# Date created:				4 August 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD: ports/astro/openuniverse/Makefile,v 1.20 2001/01/09 00:09:18 trevor Exp $
#

PORTNAME=		openuniverse
PORTVERSION=		1.0.b3
CATEGORIES=		astro
MASTER_SITES=		http://download.sourceforge.net/openuniverse/
DISTNAME=		${PORTNAME}-1.0beta3

MAINTAINER=		trevor@FreeBSD.org

LIB_DEPENDS=		jpeg.9:${PORTSDIR}/graphics/jpeg

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_MESA=	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"

USE_X_PREFIX=		yes

.include <bsd.port.mk>
