Ticket #31588: grisbi-ryandesign.diff

File grisbi-ryandesign.diff, 2.2 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    44PortSystem 1.0
    55
    66name            grisbi
    7 version             0.6.0
     7version             0.8.8
     8set branch          [join [lrange [split ${version} .] 0 1] .]
     9license             GPL-2+
    810description       Easy Personnal Finance Manager for All.
    911long_description  Grisbi is a personnal accounting application. \
    1012                  Grisbi can manage multiple accounts, currencies and users. It manages \
     
    1618categories      gnome
    1719platforms       darwin
    1820homepage        http://www.grisbi.org
    19 checksums           sha1    d76973eaa068827d0239b2a6d7c411f78ae743fb \
    20                     rmd160  dedd2375136b36ab69026f42207cecb18c74190f
    21 master_sites        http://grisbi.gegeweb.org/src/${version} \
    22                     sourceforge
    23 depends_lib     lib:libgtk.2:gtk2 lib:libxml2.2.6.16:libxml2 lib:libofx.0:libofx
     21master_sites        sourceforge:project/grisbi/grisbi%20stable/${branch}.x
    2422use_bzip2       yes
    2523
    26 configure.args              --mandir=${prefix}/share/man
    27 configure.args-append       --with-balance-estimate
    28 configure.cppflags-append   "   -L${prefix}/lib"
     24checksums           rmd160  43937d66a4527b1da28bbc566fe6c0773994ec52 \
     25                    sha256  7c69fbdff557c4b82de0b878fc2b7f6c93ab9abd72351eabbdecc9be4d78946f
    2926
    30 universal_variant   no
    31 supported_archs     ppc i386
     27depends_build       port:pkgconfig \
     28                    port:intltool
    3229
    33 variant no_ofx description {Don't include LibOFX support} {
    34         depends_lib-delete      lib:libofx.0:libofx
    35         configure.args-append   --without-ofx
     30depends_lib         port:gtk2 \
     31                    port:libxml2
     32
     33configure.args      --disable-silent-rules \
     34                    --without-ofx
     35
     36variant no_ofx description {Legacy compatibility variant} {}
     37if {[variant_isset no_ofx]} {
     38    default_variants -ofx
     39} else {
     40    default_variants +ofx
    3641}
    3742
    38 livecheck.regex "<title>${name} (\\d+(?:\\.\\d+)*) released.*</title>"
     43variant ofx description {Include LibOFX support} {
     44    depends_lib-append port:libofx
     45    configure.args-delete --without-ofx
     46}
     47
     48livecheck.regex     /${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}