2004-06-08 06:16:41 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: libQGLViewer
|
|
|
|
# Date created: Jun 8, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libqglviewer
|
2007-01-19 07:03:09 +00:00
|
|
|
PORTVERSION= 2.2.4.1
|
2010-02-05 11:46:55 +00:00
|
|
|
PORTREVISION= 5
|
2004-06-08 06:16:41 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/
|
2005-07-15 05:33:58 +00:00
|
|
|
DISTNAME= libQGLViewer-${PORTVERSION:R}-${PORTVERSION:E}
|
2004-06-08 06:16:41 +00:00
|
|
|
|
2007-06-29 16:29:19 +00:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2004-06-08 06:16:41 +00:00
|
|
|
COMMENT= A C++ library helps development of 3D applications
|
|
|
|
|
2004-06-14 01:58:13 +00:00
|
|
|
BUILD_DEPENDS= ${QMAKE}:${PORTSDIR}/devel/qmake
|
|
|
|
|
2005-08-01 14:49:21 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/QGLViewer
|
|
|
|
|
2004-06-08 06:16:41 +00:00
|
|
|
USE_QT_VER= 3
|
2005-08-01 14:49:21 +00:00
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
2007-05-19 20:36:56 +00:00
|
|
|
USE_GL= yes
|
2006-08-14 23:06:39 +00:00
|
|
|
USE_LDCONFIG= yes
|
2004-06-08 06:16:41 +00:00
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/QGLViewer
|
|
|
|
|
2005-08-01 14:49:21 +00:00
|
|
|
QMAKE?= ${LOCALBASE}/bin/qmake
|
|
|
|
QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2004-06-08 06:16:41 +00:00
|
|
|
|
2005-08-01 14:49:21 +00:00
|
|
|
do-configure:
|
2005-12-22 09:41:09 +00:00
|
|
|
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
|
2005-08-01 14:49:21 +00:00
|
|
|
-spec ${QMAKESPEC} QGLViewer.pro PREFIX="${PREFIX}"
|
2004-06-08 06:16:41 +00:00
|
|
|
|
2009-04-04 14:40:07 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKDIR}/${DISTNAME}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
|
|
.endif
|
2004-06-23 00:56:05 +00:00
|
|
|
.include <bsd.port.mk>
|