[62723] trunk/dports/php

nox at macports.org nox at macports.org
Thu Jan 14 15:17:26 PST 2010


Revision: 62723
          http://trac.macports.org/changeset/62723
Author:   nox at macports.org
Date:     2010-01-14 15:17:24 -0800 (Thu, 14 Jan 2010)
Log Message:
-----------
Create new port php5-esmtp

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.

Added Paths:
-----------
    trunk/dports/php/php5-esmtp/
    trunk/dports/php/php5-esmtp/Portfile

Added: trunk/dports/php/php5-esmtp/Portfile
===================================================================
--- trunk/dports/php/php5-esmtp/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-esmtp/Portfile	2010-01-14 23:17:24 UTC (rev 62723)
@@ -0,0 +1,49 @@
+# $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+)*)</a></th>}


Property changes on: trunk/dports/php/php5-esmtp/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100114/14ccbd2e/attachment.html>


More information about the macports-changes mailing list