View | Details | Raw Unified | Return to bug 84404
Collapse All | Expand All

(-)graphics/libqglviewer/Makefile (-16 / +9 lines)
Lines 17-43 Link Here
17
17
18
BUILD_DEPENDS=	${QMAKE}:${PORTSDIR}/devel/qmake
18
BUILD_DEPENDS=	${QMAKE}:${PORTSDIR}/devel/qmake
19
19
20
WRKSRC=		${WRKDIR}/${DISTNAME}/QGLViewer
21
20
USE_QT_VER=	3
22
USE_QT_VER=	3
21
MAKE_ENV=	QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
23
MAKE_ENV=	QTDIR="${QT_PREFIX}"
22
		QTDIR=${X11BASE}
23
MAKE_ARGS=	PREFIX=${PREFIX}
24
QMAKE=		${LOCALBASE}/bin/qmake
25
INSTALLS_SHLIB=	yes
24
INSTALLS_SHLIB=	yes
25
NO_FILTER_SHLIBS=	yes
26
26
27
DOCSDIR=	${PREFIX}/share/doc/QGLViewer
27
DOCSDIR=	${PREFIX}/share/doc/QGLViewer
28
PORTDOCS=	*
29
30
do-build:
31
	@(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${QMAKE} ${MAKE_ARGS} && \
32
	  ${SETENV} ${MAKE_ENV} ${MAKE})
33
28
34
do-install:
29
QMAKE?=		${LOCALBASE}/bin/qmake
35
	@(cd ${WRKSRC}/QGLViewer && ${SETENV} ${MAKE_ENV} ${MAKE} install)
30
QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
36
31
37
post-install:
32
do-configure:
38
	@${FIND} ${PREFIX}/include/QGLViewer ! -type d | \
33
	cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
39
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
34
		-spec ${QMAKESPEC} QGLViewer.pro PREFIX="${PREFIX}"
40
	@${FIND} ${PREFIX}/include/QGLViewer -type d | ${SORT} -r | \
41
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
42
35
43
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)graphics/libqglviewer/files/patch-VRender-BSPSortMethod.cpp (+11 lines)
Line 0 Link Here
1
--- VRender/BSPSortMethod.cpp.orig	Thu Jun 30 02:06:00 2005
2
+++ VRender/BSPSortMethod.cpp	Tue Jul  5 12:42:55 2005
3
@@ -44,6 +44,8 @@
4
 
5
 *****************************************************************************/
6
 
7
+#include <stdio.h>
8
+
9
 #include "VRender.h"
10
 #include "Primitive.h"
11
 #include "SortMethod.h"
(-)graphics/libqglviewer/files/patch-VRender-Exporter.h (+11 lines)
Line 0 Link Here
1
--- VRender/Exporter.h.orig	Thu Jun 30 02:06:00 2005
2
+++ VRender/Exporter.h	Tue Jul  5 12:41:58 2005
3
@@ -49,6 +49,8 @@
4
 
5
 // Set of classes for exporting in various formats, like EPS, XFig3.2, SVG.
6
 
7
+#include <stdio.h>
8
+
9
 #include "Primitive.h"
10
 
11
 namespace vrender
(-)graphics/libqglviewer/files/patch-VRender-Vector2.cpp (+10 lines)
Line 0 Link Here
1
--- VRender/Vector2.cpp.orig	Thu Jun 30 02:06:00 2005
2
+++ VRender/Vector2.cpp	Tue Jul  5 12:53:56 2005
3
@@ -44,6 +44,7 @@
4
 
5
 *****************************************************************************/
6
 
7
+#include <vector>
8
 #include "Vector2.h"
9
 #include "Vector3.h"
10
 #include "Functions.h"
(-)graphics/libqglviewer/files/patch-VRender-Vector3.cpp (+10 lines)
Line 0 Link Here
1
--- VRender/Vector3.cpp.orig	Thu Jun 30 02:06:00 2005
2
+++ VRender/Vector3.cpp	Tue Jul  5 12:53:29 2005
3
@@ -45,6 +45,7 @@
4
 *****************************************************************************/
5
 
6
 #include <iostream>
7
+#include <vector>
8
 #include "Vector3.h"
9
 #include "NVector3.h"
10
 #include "Functions.h"
(-)graphics/libqglviewer/files/patch-vec.h (+11 lines)
Line 0 Link Here
1
--- vec.h.orig	Thu Jun 30 02:06:00 2005
2
+++ vec.h	Tue Jul  5 12:33:19 2005
3
@@ -69,7 +69,7 @@
4
 
5
   // If your compiler complains the "The class "qglviewer::Vec" has no member "x"."
6
   // Add your architecture Q_OS_XXXX flag (see qglobal.h) in this list.
7
-#if defined (Q_OS_IRIX) || defined (Q_OS_AIX) || defined (Q_OS_HPUX)
8
+#if defined (Q_OS_IRIX) || defined (Q_OS_AIX) || defined (Q_OS_HPUX) || defined(Q_OS_FREEBSD)
9
 # define UNION_NOT_SUPPORTED
10
 #endif
11
 
(-)graphics/libqglviewer/pkg-plist (-4 / +135 lines)
Lines 1-6 Link Here
1
include/QGLViewer/camera.h
2
include/QGLViewer/config.h
3
include/QGLViewer/constraint.h
4
include/QGLViewer/domUtils.h
5
include/QGLViewer/frame.h
6
include/QGLViewer/icon.h
7
include/QGLViewer/keyFrameInterpolator.h
8
include/QGLViewer/manipulatedCameraFrame.h
9
include/QGLViewer/manipulatedFrame.h
10
include/QGLViewer/mouseGrabber.h
11
include/QGLViewer/qglviewer.cw
12
include/QGLViewer/qglviewer.h
13
include/QGLViewer/quaternion.h
14
include/QGLViewer/vec.h
1
lib/libQGLViewer.prl
15
lib/libQGLViewer.prl
16
lib/libQGLViewer.so
17
lib/libQGLViewer.so.2
18
lib/libQGLViewer.so.2.0
2
lib/libQGLViewer.so.2.0.0
19
lib/libQGLViewer.so.2.0.0
3
@exec ln -sf %D/lib/libQGLViewer.so.2.0.0 %D/lib/libQGLViewer.so
20
%%DOCSDIR%%/changeLog.html
4
@exec ln -sf %D/lib/libQGLViewer.so.2.0.0 %D/lib/libQGLViewer.so.2
21
%%DOCSDIR%%/commented.html
5
@exec ln -sf %D/lib/libQGLViewer.so.2.0.0 %D/lib/libQGLViewer.so.2.0
22
%%DOCSDIR%%/developer.html
6
@unexec rm -f %D/lib/libQGLViewer.so %D/lib/libQGLViewer.so.2 %D/lib/libQGLViewer.so.2.0 2>&1 >/dev/null || true
23
%%DOCSDIR%%/download.html
24
%%DOCSDIR%%/faq.html
25
%%DOCSDIR%%/features.html
26
%%DOCSDIR%%/images/3dsViewer.jpg
27
%%DOCSDIR%%/images/agora.jpg
28
%%DOCSDIR%%/images/anaglyph.jpg
29
%%DOCSDIR%%/images/animation.jpg
30
%%DOCSDIR%%/images/backgroundImage.jpg
31
%%DOCSDIR%%/images/callback.jpg
32
%%DOCSDIR%%/images/constrainedCamera.jpg
33
%%DOCSDIR%%/images/constrainedFrame.jpg
34
%%DOCSDIR%%/images/css.png
35
%%DOCSDIR%%/images/designerplugin.jpg
36
%%DOCSDIR%%/images/drawLight.jpg
37
%%DOCSDIR%%/images/dvonn.jpg
38
%%DOCSDIR%%/images/eventRecorder.jpg
39
%%DOCSDIR%%/images/fastDraw.jpg
40
%%DOCSDIR%%/images/frameTransform.jpg
41
%%DOCSDIR%%/images/interface.jpg
42
%%DOCSDIR%%/images/keyFrames.jpg
43
%%DOCSDIR%%/images/keyboardAndMouse.jpg
44
%%DOCSDIR%%/images/linux.png
45
%%DOCSDIR%%/images/luxo.jpg
46
%%DOCSDIR%%/images/mac.png
47
%%DOCSDIR%%/images/manipulatedFrame.jpg
48
%%DOCSDIR%%/images/mouseGrabber.jpg
49
%%DOCSDIR%%/images/multiSelect.jpg
50
%%DOCSDIR%%/images/multiView.jpg
51
%%DOCSDIR%%/images/openGL.png
52
%%DOCSDIR%%/images/qglviewer.ico
53
%%DOCSDIR%%/images/qglviewer.icon.png
54
%%DOCSDIR%%/images/qglviewer.png
55
%%DOCSDIR%%/images/qglviewer.small.png
56
%%DOCSDIR%%/images/qt.png
57
%%DOCSDIR%%/images/quarto.jpg
58
%%DOCSDIR%%/images/screenCoordSystem.jpg
59
%%DOCSDIR%%/images/select.jpg
60
%%DOCSDIR%%/images/simpleViewer.jpg
61
%%DOCSDIR%%/images/sphere.png
62
%%DOCSDIR%%/images/stereoViewer.jpg
63
%%DOCSDIR%%/images/terrain.jpg
64
%%DOCSDIR%%/images/textureViewer.jpg
65
%%DOCSDIR%%/images/thumbnail.jpg
66
%%DOCSDIR%%/images/windows.png
67
%%DOCSDIR%%/images/x3dViewer.jpg
68
%%DOCSDIR%%/images/xhtml.png
69
%%DOCSDIR%%/index.html
70
%%DOCSDIR%%/installUnix.html
71
%%DOCSDIR%%/installWindows.html
72
%%DOCSDIR%%/intro.html
73
%%DOCSDIR%%/keyboard.html
74
%%DOCSDIR%%/mouse.html
75
%%DOCSDIR%%/qglviewer.css
76
%%DOCSDIR%%/refManual/annotated.html
77
%%DOCSDIR%%/refManual/classQGLViewer-members.html
78
%%DOCSDIR%%/refManual/classQGLViewer.html
79
%%DOCSDIR%%/refManual/classqglviewer_1_1AxisPlaneConstraint-members.html
80
%%DOCSDIR%%/refManual/classqglviewer_1_1AxisPlaneConstraint.html
81
%%DOCSDIR%%/refManual/classqglviewer_1_1Camera-members.html
82
%%DOCSDIR%%/refManual/classqglviewer_1_1Camera.html
83
%%DOCSDIR%%/refManual/classqglviewer_1_1CameraConstraint-members.html
84
%%DOCSDIR%%/refManual/classqglviewer_1_1CameraConstraint.html
85
%%DOCSDIR%%/refManual/classqglviewer_1_1Constraint-members.html
86
%%DOCSDIR%%/refManual/classqglviewer_1_1Constraint.html
87
%%DOCSDIR%%/refManual/classqglviewer_1_1Frame-members.html
88
%%DOCSDIR%%/refManual/classqglviewer_1_1Frame.html
89
%%DOCSDIR%%/refManual/classqglviewer_1_1KeyFrameInterpolator-members.html
90
%%DOCSDIR%%/refManual/classqglviewer_1_1KeyFrameInterpolator.html
91
%%DOCSDIR%%/refManual/classqglviewer_1_1LocalConstraint-members.html
92
%%DOCSDIR%%/refManual/classqglviewer_1_1LocalConstraint.html
93
%%DOCSDIR%%/refManual/classqglviewer_1_1ManipulatedCameraFrame-members.html
94
%%DOCSDIR%%/refManual/classqglviewer_1_1ManipulatedCameraFrame.html
95
%%DOCSDIR%%/refManual/classqglviewer_1_1ManipulatedFrame-members.html
96
%%DOCSDIR%%/refManual/classqglviewer_1_1ManipulatedFrame.html
97
%%DOCSDIR%%/refManual/classqglviewer_1_1MouseGrabber-members.html
98
%%DOCSDIR%%/refManual/classqglviewer_1_1MouseGrabber.html
99
%%DOCSDIR%%/refManual/classqglviewer_1_1Quaternion-members.html
100
%%DOCSDIR%%/refManual/classqglviewer_1_1Quaternion.html
101
%%DOCSDIR%%/refManual/classqglviewer_1_1Vec-members.html
102
%%DOCSDIR%%/refManual/classqglviewer_1_1Vec.html
103
%%DOCSDIR%%/refManual/classqglviewer_1_1WorldConstraint-members.html
104
%%DOCSDIR%%/refManual/classqglviewer_1_1WorldConstraint.html
105
%%DOCSDIR%%/refManual/doxygen.css
106
%%DOCSDIR%%/refManual/doxygen.png
107
%%DOCSDIR%%/refManual/functions.html
108
%%DOCSDIR%%/refManual/functions_0x62.html
109
%%DOCSDIR%%/refManual/functions_0x63.html
110
%%DOCSDIR%%/refManual/functions_0x64.html
111
%%DOCSDIR%%/refManual/functions_0x65.html
112
%%DOCSDIR%%/refManual/functions_0x66.html
113
%%DOCSDIR%%/refManual/functions_0x67.html
114
%%DOCSDIR%%/refManual/functions_0x68.html
115
%%DOCSDIR%%/refManual/functions_0x69.html
116
%%DOCSDIR%%/refManual/functions_0x6b.html
117
%%DOCSDIR%%/refManual/functions_0x6c.html
118
%%DOCSDIR%%/refManual/functions_0x6d.html
119
%%DOCSDIR%%/refManual/functions_0x6e.html
120
%%DOCSDIR%%/refManual/functions_0x6f.html
121
%%DOCSDIR%%/refManual/functions_0x70.html
122
%%DOCSDIR%%/refManual/functions_0x71.html
123
%%DOCSDIR%%/refManual/functions_0x72.html
124
%%DOCSDIR%%/refManual/functions_0x73.html
125
%%DOCSDIR%%/refManual/functions_0x74.html
126
%%DOCSDIR%%/refManual/functions_0x75.html
127
%%DOCSDIR%%/refManual/functions_0x76.html
128
%%DOCSDIR%%/refManual/functions_0x77.html
129
%%DOCSDIR%%/refManual/functions_0x7a.html
130
%%DOCSDIR%%/refManual/functions_0x7e.html
131
%%DOCSDIR%%/refManual/hierarchy.html
132
%%DOCSDIR%%/refManual/index.html
133
%%DOCSDIR%%/techFaq.html
134
@dirrm %%DOCSDIR%%/refManual
135
@dirrm %%DOCSDIR%%/images
136
@dirrm %%DOCSDIR%%
137
@dirrm include/QGLViewer

Return to bug 84404