[62601] trunk/dports/php

nox at macports.org nox at macports.org
Mon Jan 11 15:18:34 PST 2010


Revision: 62601
          http://trac.macports.org/changeset/62601
Author:   nox at macports.org
Date:     2010-01-11 15:18:33 -0800 (Mon, 11 Jan 2010)
Log Message:
-----------
Create new port php5-markdown

Mardkdown is an extension to parse a Mardown text, from a string or a
file. It is fast and has a simple API

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

Added: trunk/dports/php/php5-markdown/Portfile
===================================================================
--- trunk/dports/php/php5-markdown/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-markdown/Portfile	2010-01-11 23:18:33 UTC (rev 62601)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       php5extension 1.0
+
+php5extension.setup markdown 0.1.0 pecl
+license         PHP
+categories      php textproc devel
+platforms       darwin
+maintainers     nox openmaintainer
+description     A fast Markdown parser
+
+long_description \
+    Mardkdown is an extension to parse a Mardown text, from a string or a \
+    file. It is fast and has a simple API.
+
+checksums       md5     2572ee07e20e69b8d99aeccf016e19cc \
+                sha1    347ef829104a1756fd76eec7b1dccdf5e494219d \
+                rmd160  d002cb24d820e47b7e5dbdc0a8eb2b264b7d3a31
+
+use_parallel_build yes
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} COPYING CREDITS ${destroot}${docdir}
+    xinstall -d ${destroot}${docdir}/examples
+    xinstall -m 644 ${worksrcpath}/examples/mkd.php \
+        ${destroot}${docdir}/examples
+}
+
+test.run yes
+
+livecheck.regex {(\d+(?:\.\d+)*)</a></th>}


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


More information about the macports-changes mailing list