summaryrefslogtreecommitdiff
path: root/graphics/libqglviewer/Makefile
blob: 6ef182b92ef17fd4544d979061914847b63e600e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ex:ts=8
# Ports collection makefile for:	libQGLViewer
# Date created:			Jun 8, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	libqglviewer
PORTVERSION=	2.2.4.1
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/
DISTNAME=	libQGLViewer-${PORTVERSION:R}-${PORTVERSION:E}

MAINTAINER=	araujo@FreeBSD.org
COMMENT=	A C++ library helps development of 3D applications

BUILD_DEPENDS=	${QMAKE}:${PORTSDIR}/devel/qmake

WRKSRC=		${WRKDIR}/${DISTNAME}/QGLViewer

USE_QT_VER=	3
MAKE_ENV=	QTDIR="${QT_PREFIX}"
USE_GL=		yes
USE_LDCONFIG=	yes

DOCSDIR=	${PREFIX}/share/doc/QGLViewer
PORTDOCS=	*

QMAKE?=		${LOCALBASE}/bin/qmake
QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++

do-configure:
	@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
		-spec ${QMAKESPEC} QGLViewer.pro PREFIX="${PREFIX}"

.include <bsd.port.mk>