Ticket #42889: qalculate-gtk_Portfile.diff

File qalculate-gtk_Portfile.diff, 1.4 KB (added by jjstickel (Jonathan Stickel), 11 years ago)
  • Portfile

    old new  
    55
    66name            qalculate-gtk
    77version         0.9.7
     8revision    1
    89categories      math
    910platforms       darwin
    1011license         GPL-2
    11 maintainers     vcn.com:jjstickel
     12maintainers     gmail.com:jjstickel
    1213
    1314description     Qalculate! is a multi-purpose desktop calculator for GNU/Linux.
    1415
     
    2223homepage        http://qalculate.sourceforge.net/
    2324master_sites    sourceforge:qalculate
    2425
    25 checksums           md5     7a7ab4680e285690ca3625992f477f0f \
    26                     sha1    c714c91224045fa49f261686e985df0aefa1d678 \
     26checksums           sha256  a4ea8ee2366ac3ad53bb17fd2f76a7bed7211640cf2fdadfcf3b79eb4b37282d \
    2727                    rmd160  bbb89fbfc6199dcf87666596ee0d7df3019635af
    2828
    2929depends_build   port:pkgconfig port:intltool
    3030
    31 depends_lib     port:libqalculate\
    32                 port:libglade2\
    33                 port:rarian
    34 
    35 depends_run     lib:libgtk-x11-2.0:gtk2\
    36                 port:gnuplot\
    37                 port:gnome-vfs
     31depends_lib    port:libqalculate\
     32    port:libglade2\
     33    port:rarian
     34
     35# seems to work with gtk2 of either variant +x11 or +quartz
     36depends_run    port:gtk2\
     37    port:gnome-vfs
    3838
    3939use_parallel_build      yes
    4040
    4141# needs to be same as used by intltool
    4242configure.perl  ${prefix}/bin/perl5.12
    4343
     44configure.args    --disable-gnuplot
     45
     46variant gnuplot description {enable gnuplot support} {
     47    depends_run-append     port:gnuplot
     48    configure.args-delete    --disable-gnuplot
     49}
     50
    4451post-destroot {
    4552    file delete ${destroot}${prefix}/bin/qalculate
    4653}