[93092] trunk/dports/lang/php/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon May 14 22:22:41 PDT 2012
Revision: 93092
https://trac.macports.org/changeset/93092
Author: ryandesign at macports.org
Date: 2012-05-14 22:22:38 -0700 (Mon, 14 May 2012)
Log Message:
-----------
php: add ${php}-enchant subports
Modified Paths:
--------------
trunk/dports/lang/php/Portfile
Modified: trunk/dports/lang/php/Portfile
===================================================================
--- trunk/dports/lang/php/Portfile 2012-05-15 05:10:51 UTC (rev 93091)
+++ trunk/dports/lang/php/Portfile 2012-05-15 05:22:38 UTC (rev 93092)
@@ -436,6 +436,29 @@
}
}
+subport ${php}-enchant {
+ categories-append textproc devel
+
+ description a PHP interface to enchant
+
+ long_description ${name} is ${description}, a common API for many spell libraries.
+
+ depends_lib-append port:enchant
+
+ configure.args-append --with-enchant=${prefix}
+
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${destroot.dir} CREDITS ${destroot}${docdir}
+
+ set examplesdir ${prefix}/share/examples/${subport}
+ xinstall -d ${destroot}${examplesdir}
+ xinstall -m 644 ${destroot.dir}/docs/examples/example1.php \
+ ${destroot}${examplesdir}
+ }
+}
+
subport ${php}-exif {
categories-append graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/61b8486a/attachment.html>
More information about the macports-changes
mailing list