Ticket #11347: htmldoc-1.8.27.diff

File htmldoc-1.8.27.diff, 2.0 KB (added by pipping@…, 17 years ago)
  • dports/textproc/htmldoc/Portfile

     
    22
    33PortSystem 1.0
    44name            htmldoc
    5 version         1.8.24
     5version         1.8.27
    66categories      textproc
    77maintainers     mij@macports.org
    88description     Converts HTML files to PDF or PostScript
     
    1414                 indexed HTML files.  It also generates files on-the-fly \
    1515                 for web applications or for batch jobs.
    1616
    17 master_sites    http://ftp.easysw.com/pub/htmldoc/${version}/ \
     17master_sites    ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/htmldoc/${version}/ \
     18                http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/htmldoc/${version}/ \
     19                ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/htmldoc/${version}/ \
     20                ftp://ftp3.easysw.com/pub/htmldoc/${version}/ \
    1821                ftp://ftp.easysw.com/pub/htmldoc/${version}/
    1922
    20 checksums       md5 d781c605f2a370246db1f5d70a41bbe4
     23checksums       md5 35589e7b8fe9c54e11be87cd5aec4dcc \
     24                sha1 472908e0aafed1cedfbacd8ed3168734aebdec4b \
     25                rmd160 9605a5894675439f5fae405fb060972e19f33c7e
    2126
    22 distname        ${portname}-${portversion}-source
    23 worksrcdir      ${portname}-${portversion}
     27distname        ${name}-${version}-source
     28worksrcdir      ${name}-${version}
    2429use_bzip2       yes
    2530
    26 depends_lib     lib:libjpeg.62:jpeg lib:libpng.3:libpng lib:libz.1:zlib
     31depends_lib     port:jpeg port:libpng port:zlib
    2732
    2833configure.env   CFLAGS="-I${prefix}/include" \
    2934                CXXFLAGS="-I${prefix}/include" \
     
    4146                ui_error "Only one of +ssl, +gnutls, or +cdsassl can be specified!"
    4247                exit(1)
    4348        }
    44         depends_lib-append      lib:libssl.0.9:openssl
     49        depends_lib-append      port:openssl
    4550        configure.args-delete   --disable-ssl
    4651        configure.args-append   --enable-openssl --disable-gnutls --disable-cdsassl
    4752}
     
    5156                ui_error "Only one of +ssl, +gnutls, or +cdsassl can be specified!"
    5257                exit 1
    5358        }
    54         depends_lib-append      lib:libgnutls:gnutls
     59        depends_lib-append      port:gnutls
    5560        configure.args-delete   --disable-ssl
    5661        configure.args-append   --disable-openssl --enable-gnutls --disable-cdsassl
    5762}