# $Id$ PortSystem 1.0 PortGroup archcheck 1.0 PortGroup php5extension 1.0 php5extension.setup esmtp 0.3.1 pecl license PHP categories php devel platforms darwin maintainers nox openmaintainer description ESMTP client extension long_description \ Esmtp is a wrapper for SMTP client library based on the libESMTP library. \ You can use it to send messages using internal SASL, and external/openssl \ SSL support. checksums md5 e1db69e1b05efd0bf7f5c7d0b6b3255f \ sha1 2c0c206decfd2e87e2731ca33ce55215ca713b92 \ rmd160 96dec77e466461d57bf3fe244be6adba08c08969 post-patch { # Fix typo reinplace {s/"esmtp/"$esmtp/} ${worksrcpath}/config.m4 } depends_lib-append \ port:libesmtp archcheck.files \ lib/libesmtp.dylib configure.args \ --with-esmtp=${prefix} test.run yes pre-test { reinplace {s:test\.eml:tests/&:} ${worksrcpath}/tests/002.phpt } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} CREDITS NOTES TODO ${destroot}${docdir} } livecheck.regex {(\d+(?:\.\d+)*)}