aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libqglviewer
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-07-08 09:30:50 +0800
committerijliao <ijliao@FreeBSD.org>2004-07-08 09:30:50 +0800
commite9343699131f07d2b6dd6b4d5daf43f921013c54 (patch)
tree3bae9b488b2af360fba026d00fa1d14ec61e796c /graphics/libqglviewer
parent05788e3ea0dbadbc424374aa92aa15473124ee19 (diff)
downloadfreebsd-ports-gnome-e9343699131f07d2b6dd6b4d5daf43f921013c54.tar.gz
freebsd-ports-gnome-e9343699131f07d2b6dd6b4d5daf43f921013c54.tar.zst
freebsd-ports-gnome-e9343699131f07d2b6dd6b4d5daf43f921013c54.zip
upgrade to 1.3.8-3
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