source: trunk/dports/math/fityk/Portfile

Last change on this file was 140508, checked in by ryandesign@…, 2 years ago

fityk: update to 1.3.0, which includes lua 5.3 support (#48936); use release tarball

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 140508 2015-09-21 11:39:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           app       1.0
6PortGroup           github    1.0
7PortGroup           wxWidgets 1.0
8
9github.setup        wojdyr fityk 1.3.0 v
10name                fityk
11categories          math
12platforms           darwin
13license             GPL-2
14maintainers         nomaintainer
15
16description         fityk is for peak fitting.
17
18long_description    fityk is a program for nonlinear fitting of analytical \
19                    functions (especially peak-shaped) to data (usually \
20                    experimental data). There are also people using it to \
21                    remove the baseline from data, or to display data only.
22
23homepage            http://fityk.nieto.pl/
24github.tarball_from releases
25use_bzip2           yes
26
27checksums           rmd160  9cafda668ccd0f0c6a7b4b060dd6156e48e155be \
28                    sha256  7f5d94b02aa87060c52677c373f95c7ef401a1002ca20cce963b07f3c90ee3b9
29
30app.name            fityk
31app.executable      fityk
32app.icon            ${worksrcpath}/fityk.png
33
34wxWidgets.use       wxWidgets-3.0
35
36# WARNING: dvipng command 'dvipng' cannot be run (needed for math display), check the pngmath_dvipng setting
37depends_build-append port:swig-lua
38
39depends_lib         port:boost \
40                    port:readline \
41                    port:ncurses \
42                    port:xylib \
43                    port:lua \
44                    port:zlib \
45                    port:python27 \
46                    port:${wxWidgets.port}
47
48depends_run         port:gnuplot
49
50configure.args-append --with-wxdir=${wxWidgets.wxdir}
51
52variant docs description {Build and install documentation} {
53    depends_build-append port:py27-sphinx
54    # TODO: use a python PortGroup and variable
55    pre-build {
56        reinplace "s|sphinx-build|${prefix}/Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx-build|" ${worksrcpath}/doc/Makefile
57        system -W ${worksrcpath}/doc make
58    }
59}
60
61if {![variant_isset docs]} {
62    pre-build {
63        file mkdir ${worksrcpath}/doc/html/placeholder
64    }
65}
Note: See TracBrowser for help on using the repository browser.