aboutsummaryrefslogtreecommitdiff
path: root/graphics/libqglviewer
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-08 01:30:50 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-08 01:30:50 +0000
commit07559f548a57abaaafba0e4fda064f1cf8c05a06 (patch)
treeffb9b841611ffd51ed1bbd649a8d2d6adaef0423 /graphics/libqglviewer
parentda175cf39a8c48a3a12c0ba92077fc67eccff683 (diff)
downloadports-07559f548a57abaaafba0e4fda064f1cf8c05a06.tar.gz
ports-07559f548a57abaaafba0e4fda064f1cf8c05a06.zip
upgrade to 1.3.8-3
Notes
Notes: svn path=/head/; revision=113175
Diffstat (limited to 'graphics/libqglviewer')
-rw-r--r--graphics/libqglviewer/Makefile7
-rw-r--r--graphics/libqglviewer/distinfo4
-rw-r--r--graphics/libqglviewer/pkg-plist7
3 files changed, 10 insertions, 8 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:
diff --git a/graphics/libqglviewer/distinfo b/graphics/libqglviewer/distinfo
index 7ea5351e692f..d0d4ae56d388 100644
--- a/graphics/libqglviewer/distinfo
+++ b/graphics/libqglviewer/distinfo
@@ -1,2 +1,2 @@
-MD5 (libQGLViewer-1.3.8.tar.gz) = 6ab4693f70714e1cc170f75376d408a5
-SIZE (libQGLViewer-1.3.8.tar.gz) = 845803
+MD5 (libQGLViewer-1.3.8.tar.gz) = 9f7adadc9adf8d72a0e0060831da6399
+SIZE (libQGLViewer-1.3.8.tar.gz) = 846965
diff --git a/graphics/libqglviewer/pkg-plist b/graphics/libqglviewer/pkg-plist
index 269ef8aa78ac..54c031882e3f 100644
--- a/graphics/libqglviewer/pkg-plist
+++ b/graphics/libqglviewer/pkg-plist
@@ -1,5 +1,6 @@
lib/libQGLViewer.prl
-lib/libQGLViewer.so
-lib/libQGLViewer.so.1
-lib/libQGLViewer.so.1.3
lib/libQGLViewer.so.1.3.8
+@exec ln -sf %D/lib/libQGLViewer.so.1.3.8 %D/lib/libQGLViewer.so
+@exec ln -sf %D/lib/libQGLViewer.so.1.3.8 %D/lib/libQGLViewer.so.1
+@exec ln -sf %D/lib/libQGLViewer.so.1.3.8 %D/lib/libQGLViewer.so.1.3
+@unexec rm -f %D/lib/libQGLViewer.so %D/lib/libQGLViewer.so.1 %D/lib/libQGLViewer.so.1.3 2>&1 >/dev/null || true