View | Details | Raw Unified | Return to bug 134341 | Differences between
and this patch

Collapse All | Expand All

(-)./qtstalker/Makefile (-15 / +21 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	qtstalker
8
PORTNAME=	qtstalker
9
PORTVERSION=	0.28
9
PORTVERSION=	0.36
10
PORTREVISION=	3
11
CATEGORIES=	finance kde
10
CATEGORIES=	finance kde
12
MASTER_SITES=	SF
11
MASTER_SITES=	SF
13
12
Lines 15-28 Link Here
15
COMMENT=	Commodity and stock market charting and technical analysis
14
COMMENT=	Commodity and stock market charting and technical analysis
16
15
17
BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
16
BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
18
LIB_DEPENDS=	db2:${PORTSDIR}/databases/db2
17
LIB_DEPENDS=	db-4.3:${PORTSDIR}/databases/db43 \
18
		ta_lib:${PORTSDIR}/devel/ta-lib
19
20
MAKE_JOBS_UNSAFE=yes
19
21
20
USE_QT_VER=3
22
USE_QT_VER=3
21
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
22
24
23
MAKE_ENV=	QTDIR="${QT_PREFIX}"
25
MAKE_ENV=	QTDIR="${QT_PREFIX}"
24
26
25
WRKSRC=		${WRKDIR}/${PORTNAME}
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
26
28
27
QMAKE?=		${LOCALBASE}/bin/qmake
29
QMAKE?=		${LOCALBASE}/bin/qmake
28
# XXX - this test is too simple but it is a good start
30
# XXX - this test is too simple but it is a good start
Lines 32-43 Link Here
32
QMAKESPEC?=	freebsd-g++
34
QMAKESPEC?=	freebsd-g++
33
.endif
35
.endif
34
36
35
VERSION_PLUGIN=	0.27
37
VERSION_PLUGIN=	0.36
36
38
37
# docs
39
# docs
38
DOC_FILES=	\
40
DOC_FILES=	\
39
		BUGS \
41
		BUGS \
40
		CHANGELOG \
42
		CHANGELOG-${PORTVERSION} \
41
		TODO
43
		TODO
42
44
43
.ifndef(NOPORTDOCS)
45
.ifndef(NOPORTDOCS)
Lines 53-82 Link Here
53
	@${FIND} ${WRKSRC} -type f -name "*pro" | \
55
	@${FIND} ${WRKSRC} -type f -name "*pro" | \
54
		${XARGS} -x -n 5 \
56
		${XARGS} -x -n 5 \
55
		${REINPLACE_CMD} -E \
57
		${REINPLACE_CMD} -E \
56
		-e 's|/usr/lib/qtstalker/|${PREFIX}/lib/${PORTNAME}/|'
58
		-e 's|/usr/local/lib/qtstalker/|${PREFIX}/lib/${PORTNAME}/|'
57
# where to find plugins
59
# where to find plugins
58
	@${REINPLACE_CMD} -E \
60
	@${REINPLACE_CMD} -E \
59
		-e 's|/usr/lib/qtstalker/|${PREFIX}/lib/${PORTNAME}/|' \
61
		-e 's|/usr/local/lib/qtstalker/|${PREFIX}/lib/${PORTNAME}/|' \
60
		${WRKSRC}/lib/Config.cpp \
62
		${WRKSRC}/lib/Config.cpp \
61
# where to both find and install docs
63
# where to both find and install docs
62
	@${REINPLACE_CMD} -E \
64
	@${REINPLACE_CMD} -E \
63
		-e 's|/usr/share/doc/qtstalker/html|${DOCSDIR}|' \
65
		-e 's|/usr/local/share/doc/qtstalker/html|${DOCSDIR}/html|' \
64
		${WRKSRC}/lib/Config.cpp \
66
		${WRKSRC}/lib/Config.cpp \
65
		${WRKSRC}/docs/docs.pro
67
		${WRKSRC}/docs/docs.pro \
68
		${FILESDIR}/qtstalkerrc
66
# where to install program
69
# where to install program
67
	@${REINPLACE_CMD} -E \
70
	@${REINPLACE_CMD} -E \
68
		-e 's|/usr/bin|${PREFIX}/bin|' \
71
		-e 's|/usr/local/bin|${PREFIX}/bin|' \
69
		${WRKSRC}/src/src.pro
72
		${WRKSRC}/src/src.pro
70
# where to install libs
73
# where to install libs
71
	@${REINPLACE_CMD} -E \
74
	@${REINPLACE_CMD} -E \
72
		-e 's|/usr/lib|${PREFIX}/lib|' \
75
		-e 's|/usr/local/lib|${PREFIX}/lib|' \
73
		${WRKSRC}/lib/lib.pro
76
		${WRKSRC}/lib/lib.pro
74
# correctly use database/db2
77
# correctly use database/db43
75
	@${REINPLACE_CMD} -E \
78
	@${REINPLACE_CMD} -E \
76
		-e 's|<db.h>|<db2/db.h>|' \
79
		-e 's|<db.h>|<db43/db.h>|' \
77
		${WRKSRC}/lib/DbPlugin.h
80
		${WRKSRC}/lib/DbPlugin.h
78
	@${REINPLACE_CMD} -E \
81
	@${REINPLACE_CMD} -E \
79
		-e 's|-ldb$$|-ldb2|' \
82
		-e 's|-ldb$$|-ldb-4.3|' \
80
		${WRKSRC}/lib/lib.pro
83
		${WRKSRC}/lib/lib.pro
81
84
82
do-configure:
85
do-configure:
Lines 106-111 Link Here
106
.endif
109
.endif
107
110
108
post-install:
111
post-install:
112
# install minimal rcfile with helpfiles path needed by help window
113
	@${MKDIR} ${PREFIX}/share/qt/etc
114
	@${INSTALL_DATA} ${FILESDIR}/qtstalkerrc ${PREFIX}/share/qt/etc
109
.ifndef(NOPORTDOCS)
115
.ifndef(NOPORTDOCS)
110
	@${MKDIR} ${DOCSDIR}
116
	@${MKDIR} ${DOCSDIR}
111
# additional docs
117
# additional docs
(-)./qtstalker/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qtstalker-0.28.tar.gz) = bce9d9201a1e4bccbb852439fd8241b4
1
MD5 (qtstalker-0.36.tar.gz) = 599589c4e84e828bd888fce6be81dab3
2
SHA256 (qtstalker-0.28.tar.gz) = 2b0f13b6b6c1752f0a1d6e7ef2067289df9a146036c0ab725fdd4612870f2143
2
SHA256 (qtstalker-0.36.tar.gz) = c70716d1241b2968ab331f345ee97be6f866275f2992da222e973505f07d1879
3
SIZE (qtstalker-0.28.tar.gz) = 1502923
3
SIZE (qtstalker-0.36.tar.gz) = 1402092
(-)./qtstalker/files/patch-plugins::indicator::ATR::ATR.cpp (-10 lines)
Lines 1-10 Link Here
1
--- plugins/indicator/ATR/ATR.cpp.orig	Wed Jan 19 03:26:19 2005
2
+++ plugins/indicator/ATR/ATR.cpp	Wed Jan 19 03:27:15 2005
3
@@ -21,6 +21,7 @@
4
 
