Ticket #38350: Portfile.diff

File Portfile.diff, 1.1 KB (added by NicosPavlov, 12 years ago)
  • Portfile

    old new  
    55PortGroup  muniversal 1.0
    66
    77name        poppler
    8 conflicts   pdf2json xpdf-tools
     8conflicts   pdf2json xpdf-tools poppler-quartz
    99version     0.22.1
    1010license     GPL-2+
    1111maintainers devans openmaintainer
     
    4848
    4949configure.args \
    5050    --disable-introspection \
    51     --disable-poppler-qt4 \
    5251    --disable-gtk-test \
    5352    --disable-silent-rules \
    5453    --enable-xpdf-headers \
     
    5756    --enable-poppler-glib \
    5857    --mandir=${prefix}/share/man
    5958
     59if {${subport} == ${name}} {
     60configure.args-append    --disable-poppler-qt4
     61
    6062variant quartz {
    6163    configure.args-append --without-x
    6264}
     
    8082        configure.pkg_config_path ${qt_dir}/lib/pkgconfig
    8183    }
    8284}
     85}
     86
     87subport poppler-quartz {
     88    PortGroup   qt4 1.0
     89    conflicts   pdf2json xpdf-tools poppler
     90
     91    configure.args-append   --without-x
     92}
    8393
    8494variant docs conflicts universal description {Build gtk-doc documentation} {
    8595    depends_build-append   port:gtk-doc