Ticket #55532: Portfile.patch

File Portfile.patch, 1.2 KB (added by crapshoot, 6 years ago)
  • net/libpsl/Portfile

    old new  
    44PortGroup           github 1.0
    55
    66github.setup        rockdaboot libpsl 0.19.1 libpsl-
    7 revision            2
     7revision            3
    88license             MIT
    99description         A C library and utility to handle the Public Suffix List
    1010long_description    ${description}
     
    4040
    4141depends_build-append \
    4242                    port:pkgconfig \
    43                     port:gtk-doc \
    4443                    port:python27
    4544
    4645depends_lib-append  path:lib/pkgconfig/glib-2.0.pc:glib2 \
     
    4948                    port:libidn2 \
    5049                    port:libunistring
    5150
     51variant doc description {Install documentation} {
     52    depends_build-append    port:gtk-doc
     53    configure.args-replace  --disable-gtk-doc --enable-gtk-doc
     54}
     55
     56default_variants +doc
     57
    5258post-extract {
    5359    # Replace older bundled publicsuffix list.
    5460    delete ${worksrcpath}/list
     
    6369configure.python    ${prefix}/bin/python2.7
    6470
    6571configure.args      --enable-builtin=libidn2 \
    66                     --enable-gtk-doc \
     72                    --disable-gtk-doc \
    6773                    --disable-silent-rules