Ticket #21746: Portfile.diff

File Portfile.diff, 2.4 KB (added by mroman@…, 15 years ago)
  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name            gutenprint
    7 version         5.2.3
    8 revision        1
     7version         5.2.4
    98set branch      [join [lrange [split ${version} .] 0 1] .]
    109categories      print
    1110maintainers     devans
     
    1413
    1514description     Gimp Print Plugin
    1615long_description \
    17     Gutenprint plugin for the Gimp.
     16    Gutenprint cups drivers and plugin for the Gimp.
    1817
    1918universal_variant no
    2019
    2120master_sites    sourceforge:gimp-print
    2221use_bzip2       yes
    2322
    24 checksums       md5     4db2605739b3cbc6fc72bb1665731aeb \
    25                 sha1    e4ddb21665578835d58267d59b57d8d970c3ee86 \
    26                 rmd160  ae6edf1dea2cd88572736bf0784a4353b59e7113
    27 
    28 depends_lib     lib:libgimp-2.0:gimp2
    29 
    30 pre-fetch {
    31     ui_msg "
    32             This port only installs the Gutenprint plugin for the Gimp.
    33             You can get the complete Gutenprint drivers and utilities - except the gimp plugin - from
    34             http://gimp-print.sourceforge.net
    35             "
    36 }
     23checksums           md5     4b0ecc20f3fc68e67c76991cc8516fe7 \
     24                    sha1    ae680314650dd9a52df5fd11cd0282cc6f9662e6 \
     25                    rmd160  c42cfc847d3886c2a299a30dbcdf66a119a282de
    3726
    3827configure.args  --disable-escputil \
    3928                --disable-samples \
    4029                --disable-test \
    4130                --without-cups \
    42                 --without-readline \
    43                 --with-gimp2-as-gutenprint
     31                --without-readline
    4432
    4533post-configure {
    4634    foreach i {iconv intl} {
     
    4937    }
    5038}
    5139
     40default_variants +cups
     41
     42variant cups description {Builds cups driver} {
     43        configure.args-delete --without-cups
     44        configure.args-append   --with-cups=${prefix} \
     45                                --enable-cups-ppds \
     46                                --enable-translated-cups-ppds \
     47                                --enable-nls-macosx
     48       
     49        destroot.violate_mtree yes
     50}
     51
     52variant gimp description {Builds Gimp plugin} {
     53        depends_lib-append     lib:libgimp-2.0:gimp2
     54       
     55        configure.args-append --with-gimp2-as-gutenprint
     56}
     57
     58variant epson description {Builds epson utility} {
     59        configure.args-delete --disable-escputil
     60        configure.args-append --enable-escputil
     61
     62}
     63
    5264livecheck.type          regex
    5365livecheck.url           http://sourceforge.net/export/rss2_projfiles.php?project=gimp-print
    5466livecheck.regex         <title>${name}-${branch} (\[0-9.\]+) released.*</title>