[62727] trunk/dports/php

nox at macports.org nox at macports.org
Thu Jan 14 20:25:26 PST 2010


Revision: 62727
          http://trac.macports.org/changeset/62727
Author:   nox at macports.org
Date:     2010-01-14 20:25:25 -0800 (Thu, 14 Jan 2010)
Log Message:
-----------
Create new port php5-enchant

Enchant is a binder for libenchant. Libenchant provides a common API for
many spell libraries.

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

Added: trunk/dports/php/php5-enchant/Portfile
===================================================================
--- trunk/dports/php/php5-enchant/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-enchant/Portfile	2010-01-15 04:25:25 UTC (rev 62727)
@@ -0,0 +1,42 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       archcheck 1.0
+PortGroup       php5extension 1.0
+
+php5extension.setup enchant 1.1.0 pecl
+license         PHP
+categories      php textproc devel
+platforms       darwin
+maintainers     nox openmaintainer
+description     libenchant binder, support near all spelling tools
+
+long_description \
+    Enchant is a binder for libenchant. Libenchant provides a common API for \
+    many spell libraries.
+
+checksums       md5     88a9ebc2fed2f568181c55bd61e12e03 \
+                sha1    8f70603a5ab438450ce19516e5f3a9ed81ad9740 \
+                rmd160  89cfb0e304ceb637d3a91ba28bf2a712fbe291df
+
+depends_lib-append \
+    port:enchant
+
+archcheck.files \
+    lib/libenchant.dylib
+
+configure.args \
+    --with-enchant=${prefix}
+
+test.run yes
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
+
+    set examplesdir ${prefix}/share/examples/${name}
+    xinstall -d ${destroot}${examplesdir}
+    xinstall -m 644 ${worksrcpath}/docs/examples/example1.php \
+        ${destroot}${examplesdir}
+}


Property changes on: trunk/dports/php/php5-enchant/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/7d3d10fd/attachment.html>


More information about the macports-changes mailing list