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

(-)math/blitz++/Makefile (-21 / +27 lines)
Lines 2-42 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	blitz++
4
PORTNAME=	blitz++
5
PORTVERSION=	0.9
5
PORTVERSION=	1.0.1
6
PORTREVISION=	9
7
CATEGORIES=	math
6
CATEGORIES=	math
8
MASTER_SITES=	SF/blitz/blitz/Blitz%2B%2B%20${PORTVERSION}
9
DISTNAME=	blitz-${PORTVERSION}
10
7
11
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	C++ class library for scientific computing
9
COMMENT=	C++ class library for scientific computing
13
10
11
LICENSE=	GPLv3 BSD3CLAUSE
12
LICENSE_COMB=	multi
13
14
BROKEN_FreeBSD_12=	fails to compile: ../blitz/blitz.h:58:12: 'iostream.h' file not found
14
BROKEN_FreeBSD_12=	fails to compile: ../blitz/blitz.h:58:12: 'iostream.h' file not found
15
15
16
GNU_CONFIGURE=	yes
17
USES=		gmake libtool pathfix python
18
USE_LDCONFIG=	yes
19
CONFIGURE_ARGS=	--enable-shared CXX_OPTIMIZE_FLAGS="${CFLAGS}"
20
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	blitzpp
23
GH_PROJECT=	blitz
24
25
PORTDOCS=	AUTHORS ChangeLog* LEGAL README NEWS \
26
		README.binutils TODO doc/*.txt
27
16
OPTIONS_DEFINE=	DOCS
28
OPTIONS_DEFINE=	DOCS
17
29
OPTIONS_SUB=	yes
18
DOCS_USE=	TEX=dvipsk,formats
19
DOCS_USES=	makeinfo
20
DOCS_INFO=	blitz
30
DOCS_INFO=	blitz
21
DOCS_BUILD_DEPENDS=	texi2dvi:print/texinfo \
31
DOCS_SUB_PLIST=	""
22
			texi2html:textproc/texi2html
23
DOCS_MAKE_ARGS_OFF=	NOPORTDOCS=yes
24
32
25
GNU_CONFIGURE=	yes
26
USES=	libtool pathfix gmake
27
CONFIGURE_ARGS=	--with-cxx=gcc --disable-doxygen --enable-shared
28
MAKE_ARGS+=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
29
		AUTOHEADER="${TRUE}"
30
MAKE_JOBS_UNSAFE=	yes
31
INSTALL_TARGET=	install-strip
33
INSTALL_TARGET=	install-strip
32
34
33
DOCSDIR=	${PREFIX}/share/doc/blitz
34
35
USE_LDCONFIG=	yes
36
37
post-patch:
35
post-patch:
38
	@${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
36
	@${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
39
		 s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \
37
		 s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \
40
		 s|-O2||g' ${WRKSRC}/configure
38
		 s|-O3|-O2|g ; s|-funroll-loops||g' ${WRKSRC}/configure
39
	${REINPLACE_CMD} -e 's,python,${PYTHON_CMD},' ${WRKSRC}/blitz/generate/Makefile.in
41
40
41
do-install-DOCS-on:
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
44
45
post-install:
46
	@${RM} -r ${STAGEDIR}${PREFIX}/share/doc/blitz-0.10
47
42
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)math/blitz++/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (blitz-0.9.tar.gz) = 88b7c5e062b06767d04511776cf706316026b9357b128e126be88935626d2bcb
1
TIMESTAMP = 1534896128
2
SIZE (blitz-0.9.tar.gz) = 3124301
2
SHA256 (blitzpp-blitz-1.0.1_GH0.tar.gz) = b62fc3f07b64b264307b01fec5e4f2793e09a68dcb5378984aedbc2e4b3adcef
3
SIZE (blitzpp-blitz-1.0.1_GH0.tar.gz) = 4645082
(-)math/blitz++/files/patch-Makefile.in (-15 lines)
Lines 1-15 Link Here
1
--- Makefile.in.orig	Fri Jan 20 18:04:40 2006
2
+++ Makefile.in	Fri Jan 20 18:05:51 2006
3
@@ -291,8 +291,11 @@
4
 target_vendor = @target_vendor@
5
 ACLOCAL_AMFLAGS = -I m4
6
 @FORTRAN_ENABLED_TRUE@FORTRAN_DIRS = benchmarks
7
+ifndef NOPORTDOCS
8
+DOCS = doc
9
+endif
10
 SUBDIRS = bin blitz random lib testsuite \
11
-	examples $(FORTRAN_DIRS) doc
12
+	examples $(FORTRAN_DIRS) $(DOCS)
13
 
14
 EXTRA_DIST = LEGAL LICENSE README.binutils README-VS.NET.txt Blitz-VS.NET.zip \
15
 	ChangeLog.1 
(-)math/blitz++/files/patch-doc-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- ./doc/Makefile.in.orig	Tue Feb 22 18:26:53 2005
2
+++ doc/Makefile.in	Tue Feb 22 18:27:14 2005
3
@@ -275,7 +275,7 @@ target_vendor = @target_vendor@
4
 SUBDIRS = examples stencils doxygen
5
 
6
 # install these files
7
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
8
+docdir = $(datadir)/doc/$(PACKAGE)
9
 doc_DATA = blitz.ps blitz.pdf blitz.html \
10
 	blitz_abt.html blitz_fot.html blitz_ovr.html blitz_toc.html \
11
 	blitz_1.html blitz_2.html blitz_3.html blitz_4.html blitz_5.html \
(-)math/blitz++/files/patch-doc-arrays-expr.texi (-16 lines)
Lines 1-16 Link Here
1
--- doc/arrays-expr.texi.orig	2003-01-21 11:01:03 UTC
2
+++ doc/arrays-expr.texi
3
@@ -714,13 +714,8 @@ Computes the error function:  
4
 @tex
5
 $$ {\rm erf}(x) = {2\over\sqrt\pi}\int_{0}^{x} e^{-t^2} dt $$
6
 @end tex
7
-@html
8
-@erf(x) = 2/sqrt(Pi) * integral(exp(-t^2), t=0..x)
9
-@end html
10
 @ifnottex
11
-@ifnothtml
12
 @math{@r{erf}(x) = 2/@r{sqrt}(Pi) * @r{integral}(@r{exp}(-t^2), t=0..x)}
13
-@end ifnothtml
14
 @end ifnottex
15
 
16
 Note that for large values of the parameter, calculating can result in
(-)math/blitz++/files/patch-doc-blitz.texi (-11 lines)
Lines 1-11 Link Here
1
--- doc/blitz.texi.orig	Sat Oct 16 08:05:00 2004
2
+++ doc/blitz.texi	Tue Feb 22 23:32:57 2005
3
@@ -13,7 +13,7 @@
4
 
5
 @dircategory Blitz++ library
6
 @direntry
7
-* Blitz++: (blitz++).           High-performance C++ numeric library
8
+* Blitz++: (blitz).           High-performance C++ numeric library
9
 @end direntry
10
 
11
 
(-)math/blitz++/files/patch-doc-doxygen-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- ./doc/doxygen/Makefile.in.orig	Tue Feb 22 18:32:47 2005
2
+++ ./doc/doxygen/Makefile.in	Tue Feb 22 18:33:07 2005
3
@@ -244,7 +244,7 @@ target_alias = @target_alias@
4
 target_cpu = @target_cpu@
5
 target_os = @target_os@
6
 target_vendor = @target_vendor@
7
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/doxygen
8
+docdir = $(datadir)/doc/$(PACKAGE)/doxygen
9
 DISTCLEANFILES = Doxyfile doxygen-warning 
10
 all: all-am
11
 
(-)math/blitz++/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
achieve high performance. The current versions provide dense arrays and
3
achieve high performance. The current versions provide dense arrays and
4
vectors, random number generators, and small vectors and matrices.
4
vectors, random number generators, and small vectors and matrices.
5
5
6
WWW: http://www.oonumerics.org/blitz/
6
WWW: https://github.com/blitzpp/blitz
(-)math/blitz++/pkg-plist (-101 / +30 lines)
Lines 1-9 Link Here
1
include/blitz/applics.h
2
include/blitz/array-impl.h
1
include/blitz/array-impl.h
3
include/blitz/array-old.h
2
include/blitz/array.cc
4
include/blitz/array.h
3
include/blitz/array.h
4
include/blitz/array/asexpr.cc
5
include/blitz/array/asexpr.h
5
include/blitz/array/asexpr.h
6
include/blitz/array/bops.cc
7
include/blitz/array/cartesian.h
6
include/blitz/array/cartesian.h
8
include/blitz/array/cgsolve.h
7
include/blitz/array/cgsolve.h
9
include/blitz/array/complex.cc
8
include/blitz/array/complex.cc
Lines 12-18 Link Here
12
include/blitz/array/cycle.cc
11
include/blitz/array/cycle.cc
13
include/blitz/array/domain.h
12
include/blitz/array/domain.h
14
include/blitz/array/et.h
13
include/blitz/array/et.h
15
include/blitz/array/eval.cc
14
include/blitz/array/expr.cc
16
include/blitz/array/expr.h
15
include/blitz/array/expr.h
17
include/blitz/array/fastiter.h
16
include/blitz/array/fastiter.h
18
include/blitz/array/funcs.h
17
include/blitz/array/funcs.h
Lines 36-47 Link Here
36
include/blitz/array/shape.h
35
include/blitz/array/shape.h
37
include/blitz/array/slice.h
36
include/blitz/array/slice.h
38
include/blitz/array/slicing.cc
37
include/blitz/array/slicing.cc
38
include/blitz/array/stencil-classes.cc
39
include/blitz/array/stencil-et-macros.h
39
include/blitz/array/stencil-et.h
40
include/blitz/array/stencil-et.h
40
include/blitz/array/stencilops.h
41
include/blitz/array/stencilops.h
41
include/blitz/array/stencils.cc
42
include/blitz/array/stencils.cc
42
include/blitz/array/stencils.h
43
include/blitz/array/stencils.h
43
include/blitz/array/storage.h
44
include/blitz/array/storage.h
44
include/blitz/array/uops.cc
45
include/blitz/array/where.h
45
include/blitz/array/where.h
46
include/blitz/array/zip.h
46
include/blitz/array/zip.h
47
include/blitz/bench.cc
47
include/blitz/bench.cc
Lines 49-78 Link Here
49
include/blitz/benchext.cc
49
include/blitz/benchext.cc
50
include/blitz/benchext.h
50
include/blitz/benchext.h
51
include/blitz/blitz.h
51
include/blitz/blitz.h
52
include/blitz/bounds.h
52
include/blitz/bzconfig.h
53
include/blitz/bzconfig.h
53
include/blitz/bzdebug.h
54
include/blitz/bzdebug.h
54
include/blitz/compiler.h
55
include/blitz/compiler.h
56
include/blitz/constpointerstack.h
57
include/blitz/et-forward.h
55
include/blitz/etbase.h
58
include/blitz/etbase.h
56
include/blitz/extremum.h
57
include/blitz/funcs.h
59
include/blitz/funcs.h
60
include/blitz/globeval.cc
58
include/blitz/gnu/bzconfig.h
61
include/blitz/gnu/bzconfig.h
59
include/blitz/indexexpr.h
62
include/blitz/indexexpr.h
63
include/blitz/indexmap-forward.h
64
include/blitz/levicivita.h
60
include/blitz/limits-hack.h
65
include/blitz/limits-hack.h
61
include/blitz/listinit.h
66
include/blitz/listinit.h
62
include/blitz/matbops.h
63
include/blitz/matdiag.h
64
include/blitz/matexpr.h
65
include/blitz/matgen.h
66
include/blitz/mathf2.h
67
include/blitz/mathfunc.h
68
include/blitz/matltri.h
69
include/blitz/matref.h
70
include/blitz/matrix.cc
71
include/blitz/matrix.h
72
include/blitz/matsymm.h
73
include/blitz/mattoep.h
74
include/blitz/matuops.h
75
include/blitz/matutri.h
76
include/blitz/memblock.cc
67
include/blitz/memblock.cc
77
include/blitz/memblock.h
68
include/blitz/memblock.h
78
include/blitz/meta/dot.h
69
include/blitz/meta/dot.h
Lines 84-155 Link Here
84
include/blitz/meta/sum.h
75
include/blitz/meta/sum.h
85
include/blitz/meta/vecassign.h
76
include/blitz/meta/vecassign.h
86
include/blitz/minmax.h
77
include/blitz/minmax.h
87
include/blitz/mstruct.h
88
include/blitz/numinquire.h
78
include/blitz/numinquire.h
89
include/blitz/numtrait.h
79
include/blitz/numtrait.h
90
include/blitz/ops.h
80
include/blitz/ops.h
91
include/blitz/prettyprint.h
81
include/blitz/prettyprint.h
92
include/blitz/promote-old.h
93
include/blitz/promote.h
82
include/blitz/promote.h
94
include/blitz/rand-dunif.h
83
include/blitz/range.cc
95
include/blitz/rand-mt.h
96
include/blitz/rand-normal.h
97
include/blitz/rand-tt800.h
98
include/blitz/rand-uniform.h
99
include/blitz/random.h
100
include/blitz/randref.h
101
include/blitz/range.h
84
include/blitz/range.h
85
include/blitz/ranks.h
102
include/blitz/reduce.h
86
include/blitz/reduce.h
103
include/blitz/shapecheck.h
87
include/blitz/shapecheck.h
88
include/blitz/simdtypes.h
104
include/blitz/tau.h
89
include/blitz/tau.h
105
include/blitz/timer.h
90
include/blitz/timer.h
106
include/blitz/tiny.h
91
include/blitz/tinymat2.cc
107
include/blitz/tinymat.h
92
include/blitz/tinymat2.h
108
include/blitz/tinymatexpr.h
93
include/blitz/tinymat2io.cc
109
include/blitz/tinymatio.cc
94
include/blitz/tinyvec2.cc
110
include/blitz/tinyvec-et.h
95
include/blitz/tinyvec2.h
111
include/blitz/tinyvec.cc
96
include/blitz/tinyvec2io.cc
112
include/blitz/tinyvec.h
97
include/blitz/tm2fastiter.h
113
include/blitz/tinyvecio.cc
98
include/blitz/tmevaluate.h
114
include/blitz/tinyveciter.h
115
include/blitz/traversal.cc
99
include/blitz/traversal.cc
116
include/blitz/traversal.h
100
include/blitz/traversal.h
117
include/blitz/tuning.h
101
include/blitz/tuning.h
102
include/blitz/tv2fastiter.h
118
include/blitz/tvcross.h
103
include/blitz/tvcross.h
119
include/blitz/tvecglobs.h
104
include/blitz/tvecglobs.h
105
include/blitz/tvevaluate.h
120
include/blitz/update.h
106
include/blitz/update.h
121
include/blitz/vecaccum.cc
122
include/blitz/vecall.cc
123
include/blitz/vecany.cc
124
include/blitz/vecbfn.cc
125
include/blitz/vecbops.cc
126
include/blitz/veccount.cc
127
include/blitz/vecdelta.cc
128
include/blitz/vecdot.cc
129
include/blitz/vecexpr.h
130
include/blitz/vecexprwrap.h
131
include/blitz/vecglobs.cc
132
include/blitz/vecglobs.h
133
include/blitz/vecio.cc
134
include/blitz/veciter.h
135
include/blitz/vecmax.cc
136
include/blitz/vecmin.cc
137
include/blitz/vecnorm.cc
138
include/blitz/vecnorm1.cc
139
include/blitz/vecpick.cc
140
include/blitz/vecpick.h
141
include/blitz/vecpickio.cc
142
include/blitz/vecpickiter.h
143
include/blitz/vecsum.cc
144
include/blitz/vector-et.h
145
include/blitz/vector.cc
146
include/blitz/vector.h
147
include/blitz/vecuops.cc
148
include/blitz/vecwhere.cc
149
include/blitz/vecwhere.h
150
include/blitz/wrap-climits.h
107
include/blitz/wrap-climits.h
151
include/blitz/zero.cc
152
include/blitz/zero.h
153
include/random/F.h
108
include/random/F.h
154
include/random/beta.h
109
include/random/beta.h
155
include/random/chisquare.h
110
include/random/chisquare.h
Lines 158-163 Link Here
158
include/random/exponential.h
113
include/random/exponential.h
159
include/random/gamma.h
114
include/random/gamma.h
160
include/random/mt.h
115
include/random/mt.h
116
include/random/mtparam.cc
161
include/random/normal.h
117
include/random/normal.h
162
include/random/uniform.h
118
include/random/uniform.h
163
lib/libblitz.a
119
lib/libblitz.a
Lines 165-199 Link Here
165
lib/libblitz.so.0
121
lib/libblitz.so.0
166
lib/libblitz.so.0.0.0
122
lib/libblitz.so.0.0.0
167
libdata/pkgconfig/blitz.pc
123
libdata/pkgconfig/blitz.pc
168
libdata/pkgconfig/blitz-uninstalled.pc
124
%%PORTDOCS%%%%DOCSDIR%%/indirect.txt
169
%%PORTDOCS%%%%DOCSDIR%%/blitz.gif
125
%%PORTDOCS%%%%DOCSDIR%%/sinsoid.txt
170
%%PORTDOCS%%%%DOCSDIR%%/blitz.html
126
%%PORTDOCS%%%%DOCSDIR%%/slice.txt
171
%%PORTDOCS%%%%DOCSDIR%%/blitz.pdf
127
%%PORTDOCS%%%%DOCSDIR%%/strideslice.txt
172
%%PORTDOCS%%%%DOCSDIR%%/blitz.ps
128
%%PORTDOCS%%%%DOCSDIR%%/tensor1.txt
173
%%PORTDOCS%%%%DOCSDIR%%/blitz_1.html
174
%%PORTDOCS%%%%DOCSDIR%%/blitz_10.html
175
%%PORTDOCS%%%%DOCSDIR%%/blitz_11.html
176
%%PORTDOCS%%%%DOCSDIR%%/blitz_12.html
177
%%PORTDOCS%%%%DOCSDIR%%/blitz_13.html
178
%%PORTDOCS%%%%DOCSDIR%%/blitz_14.html
179
%%PORTDOCS%%%%DOCSDIR%%/blitz_15.html
180
%%PORTDOCS%%%%DOCSDIR%%/blitz_16.html
181
%%PORTDOCS%%%%DOCSDIR%%/blitz_2.html
182
%%PORTDOCS%%%%DOCSDIR%%/blitz_3.html
183
%%PORTDOCS%%%%DOCSDIR%%/blitz_4.html
184
%%PORTDOCS%%%%DOCSDIR%%/blitz_5.html
185
%%PORTDOCS%%%%DOCSDIR%%/blitz_6.html
186
%%PORTDOCS%%%%DOCSDIR%%/blitz_7.html
187
%%PORTDOCS%%%%DOCSDIR%%/blitz_8.html
188
%%PORTDOCS%%%%DOCSDIR%%/blitz_9.html
189
%%PORTDOCS%%%%DOCSDIR%%/blitz_abt.html
190
%%PORTDOCS%%%%DOCSDIR%%/blitz_fot.html
191
%%PORTDOCS%%%%DOCSDIR%%/blitz_ovr.html
192
%%PORTDOCS%%%%DOCSDIR%%/blitz_toc.html
193
%%PORTDOCS%%%%DOCSDIR%%/blitztiny.jpg
194
%%PORTDOCS%%%%DOCSDIR%%/indirect.gif
195
%%PORTDOCS%%%%DOCSDIR%%/sinsoid.gif
196
%%PORTDOCS%%%%DOCSDIR%%/slice.gif
197
%%PORTDOCS%%%%DOCSDIR%%/strideslice.gif
198
%%PORTDOCS%%%%DOCSDIR%%/tensor1.gif
199
@comment @dir %%DOCSDIR%%/doxygen

Return to bug 230833