source: trunk/dports/math/fityk/Portfile @ 113329

Last change on this file since 113329 was 113329, checked in by mojca@…, 6 years ago

revbump the wxWidgets dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 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 113329 2013-11-13 16:53:30Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           app       1.0
6PortGroup           github    1.0
7PortGroup           wxWidgets 1.0
8
9# the released version has the extra complication that it needs to fetch cmpfit-1.2.tar.gz on the fly
10# other than that there is no reason not to use 1.2.1,
11# but maybe a special addition to version string is needed to make the version info more exact
12# github.setup        wojdyr fityk 1.2.1 v
13github.setup        wojdyr fityk d401afd128
14name                fityk
15version             1.2.1
16revision            2
17categories          math
18platforms           darwin
19license             GPL-2
20maintainers         nomaintainer
21
22description         fityk is for peak fitting.
23
24long_description    fityk is a program for nonlinear fitting of analytical \
25                    functions (especially peak-shaped) to data (usually \
26                    experimental data). There are also people using it to \
27                    remove the baseline from data, or to display data only.
28
29homepage            http://fityk.nieto.pl/
30
31checksums           rmd160  df90f35efd878c9b21659715159c40c4f21a39b2 \
32                    sha256  18cca305a151ef54051968bc055f2f36cd3588d67f9a8d19db538ee857d7617c
33
34# TODO: also apply http://wiki.wxwidgets.org/WxMac-specific_topics#My_app_can.27t_be_brought_to_the_front.21
35app.name            fityk
36app.executable      fityk
37app.icon            ${worksrcpath}/fityk.png
38
39wxWidgets.use       wxWidgets-3.0
40
41# WARNING: dvipng command 'dvipng' cannot be run (needed for math display), check the pngmath_dvipng setting
42depends_build-append port:swig-lua
43
44depends_lib         port:boost \
45                    port:readline \
46                    port:ncurses \
47                    port:xylib \
48                    port:lua \
49                    port:zlib \
50                    port:python27 \
51                    port:${wxWidgets.port}
52
53depends_run         port:gnuplot
54
55use_autoreconf      yes
56
57configure.args-append --with-wxdir=${wxWidgets.wxdir}
58
59pre-build {
60    if {[variant_isset docs]} {
61        depends_build-append port:py27-sphinx
62        # TODO: use a python PortGroup and variable
63        reinplace "s|sphinx-build|${prefix}/Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx-build|" ${worksrcpath}/doc/Makefile
64        system -W ${worksrcpath}/doc make
65    } else {
66        file mkdir ${worksrcpath}/doc/html/placeholder
67    }
68}
69
70variant docs description {Build and install documentation} {}
Note: See TracBrowser for help on using the repository browser.