Ticket #14983: Portfile.diff

File Portfile.diff, 967 bytes (added by andy@…, 17 years ago)

patch for ssmtp Portfile

  • ./Portfile

    old new master_sites http://ftp.debian.org/debia 
    1919distfiles       ${name}_${version}.orig${extract.suffix}
    2020checksums       ${name}_${version}.orig${extract.suffix} md5 957e6fff08625fe34f4fc33d0925bbc9
    2121worksrcdir      ${name}-${version}
    22 patchfiles      patch-ssmtp.c patch-generate_config patch-Makefile.in
     22patchfiles      patch-ssmtp.c patch-generate_config patch-Makefile.in patch-configure.in
    2323build.type      gnu
    2424
    2525#patch_sites    ${master_sites}
    post-destroot { 
    3333        xinstall -W ${worksrcpath} README INSTALL COPYING \
    3434                ${destroot}${prefix}/share/doc/${name}
    3535
    36         xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmpt.conf.sample
     36        xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmtp.conf.sample
     37}
     38
     39variant ssl {
     40        configure.args-append   --enable-ssl
     41}
     42
     43variant md5 {
     44        configure.args-append   --enable-md5auth
    3745}