Ticket #30493: patch-Portfile-kdegraphics4.diff

File patch-Portfile-kdegraphics4.diff, 1.8 KB (added by nicos_pavlov@…, 13 years ago)
  • Portfile

    old new  
    33
    44name                kdegraphics4
    55version             4.6.0
    6 revision            2
     6revision            3
     7#replaced_by         okular gwenview kcolorchooser
    78categories          kde kde4
    89maintainers         snc sharky michaelld
    910description         KDE4 graphics applications
    1011long_description    KDE applications for managing and creating image files.
    1112platforms           darwin
    1213homepage            http://www.kde.org
    13 master_sites        kde:stable/${version}/src/
    14 use_bzip2           yes
    15 distname            kdegraphics-${version}
    16 checksums           rmd160  15a88c995972ab79f6bb53adb3b5a95020349826 \
    17                     sha256  168d6eb84a2c06b4547e8764edaaa3670e603019e32833598a17d2b784524848
    1814
    19 depends_lib-append  port:kdebase4-runtime \
    20                     port:exiv2 port:poppler \
    21                     port:djvulibre port:chmlib \
    22                     port:libspectre port:qca \
    23                     port:ebook-tools \
    24                     port:sane-backends port:gphoto2
     15distfiles
    2516
    26 pre-configure {
    27     if {![file exists ${prefix}/lib/libpoppler-qt4.dylib]} {
    28         return -code error "Poppler must be installed with +qt4\
    29                             and +quartz variants"
    30     }
     17pre-fetch {
     18    ui_msg "${name} is provided by okular, gwenview and kcolorchooser."
     19    ui_msg "Please uninstall ${name}, and install the required \
     20            ports above."
     21    return -code error "obsolete port"
    3122}
    3223
    33 configure.args-append   -DGWENVIEW_SEMANTICINFO_BACKEND=None
    34 
    35 livecheck.url       http://mirrors.ibiblio.org/pub/mirrors/kde/stable/latest/src/
    36 livecheck.regex     kdegraphics-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
     24livecheck.type      none
     25 No newline at end of file