# New ports collection makefile for:	view3ds
# Date created:				18 January 2001
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/graphics/view3ds/Makefile,v 1.8 2003/03/07 06:04:13 ade Exp $
#

PORTNAME=	view3ds
PORTVERSION=	1.0.0
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	lib3ds

MAINTAINER=	sobomax@FreeBSD.org
COMMENT=	A simple realtime 3DS file previewer based on the Lib3ds Library

LIB_DEPENDS=	3ds.1:${PORTSDIR}/graphics/lib3ds

USE_X_PREFIX=	yes
USE_QT_VER=	2
USE_MESA=	yes
USE_GMAKE=	yes
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="-fno-rtti -fno-exceptions" \
		LDFLAGS="-lm ${PTHREAD_LIBS}" \
		QTDIR=${X11BASE}

.include <bsd.port.mk>