5
 #include "ATR.h"
6
 #include "PrefDialog.h"
7
+#include <math.h>
8
 #include <qdict.h>
9
 #include <qobject.h>
10
 
(-)./qtstalker/files/patch-plugins::indicator::BB::BB.cpp (-10 lines)
Lines 1-10 Link Here
1
--- plugins/indicator/BB/BB.cpp.orig	Wed Jan 19 03:28:14 2005
2
+++ plugins/indicator/BB/BB.cpp	Wed Jan 19 03:28:24 2005
3
@@ -21,6 +21,7 @@
4
 
5
 #include "BB.h"
6
 #include "PrefDialog.h"
7
+#include <math.h>
8
 #include <qdict.h>
9
 #include <qobject.h>
10
 
(-)./qtstalker/files/patch-plugins::indicator::UO::UO.cpp (-10 lines)
Lines 1-10 Link Here
1
--- plugins/indicator/UO/UO.cpp.orig	Wed Jan 19 03:40:55 2005
2
+++ plugins/indicator/UO/UO.cpp	Wed Jan 19 03:41:05 2005
3
@@ -21,6 +21,7 @@
4
 
5
 #include "UO.h"
6
 #include "PrefDialog.h"
7
+#include <math.h>
8
 #include <qdict.h>
9
 #include <qobject.h>
10
 
