# -*- 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 # $Id: Portfile 140508 2015-09-21 11:39:43Z ryandesign@macports.org $ PortSystem 1.0 PortGroup app 1.0 PortGroup github 1.0 PortGroup wxWidgets 1.0 github.setup wojdyr fityk 1.3.0 v name fityk categories math platforms darwin license GPL-2 maintainers nomaintainer description fityk is for peak fitting. long_description fityk is a program for nonlinear fitting of analytical \ functions (especially peak-shaped) to data (usually \ experimental data). There are also people using it to \ remove the baseline from data, or to display data only. homepage http://fityk.nieto.pl/ github.tarball_from releases use_bzip2 yes checksums rmd160 9cafda668ccd0f0c6a7b4b060dd6156e48e155be \ sha256 7f5d94b02aa87060c52677c373f95c7ef401a1002ca20cce963b07f3c90ee3b9 app.name fityk app.executable fityk app.icon ${worksrcpath}/fityk.png wxWidgets.use wxWidgets-3.0 # WARNING: dvipng command 'dvipng' cannot be run (needed for math display), check the pngmath_dvipng setting depends_build-append port:swig-lua depends_lib port:boost \ port:readline \ port:ncurses \ port:xylib \ port:lua \ port:zlib \ port:python27 \ port:${wxWidgets.port} depends_run port:gnuplot configure.args-append --with-wxdir=${wxWidgets.wxdir} variant docs description {Build and install documentation} { depends_build-append port:py27-sphinx # TODO: use a python PortGroup and variable pre-build { reinplace "s|sphinx-build|${prefix}/Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx-build|" ${worksrcpath}/doc/Makefile system -W ${worksrcpath}/doc make } } if {![variant_isset docs]} { pre-build { file mkdir ${worksrcpath}/doc/html/placeholder } }