Changes

Jump to navigation Jump to search
update portfile
name octave-local
version 3.7.0+
revision 710conflicts octave octave-devel
categories math science
maintainers michaelld openmaintainer
homepage http://www.gnu.org/software/octave/
master_sites httpgnu://alpha.gnu.org/gnu/octave/
dist_subdir octave
distname octave-${version}
checksums md5 a9849cbead1c6f02a25a22a3142d1c1c 6e4717edea2f64900071a46ba49948c0 \ sha1 1ee3fcdfcdcea91b4859191f8e4664ca7965943f 65592138d92eb5db2d15425f9e6c5ffe258cae48 \ rmd160 2136309873c105bd9b06e01ed5726a4a281074f426b55a770b5c622aa1209558b674e9f33092d610
depends_build port:bison \
port:hdf5-18 \
port:less \
port:metis \
port:ncurses \
port:pcre \
configure.args --disable-dependency-tracking \
--without-x \
--with-framework-carbon \
--disable-docs \
--with-cholmod="-lcholmod"
configure.awk ${prefix}/bin/gawk
configure.env-append GREP="${prefix}/bin/grep" \
FLTK_CONFIG=no \
SED="${prefix}/bin/gsed" \
TEXI2DVI="${prefix}/bin/texi2dvi" \
configure.cxxflags -O0 -ggdb3 -D_THREAD_SAFE -pthread -gstabs
configure.cflags -O0 -ggdb3 -D_THREAD_SAFE -pthread -gstabs
configure.fflags -O0 -ggdb3 -D_THREAD_SAFE -pthread -gstabs-funroll-loopsconfigure.ldflags -D_THREAD_SAFE -pthread
test.run yes
variant accelerate description {use BLAS from Apple's Accelerate.framework} conflicts atlas {
depends_lib-append port:dotwrp
configure.args-append --with-blas="-ldotwrp -Wl,-framework -Wl,Accelerate" configure.args-append --with-lapack="-Wl,-framework -Wl,Accelerate"
}
# check for setting the default variant (gcc44)
if { ![variant_isset gcc43] && ![variant_isset gcc44] && \
![variant_isset gcc45] && ![variant_isset gcc46] && \ ![variant_isset g95] } { default_variants +gcc44gcc45
}
![variant_isset gcc45] && ![variant_isset gcc46] && \
![variant_isset g95] } {
pre-fetch { error "You cannot use must select one of the variant -gcc44 alonecompiler variants." }
}
if {${gcc_version} != ""} {
set gcc_version_join [join [split ${gcc_version} "."] ""]
configure.ldflags "${prefix}/lib/gcc${gcc_version_join}/libstdc++.6.dylib -pthread"
depends_build-append port:gcc${gcc_version_join}
configure.compiler macports-gcc-${gcc_version}
}
 
variant docs description {Enable creation and installation of documentation} {
depends_run-append port:texlive-basic
configure.args-replace s|--disable-docs|--enable-docs|
}
364

edits

Navigation menu