(-)./qtstalker/files/patch-plugins::indicator::VFI::VFI.cpp (-10 lines)
Lines 1-10 Link Here
1
--- plugins/indicator/VFI/VFI.cpp.orig	Wed Jan 19 03:42:07 2005
2
+++ plugins/indicator/VFI/VFI.cpp	Wed Jan 19 03:42:15 2005
3
@@ -21,6 +21,7 @@
4
 
5
 #include "VFI.h"
6
 #include "PrefDialog.h"
7
+#include <math.h>
8
 #include <qdict.h>
9
 #include <qobject.h>
10
 
(-)./qtstalker/files/patch-plugins::indicator::VOLR::VOLR.cpp (-10 lines)
Lines 1-10 Link Here
1
--- plugins/indicator/VOLR/VOLR.cpp.orig	Wed Jan 19 03:43:08 2005
2
+++ plugins/indicator/VOLR/VOLR.cpp	Wed Jan 19 03:43:24 2005
3
@@ -21,6 +21,7 @@
4
 
5
 #include "VOLR.h"
6
 #include "PrefDialog.h"
7
+#include <math.h>
8
 #include <qdict.h>
9
 #include <qobject.h>
10
 
(-)./qtstalker/files/qtstalkerrc (+2 lines)
Line 0 Link Here
1
[General]
2
HelpFilePath=/usr/local/share/doc/qtstalker/html
(-)./qtstalker/files/qtstalkerrc.bak (+2 lines)
Line 0 Link Here
1
[General]
2
HelpFilePath=/usr/local/share/doc/qtstalker/html
(-)./qtstalker/pkg-plist (-60 / +10 lines)
Lines 3-71 Link Here
3
lib/libqtstalker.so.0
3
lib/libqtstalker.so.0
4
lib/libqtstalker.so.%%VERSION_PLUGIN%%
4
lib/libqtstalker.so.%%VERSION_PLUGIN%%
5
lib/libqtstalker.so.%%VERSION_PLUGIN%%.0
5
lib/libqtstalker.so.%%VERSION_PLUGIN%%.0
6
lib/qtstalker/chart/libBar.%%VERSION_PLUGIN%%.so
7
lib/qtstalker/chart/libCandle.%%VERSION_PLUGIN%%.so
8
lib/qtstalker/chart/libEP.%%VERSION_PLUGIN%%.so
9
lib/qtstalker/chart/libLine.%%VERSION_PLUGIN%%.so
10
lib/qtstalker/chart/libPF.%%VERSION_PLUGIN%%.so
11
lib/qtstalker/chart/libSwing.%%VERSION_PLUGIN%%.so
12
lib/qtstalker/co/libBuyArrow.%%VERSION_PLUGIN%%.so
13
lib/qtstalker/co/libFiboLine.%%VERSION_PLUGIN%%.so
14
lib/qtstalker/co/libHorizontalLine.%%VERSION_PLUGIN%%.so
15
lib/qtstalker/co/libSellArrow.%%VERSION_PLUGIN%%.so
16
lib/qtstalker/co/libText.%%VERSION_PLUGIN%%.so
17
lib/qtstalker/co/libTrendLine.%%VERSION_PLUGIN%%.so
18
lib/qtstalker/co/libVerticalLine.%%VERSION_PLUGIN%%.so
19
lib/qtstalker/db/libCC.%%VERSION_PLUGIN%%.so
20
lib/qtstalker/db/libFutures.%%VERSION_PLUGIN%%.so
21
lib/qtstalker/db/libIndex.%%VERSION_PLUGIN%%.so
22
lib/qtstalker/db/libSpread.%%VERSION_PLUGIN%%.so
23
lib/qtstalker/db/libStocks.%%VERSION_PLUGIN%%.so
24
lib/qtstalker/indicator/libAD.%%VERSION_PLUGIN%%.so
25
lib/qtstalker/indicator/libATR.%%VERSION_PLUGIN%%.so
26
lib/qtstalker/indicator/libBB.%%VERSION_PLUGIN%%.so
27
lib/qtstalker/indicator/libCCI.%%VERSION_PLUGIN%%.so
28
lib/qtstalker/indicator/libCOMP.%%VERSION_PLUGIN%%.so
29
lib/qtstalker/indicator/libCOUNTER.%%VERSION_PLUGIN%%.so
30
lib/qtstalker/indicator/libCUS.%%VERSION_PLUGIN%%.so
31
lib/qtstalker/indicator/libDMI.%%VERSION_PLUGIN%%.so
32
lib/qtstalker/indicator/libDPO.%%VERSION_PLUGIN%%.so
33
lib/qtstalker/indicator/libENV.%%VERSION_PLUGIN%%.so
34
lib/qtstalker/indicator/libFI.%%VERSION_PLUGIN%%.so
35
lib/qtstalker/indicator/libMA.%%VERSION_PLUGIN%%.so
36
lib/qtstalker/indicator/libMACD.%%VERSION_PLUGIN%%.so
37
lib/qtstalker/indicator/libMAOSC.%%VERSION_PLUGIN%%.so
38
lib/qtstalker/indicator/libMATH.%%VERSION_PLUGIN%%.so
39
lib/qtstalker/indicator/libMF.%%VERSION_PLUGIN%%.so
40
lib/qtstalker/indicator/libMOM.%%VERSION_PLUGIN%%.so
41
lib/qtstalker/indicator/libOVRLY.%%VERSION_PLUGIN%%.so
42
lib/qtstalker/indicator/libPC.%%VERSION_PLUGIN%%.so
43
lib/qtstalker/indicator/libPER.%%VERSION_PLUGIN%%.so
44
lib/qtstalker/indicator/libPP.%%VERSION_PLUGIN%%.so
45
lib/qtstalker/indicator/libREF.%%VERSION_PLUGIN%%.so
46
lib/qtstalker/indicator/libROC.%%VERSION_PLUGIN%%.so
47
lib/qtstalker/indicator/libRSI.%%VERSION_PLUGIN%%.so
48
lib/qtstalker/indicator/libSAR.%%VERSION_PLUGIN%%.so
49
lib/qtstalker/indicator/libSD.%%VERSION_PLUGIN%%.so
50
lib/qtstalker/indicator/libSTOCH.%%VERSION_PLUGIN%%.so
51
lib/qtstalker/indicator/libSZ.%%VERSION_PLUGIN%%.so
52
lib/qtstalker/indicator/libTHERM.%%VERSION_PLUGIN%%.so
53
lib/qtstalker/indicator/libTRIX.%%VERSION_PLUGIN%%.so
54
lib/qtstalker/indicator/libUO.%%VERSION_PLUGIN%%.so
55
lib/qtstalker/indicator/libVFI.%%VERSION_PLUGIN%%.so
56
lib/qtstalker/indicator/libVOL.%%VERSION_PLUGIN%%.so
57
lib/qtstalker/indicator/libVOLR.%%VERSION_PLUGIN%%.so
58
lib/qtstalker/indicator/libVT.%%VERSION_PLUGIN%%.so
59
lib/qtstalker/indicator/libWILLR.%%VERSION_PLUGIN%%.so
60
lib/qtstalker/quote/libCME.%%VERSION_PLUGIN%%.so
6
lib/qtstalker/quote/libCME.%%VERSION_PLUGIN%%.so
61
lib/qtstalker/quote/libCOT.%%VERSION_PLUGIN%%.so
62
lib/qtstalker/quote/libCSV.%%VERSION_PLUGIN%%.so
7
lib/qtstalker/quote/libCSV.%%VERSION_PLUGIN%%.so
63
lib/qtstalker/quote/libNYBOT.%%VERSION_PLUGIN%%.so
8
lib/qtstalker/quote/libNYBOT.%%VERSION_PLUGIN%%.so
64
lib/qtstalker/quote/libQtstalkerFormat.%%VERSION_PLUGIN%%.so
65
lib/qtstalker/quote/libYahoo.%%VERSION_PLUGIN%%.so
9
lib/qtstalker/quote/libYahoo.%%VERSION_PLUGIN%%.so
10
share/qtstalker/indicator/RSI
11
share/qtstalker/indicator/STOCH
12
share/qtstalker/indicator/VOL
13
share/qtstalker/indicator/bar
14
share/qtstalker/indicator/cdl-rel
15
share/qtstalker/indicator/cdl-rel-ma
16
share/qt/etc/qtstalkerrc
66
@dirrm lib/qtstalker/quote
17
@dirrm lib/qtstalker/quote
67
@dirrm lib/qtstalker/indicator
68
@dirrm lib/qtstalker/db
69
@dirrm lib/qtstalker/co
70
@dirrm lib/qtstalker/chart
71
@dirrm lib/qtstalker
18
@dirrm lib/qtstalker
19
@dirrm share/qtstalker/indicator
20
@dirrm share/qtstalker
21
@dirrmtry share/qt/etc

Return to bug 134341