# -*- 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$ PortSystem 1.0 PortGroup app 1.0 PortGroup github 1.0 PortGroup wxWidgets 1.0 # the released version has the extra complication that it needs to fetch cmpfit-1.2.tar.gz on the fly # other than that there is no reason not to use 1.2.1, # but maybe a special addition to version string is needed to make the version info more exact # github.setup wojdyr fityk 1.2.1 v github.setup wojdyr fityk e63acef802 name fityk version 1.2.1 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/ checksums rmd160 12cbcd703c62439f2d0e95b5394277654249722b \ sha256 2abb978b7f1ee8f800bf4f34a529163460234c873e423cf12fea2bb9260f1c45 # TODO: also apply http://wiki.wxwidgets.org/WxMac-specific_topics#My_app_can.27t_be_brought_to_the_front.21 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 port:swig-lua \ port:makeicns depends_lib port:boost \ port:readline \ port:ncurses \ port:xylib \ port:lua \ port:zlib \ port:python27 \ port:${wxWidgets.port} depends_run port:gnuplot use_autoreconf yes pre-build { if {[variant_isset docs]} { depends_build-append port:py27-sphinx # TODO: use a python PortGroup and variable reinplace "s|sphinx-build|${prefix}/Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx-build|" ${worksrcpath}/doc/Makefile system -W ${worksrcpath}/doc make } else { file mkdir ${worksrcpath}/doc/html/placeholder } } configure.args-append --with-wxdir=${wxWidgets.wxdir} variant docs description {Build and install documentation} {}