source: trunk/dports/math/octave-devel/Portfile @ 146577

Last change on this file since 146577 was 146577, checked in by mcalhoun@…, 4 years ago

octave-devel, octave-devel-rc, octave-devel-release: move patchfiles that have been fixed upstream into subport block so they can be more easily removed later

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 21.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146577 2016-03-12 14:01:29Z mcalhoun@macports.org $
3
4PortSystem          1.0
5PortGroup           compilers  1.0
6PortGroup           muniversal 1.0
7PortGroup           active_variants 1.1
8PortGroup           select     1.0
9
10name                octave-devel
11categories          math science
12platforms           darwin
13license             GPL-3+
14maintainers         mcalhoun openmaintainer
15description         a high-level language for numerical computations
16long_description    \
17    GNU Octave is a high-level language, primarily intended for numerical \
18    computations.  It provides a convenient command line interface for \
19    solving linear and nonlinear problems numerically.
20
21homepage            http://www.gnu.org/software/octave
22
23#fetch.type          hg
24#hg.url              http://hg.savannah.gnu.org/hgweb/octave/
25
26set version_release 4.0.0
27set version_rc      4.0.1-rc3
28set version_tip     4.1.0+
29
30if { ${name} eq ${subport} } {
31    version         ${version_tip}
32    revision        4
33    hg.tag          12e98e5ebd13
34
35    # allow osmesa support to at least compile
36    patchfiles-append   \
37        osmesa_mac_fix.patch
38
39    # force "${prefix}/bin/octave-${version} --no-gui-libs" to call octave-cli-${version} instead of octave-cli
40    patchfiles-append   \
41        patch-append_version_cli.diff
42
43    checksums-append               \
44        ${hg.tag}${extract.suffix} \
45        rmd160  173e4f1376ebbbbce553162c7068f72b48ba67af \
46        sha256  8dcf8a3caaffee78492119b57b79981fd26e9c8330fa2ebc0cd219e504ffed81
47
48    livecheck.regex   "<a href=\"/hgweb/octave/rev/(\[a-zA-Z0-9.\]+)\">\ntip"
49}
50
51subport octave-devel-rc {
52    version         ${version_rc}
53    #revision        0
54    hg.tag          a58d5e6df908
55
56    if {${version_rc} eq ${version_release}} {
57        conflicts-append octave-devel-release
58    }
59
60    # see http://savannah.gnu.org/bugs/?func=detailitem&item_id=46592
61    patchfiles-append \
62        patch-e870a68742a6.diff
63
64    # allow osmesa support to at least compile
65    patchfiles-append   \
66        osmesa_mac_fix.patch
67
68    # force "${prefix}/bin/octave-${version} --no-gui-libs" to call octave-cli-${version} instead of octave-cli
69    patchfiles-append   \
70        patch-append_version_cli.diff
71
72    checksums-append               \
73        ${hg.tag}${extract.suffix} \
74        rmd160  5c6fe167b032eb318458a8223838e123f27525e4 \
75        sha256  90a99019216c612b6f3b1222915769ee8cc9f6a0016a10e4e0781b5510672545
76
77    livecheck.regex   "<a href=\"/hgweb/octave/rev/(\[a-zA-Z0-9.\]+)\">\nrc-"
78}
79
80subport octave-devel-release {
81    version         ${version_release}
82    revision        4
83    hg.tag          3ccc2d02e64b
84
85    if {${version_release} eq ${version_rc}} {
86        conflicts-append octave-devel-release
87    }
88
89    # see http://savannah.gnu.org/bugs/?41178
90    patchfiles-append \
91        octave-clang-classdef.patch
92
93    # see http://savannah.gnu.org/bugs/?func=detailitem&item_id=46592
94    patchfiles-append \
95        patch-e870a68742a6.diff
96
97    # allow osmesa support to at least compile
98    patchfiles-append   \
99        osmesa_mac_fix.patch
100
101    # force "${prefix}/bin/octave-${version} --no-gui-libs" to call octave-cli-${version} instead of octave-cli
102    patchfiles-append   \
103        patch-append_version_cli.diff
104
105    checksums-append               \
106        ${hg.tag}${extract.suffix} \
107        rmd160  4bbcc004ffdde859b0735e602aac2d01388d0b2c \
108        sha256  2a4017a03ca80c280b5d39cf88af8954c7bfdbf1b3b40b9f09d3bd4bd1dd6040
109
110    livecheck.regex   "<a href=\"/hgweb/octave/rev/(\[a-zA-Z0-9.\]+)\">\nrelease-"
111}
112
113select.group octave
114select.file  ${filespath}/${subport}
115
116# check http://hg.savannah.gnu.org/hgweb/octave/gnulib-hg/rev for latest version
117set hg_gnu_tag      7f19e7f2afa2
118
119checksums-append \
120    ${hg_gnu_tag}${extract.suffix} \
121    rmd160  9d906212fdb4201f8592da10524606dadb3f50e3 \
122    sha256  85add8ce0c53e8868d903c28c407d864ca54bd42e8d472e09b1a1bb4b105b741
123
124master_sites        http://hg.savannah.gnu.org/hgweb/octave/archive:octave \
125                    http://hg.savannah.gnu.org/hgweb/octave/gnulib-hg/archive:gnulib
126
127distfiles           \
128    ${hg.tag}${extract.suffix}:octave \
129    ${hg_gnu_tag}${extract.suffix}:gnulib
130
131worksrcdir          octave-${hg.tag}
132
133#depends_extract-append port:git
134post-extract {
135    # command from bootstrap script file
136    #system -W ${worksrcpath} "${prefix}/bin/git clone --depth 2 git://git.sv.gnu.org/gnulib gnulib-hg"
137    move ${worksrcpath}/../gnulib-hg-${hg_gnu_tag} ${worksrcpath}/gnulib-hg
138}
139
140# see http://savannah.gnu.org/bugs/?41027
141patchfiles-append   \
142    octave-bug_41027.patch
143
144# see http://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/stdio.in.h?id=d6176702c3ffb6c56e6620397470e1b3bd540b10
145patchfiles-append   \
146    patch-stdio.in.h.diff
147
148pre-patch {
149    # code located in pre-patch because variants from PortGroup compilers must
150    #    be evaluated before it can be determined if clang is being used
151
152    # see http://trac.macports.org/ticket/45011
153    # see http://savannah.gnu.org/bugs/?43298
154    set libcxxbug no
155    if { ${configure.cc} eq "/usr/bin/clang" && [lindex [split ${xcodeversion} .] 0] eq 6 } {
156        set libcxxbug yes
157    } elseif { [variant_exists clang35] && [variant_isset clang35] } {
158        set libcxxbug yes
159    }
160    if { ${libcxxbug} } {
161        patchfiles-append   \
162            clang-libcxx-fix.patch
163    }
164}
165
166# need for autoconf
167depends_build-append \
168    port:autoconf    \
169    port:automake    \
170    port:libtool
171
172use_autoconf         yes
173autoconf.cmd         ./bootstrap
174autoconf.args
175
176# avoid depends_build-append port:coreutils
177configure.env-append MKDIR_P="/bin/mkdir -p"
178
179# avoid depends_build-append port:cctools
180configure.env-append RANLIB=/usr/bin/ranlib
181
182# main octave port lists as a depends_lib
183# configure.ac list it among the "[p]rograms used in Makefiles"
184depends_build-append port:gawk
185configure.awk ${prefix}/bin/gawk
186
187# in configure.ac, said to be "[p]rograms used to generate icons file formats
188depends_build-append \
189    port:icoutils    \
190    port:librsvg
191configure.env-append              \
192    ICOTOOL=${prefix}/bin/icotool \
193    RSVG_CONVERT=${prefix}/bin/rsvg-convert
194
195# main octave port lists as a depends_lib
196# configure.ac list it among the "[p]rograms used in Makefiles"
197depends_build-append port:grep
198configure.env-append  GREP=${prefix}/bin/grep
199configure.env-append EGREP=${prefix}/bin/egrep
200configure.env-append FGREP=${prefix}/bin/fgrep
201
202# configure.ac list it among the "[p]rograms used in Makefiles"
203depends_build-append port:findutils
204configure.env-append FIND=${prefix}/bin/gfind
205
206# main octave port lists as a depends_lib
207# configure.ac list it among the "[p]rograms used in Makefiles"
208depends_build-append port:gsed
209configure.env-append SED=${prefix}/bin/gsed
210
211depends_build-append port:flex
212configure.env-append LEX=${prefix}/bin/flex
213
214depends_build-append port:bison
215configure.env-append YACC="${prefix}/bin/bison -y"
216
217depends_build-append port:gperf
218configure.env-append GPERF=/usr/bin/gperf
219
220# configure.ac list it among the "[p]rograms used in Makefiles"
221depends_build-append port:perl5
222configure.perl ${prefix}/bin/perl5
223
224# avoid depends_build-append port:desktop-file-utils
225#configure.env-append DESKTOP_FILE_INSTALL=""
226configure.env-append ac_cv_prog_DESKTOP_FILE_INSTALL=""
227
228depends_build-append \
229    port:pkgconfig
230
231compilers.choose    fc f77 f90 cc cxx
232
233# for now, limit the number of variants
234# some of these compilers may work fine
235compilers.setup     \
236    require_fortran \
237    -dragonegg      \
238    -gcc49          \
239    -gcc48          \
240    -gcc46          \
241    -gcc45          \
242    -gcc44          \
243    -g95            \
244    -llvm           \
245    -gcc47          \
246    -gcc46          \
247    -gcc45          \
248    -gcc44          \
249    -clang36        \
250    -clang35        \
251    -clang34        \
252    -clang33
253
254# help prevent conflicts with various octave ports
255configure.args-append \
256    --infodir=${prefix}/share/info/octave_${version}
257
258# offscreen rendering with OpenGL via osmesa would be nice to have, but the following
259#    causes a segmentation fault:
260#    h = figure ("visible", "off"); fn = tempname (); sombrero (); __osmesa_print__ (h, fn, "svg");
261#
262# solution is ???
263#
264#depends_lib-append port:mesa
265configure.args-append       \
266    --without-OSMesa
267
268#configure.args-append --with-shell=???
269
270configure.args-append       \
271    --with-framework-opengl \
272    --with-framework-carbon \
273    --without-x             \
274    --enable-static
275
276configure.args-append       \
277    --disable-openmp
278
279configure.args-append       \
280    --disable-java          \
281    --disable-gui           \
282    --without-fltk          \
283    --disable-jit           \
284    --without-sndfile       \
285    --without-portaudio     \
286    --without-magick        \
287    --disable-docs
288
289# in configure.ac, listed as one of "[p]rograms used when running Octave"
290depends_lib-append port:python27
291configure.python ${prefix}/bin/python2.7
292
293# in configure.ac, listed as one of "[p]rograms used when running Octave"
294depends_lib-append port:ghostscript
295configure.env-append GHOSTSCRIPT=${prefix}/bin/gs
296
297# in configure.ac, listed as one of "[p]rograms used when running Octave"
298depends_lib-append port:gnuplot
299configure.env-append GNUPLOT=${prefix}/bin/gnuplot
300
301# in configure.ac, listed as one of "[p]rograms used when running Octave"
302depends_lib-append port:less
303configure.env-append DEFAULT_PAGER=${prefix}/bin/less
304
305depends_lib-append   port:ncurses
306depends_lib-append   port:readline
307depends_lib-append   port:fontconfig
308depends_lib-append   port:pcre
309
310#--without-amd
311#--without-camd
312#--without-colamd
313#--without-cholmod
314#--without-cxsparse
315#--without-umfpack
316depends_lib-append  port:SuiteSparse
317foreach lib {amd camd colamd cholmod cxsparse umfpack} {
318    configure.args-append \
319        --with-${lib}="-l${lib} -lsuitesparseconfig"
320}
321
322#--without-qhull
323depends_lib-append  port:qhull
324
325#--without-z
326depends_lib-append  port:zlib
327
328#--without-hdf5
329depends_lib-append  port:hdf5
330
331#--disable-fftw-threads
332#--without-fftw3
333#--without-fftw3f
334depends_lib-append  port:fftw-3
335depends_lib-append  port:fftw-3-single
336
337#--without-glpk
338depends_lib-append  port:glpk
339
340#--without-curl
341depends_lib-append  port:curl
342
343#--without-qrupdate
344depends_lib-append port:qrupdate
345
346#--without-arpack
347depends_lib-append port:arpack
348
349#--without-openssl
350depends_lib-append port:openssl
351
352# fortran arch flag is not set automatically
353if {![variant_isset universal]} {
354    if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
355        configure.fflags-append -m64
356    } else {
357        configure.fflags-append -m32
358    }
359}
360
361# see etc/README.MacOS
362depends_run-append   \
363    port:epstool     \
364    port:ghostscript \
365    port:transfig    \
366    port:pstoedit
367
368depends_run-append port:octave_select
369
370variant accelerate description {use BLAS from Apple's Accelerate.framework} conflicts atlas openblas {
371    depends_lib-append port:vecLibFort
372
373    # dependents must be built with same BLAS and LAPACK
374    #require_active_variants port:arpack      accelerate
375    #require_active_variants port:SuiteSparse accelerate
376    #require_active_variants port:qrupdate    accelerate
377
378    configure.args-append        \
379        --with-blas=-lvecLibFort \
380        --with-lapack=""
381}
382
383variant openblas description {use BLAS from MacPorts' openblas port} conflicts atlas accelerate {
384
385    depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
386    # LAPACK required
387    require_active_variants path:lib/libopenblas.dylib:OpenBLAS lapack
388
389    # dependents must be built with same BLAS and LAPACK
390    #require_active_variants port:arpack      openblas
391    #require_active_variants port:SuiteSparse openblas
392    #require_active_variants port:qrupdate    openblas
393
394    # replicate default values if configure script finds openblas on its own
395    configure.args-append        \
396        --with-blas=-lopenblas   \
397        --with-lapack=""
398}
399
400variant atlas description {use BLAS from MacPorts' atlas port} conflicts accelerate openblas {
401    depends_lib-append port:atlas
402
403    # dependents must be built with same BLAS and LAPACK
404    #require_active_variants port:arpack      atlas
405    #require_active_variants port:SuiteSparse atlas
406    #require_active_variants port:qrupdate    atlas
407
408    # replicate default values if configure script finds atlas on its own
409    configure.args-append        \
410        --with-blas="-lcblas -lf77blas -latlas" \
411        --with-lapack=-llapack
412}
413
414if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
415    default_variants-append +accelerate
416}
417
418if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
419    ui_error "\n\nYou must select either the +accelerate, +atlas, or +openblas variant.\n"
420    return -code error "Invalid variant selection"
421}
422
423variant java description {enable Java interface} {
424    PortGroup java 1.0
425    configure.args-replace --disable-java --enable-java
426}
427default_variants-append +java
428
429variant qt4gui description {build the GUI using Qt4} {
430    PortGroup qt4 1.0
431    depends_lib-append  port:qscintilla
432    configure.args-replace --disable-gui --enable-gui
433}
434default_variants-append +qt4gui
435
436variant fltk description {enable fltk as a graphics toolkit for plotting} {
437    depends_lib-append path:lib/libfltk.dylib:fltk
438
439    # as of version 4.1.0+ revision 0:
440    #    without fltk, configure script turns off "native_graphics," and
441    #       does not look for either freetype or gl2ps
442    #    it still looks for and links against fontconfig, however
443    depends_lib-append \
444        port:freetype  \
445        port:gl2ps
446
447    configure.args-replace --without-fltk --with-fltk
448}
449default_variants-append +fltk
450
451variant jit description {enable JIT compiler (EXPERIMENTAL)} {
452    # JIT requires LLVM, so select a version to use
453    set llvm_ver 3.7
454
455    # prevent multiple versions of llvm being required
456    # if clangXY compiler is requested, use llvm-X.Y
457    foreach clang ${compilers.clang_variants} {
458        if { [variant_exists ${clang}] && [variant_isset ${clang}] } {
459            set llvm_ver [string index ${clang} end-1].[string index ${clang} end]
460        }
461    }
462
463    depends_lib-append port:llvm-${llvm_ver}
464    configure.args-replace --disable-jit --enable-jit
465    configure.env-append LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_ver}
466    configure.cxxflags-append -std=c++11
467}
468
469if {[variant_isset fltk] && [variant_isset qt4gui]} {
470    notes-append "unless octave is run with --no-gui-libs, graphics_toolkit(\"fltk\") will cause a crash"
471}
472
473variant sound description {enable audio support (file I/O and playback)} {
474    depends_lib-append port:libsndfile
475    depends_lib-append port:portaudio
476
477    configure.args-replace --without-sndfile   --with-sndfile
478    configure.args-replace --without-portaudio --with-portaudio
479}
480default_variants-append +sound
481
482variant app description "build application bundle to launch ${subport}" {
483    depends_build-append port:ImageMagick
484
485    global appName
486    set appName Octave_${version}.app
487
488    post-build {
489        xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents
490        xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/Resources
491        xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/MacOS
492
493        set script [open "${worksrcpath}/${appName}/Contents/MacOS/Octave" w 0755]
494        if { [variant_isset qt4gui] } {
495            puts ${script} "#!/bin/sh"
496            puts ${script} ""
497            puts ${script} "${prefix}/bin/octave-${version} --force-gui"
498        } else {
499            puts ${script} "#!/usr/bin/osascript"
500            puts ${script} ""
501            puts ${script} "tell application \"Terminal\" to do script \"${prefix}/bin/octave-${version} --no-gui-libs; exit\""
502        }
503        close ${script}
504
505        #NSHumanReadableCopyright      ''
506        #LSUIElement                   1
507        set values "
508            CFBundleDevelopmentRegion     English
509            CFBundleExecutable            Octave
510            CFBundleIconFile              Octave.icns
511            CFBundleDocumentTypes         {-array \'{\"CFBundleTypeExtensions\" = (\"m\"); \"CFBundleTypeOSTypes\" = (\"Mfile\"); \"CFBundleTypeRole\" = \"Editor\";}\'}
512            CFBundleIdentifier            org.octave.Octave
513            CFBundleInfoDictionaryVersion 6.0
514            CFBundleSignature             Octave
515            CFBundleVersion               ${version}
516            CFBundleShortVersionString    ${version}
517        "
518        foreach {key value} ${values} {
519            system "/usr/bin/defaults write ${worksrcpath}/${appName}/Contents/Info ${key} ${value}"
520        }
521
522        # have Info.plist be human readable
523        system "/usr/bin/plutil -convert xml1 ${worksrcpath}/${appName}/Contents/Info.plist"
524
525        # conversion by plutil set verys limited permissions
526        system "/bin/chmod 0644 ${worksrcpath}/${appName}/Contents/Info.plist"
527
528        xinstall -d -m 0755 ${worksrcpath}/Octave.iconset
529
530        # values from original SVG file
531        set svg    etc/icons/octave-logo.svg
532        set width  283.28912
533        set height 283.28833
534        set dpi    90
535
536        foreach res {16 32 128 256 512} {
537
538            set hres [expr 2*${res}]
539
540            # find new density so that converted PNG files do not look pixelated
541            set denw  [expr ${dpi}*${res}/${width}]
542            set denh  [expr ${dpi}*${res}/${height}]
543
544            set hdenw [expr 2*${denw}]
545            set hdenh [expr 2*${denh}]
546
547            system -W ${worksrcpath} "${prefix}/bin/convert -background transparent -resize ${res}x${res}   -density ${denw}x${denh}   ${svg} Octave.iconset/icon_${res}x${res}.png"
548            system -W ${worksrcpath} "${prefix}/bin/convert -background transparent -resize ${hres}x${hres} -density ${hdenw}x${hdenh} ${svg} Octave.iconset/icon_${res}x${res}@2x.png"
549        }
550
551        system -W ${worksrcpath} "/usr/bin/iconutil -c icns -o ${appName}/Contents/Resources/Octave.icns Octave.iconset"
552    }
553
554    post-destroot {
555        copy ${worksrcpath}/${appName} ${destroot}${applications_dir}
556    }
557}
558default_variants-append +app
559
560variant docs description {build documentation files} {
561    depends_build-append port:texinfo
562    configure.env-append                \
563        MAKEINFO=${prefix}/bin/makeinfo \
564        TEXI2DVI=${prefix}/bin/texi2dvi \
565        TEXI2PDF=${prefix}/bin/texi2pdf
566
567    # see https://lists.macosforge.org/pipermail/macports-dev/2016-January/032293.html
568    depends_build-append \
569        port:texlive-basic \
570        port:texlive-latex
571
572    configure.args-replace --disable-docs --enable-docs
573}
574default_variants-append +docs
575
576# GraphicsMagick and octave need to be built with the same C++ standard library
577# or else undefined symbols:
578#    "Magick::Image::ping(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)"
579set magickConflict {}
580set magickDefault yes
581if {${configure.cxx_stdlib} ne "libstdc++"} {
582    foreach gccVar ${compilers.gcc_variants} {
583        if {[variant_exists ${gccVar}] } {
584            lappend magickConflict ${gccVar}
585
586            if {[variant_isset ${gccVar}] } {
587                set magickDefault no
588            }
589        }
590    }
591}
592eval "variant graphicsmagick description {use GraphicsMagick for image I/O} conflicts ${magickConflict} {
593    depends_lib-append port:GraphicsMagick
594    configure.args-replace --without-magick --with-magick=GraphicsMagick
595}"
596if {${magickDefault}} {
597    default_variants-append +graphicsmagick
598}
599
600# remove architecture flags from header file
601if { [variant_exists universal] && [variant_isset universal] } {
602    merger-post-destroot {
603        foreach arch ${universal_archs_to_use} {
604            set hfile ${destroot}-${arch}${prefix}/include/octave-${version}/octave/oct-conf.h
605            reinplace "s:-arch ${arch}::g"   ${hfile}
606            reinplace {s:-m32::g}            ${hfile}
607            reinplace {s:-m64::g}            ${hfile}
608        }
609    }
610} else {
611    post-destroot {
612        set hfile ${destroot}${prefix}/include/octave-${version}/octave/oct-conf.h
613        reinplace "s:-arch ${build_arch}::g" ${hfile}
614        reinplace {s:-m32::g}                ${hfile}
615        reinplace {s:-m64::g}                ${hfile}
616    }
617}
618
619# remove or rename conflicting files
620post-destroot {
621    foreach bin {mkoctfile octave octave-cli octave-config} {
622        # delete since just a link to versioned name
623        file delete ${destroot}${prefix}/bin/${bin}
624
625        if { [variant_isset docs] } {
626            # put version number in man file to avoid conflict
627            move ${destroot}${prefix}/share/man/man1/${bin}.1 ${destroot}${prefix}/share/man/man1/${bin}-${version}.1
628        }
629    }
630
631    # put any startup commands in ${destroot}${prefix}/share/octave/${version}/m/startup/octaverc
632    # see https://www.gnu.org/software/octave/doc/interpreter/Startup-Files.html
633    file delete ${destroot}${prefix}/share/octave/site/m/startup/octaverc
634
635    # move appdata and icons into a versioned directory
636    xinstall -d -m 0755 ${destroot}${prefix}/share/octave/${version}/appdata
637    move \
638        ${destroot}${prefix}/share/appdata/www.octave.org-octave.appdata.xml \
639        ${destroot}${prefix}/share/octave/${version}/appdata/
640    foreach num {16 22 24 32 48 64 128 256 512} {
641        xinstall -d -m 0755 -p ${destroot}${prefix}/share/octave/${version}/icons/hicolor/${num}x${num}/apps
642        move \
643            ${destroot}${prefix}/share/icons/hicolor/${num}x${num}/apps/octave.png \
644            ${destroot}${prefix}/share/octave/${version}/icons/hicolor/${num}x${num}/apps/octave.png
645    }
646    xinstall -d -m 0755 -p ${destroot}${prefix}/share/octave/${version}/icons/hicolor/scalable/apps
647    move \
648        ${destroot}${prefix}/share/icons/hicolor/scalable/apps/octave.svg \
649        ${destroot}${prefix}/share/octave/${version}/icons/hicolor/scalable/apps/octave.svg
650}
651
652test.run    yes
653test.target check
654
655livecheck.type    regexm
656livecheck.url     http://hg.savannah.gnu.org/hgweb/octave/tags
657livecheck.version ${hg.tag}
Note: See TracBrowser for help on using the repository browser.