Revision
75421
Author
ryandesign@macports.org
Date
2011-01-24 15:20:57 -0800 (Mon, 24 Jan 2011)

Log Message

php5-markdown: update to 0.2.0

Modified Paths

Diff

Modified: trunk/dports/php/php5-markdown/Portfile (75420 => 75421)


--- trunk/dports/php/php5-markdown/Portfile	2011-01-24 22:55:51 UTC (rev 75420)
+++ trunk/dports/php/php5-markdown/Portfile	2011-01-24 23:20:57 UTC (rev 75421)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 PortGroup       php5extension 1.0
 
-php5extension.setup markdown 0.1.0 pecl
+php5extension.setup markdown 0.2.0 pecl
 license         PHP
 categories      php textproc devel
 platforms       darwin
@@ -14,19 +14,16 @@
     Markdown is an extension to parse a Markdown text, from a string or a \
     file. It is fast and has a simple API.
 
-checksums       md5     2572ee07e20e69b8d99aeccf016e19cc \
-                sha1    347ef829104a1756fd76eec7b1dccdf5e494219d \
-                rmd160  d002cb24d820e47b7e5dbdc0a8eb2b264b7d3a31
+checksums       sha1    863722163c67aeed1a858c8e68426b43d31f7fea \
+                rmd160  c5d2e27758882e3edfaaab337f059be0dc215935
 
 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
+    xinstall -d ${destroot}${docdir} ${destroot}${prefix}/share/examples/${name}
+    xinstall -m 644 -W ${worksrcpath} CREDITS README ${destroot}${docdir}
+    copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
 }
 
 test.run yes