aboutsummaryrefslogtreecommitdiff
path: root/graphics/libqglviewer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libqglviewer/Makefile')
-rw-r--r--graphics/libqglviewer/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/libqglviewer/Makefile b/graphics/libqglviewer/Makefile
index 2b38a45770d6..e50cab461bd5 100644
--- a/graphics/libqglviewer/Makefile
+++ b/graphics/libqglviewer/Makefile
@@ -7,10 +7,10 @@
#
PORTNAME= libqglviewer
-PORTVERSION= 1.3.8
+PORTVERSION= 1.3.8.3
CATEGORIES= graphics
MASTER_SITES= http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/
-DISTNAME= libQGLViewer-${PORTVERSION}
+DISTNAME= libQGLViewer-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ library helps development of 3D applications
@@ -20,6 +20,7 @@ BUILD_DEPENDS= ${QMAKE}:${PORTSDIR}/devel/qmake
USE_QT_VER= 3
MAKE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
QTDIR=${X11BASE}
+MAKE_ARGS= PREFIX=${PREFIX}
QMAKE= ${LOCALBASE}/bin/qmake
INSTALLS_SHLIB= yes
@@ -27,7 +28,7 @@ DOCSDIR= ${PREFIX}/share/doc/QGLViewer
PORTDOCS= *
do-build:
- @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${QMAKE} && \
+ @(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${QMAKE} ${MAKE_ARGS} && \
${SETENV} ${MAKE_ENV} ${MAKE})
do-install: