Revision
96053
Author
lightnin@macports.org
Date
2012-07-30 05:29:29 -0700 (Mon, 30 Jul 2012)

Log Message

Added py32-html5lib version 0.95 port.

Added Paths

Diff

Added: trunk/dports/python/py32-html5lib/Portfile (0 => 96053)


--- trunk/dports/python/py32-html5lib/Portfile	                        (rev 0)
+++ trunk/dports/python/py32-html5lib/Portfile	2012-07-30 12:29:29 UTC (rev 96053)
@@ -0,0 +1,32 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id: Portfile 79329 2011-06-09 17:18:23Z ryandesign@macports.org $
+
+PortSystem          1.0
+PortGroup           python32 1.0
+
+name                py32-html5lib
+license             MIT
+version             0.95
+categories          python textproc devel
+platforms           darwin
+maintainers         lightnin openmaintainer
+supported_archs     noarch
+description         Library for working with HTML documents
+long_description    A Python implementation of a HTML parser based on the \
+                    WHATWG HTML5 specification for maximum compatibility \
+                    with major desktop web browsers.
+
+homepage            http://code.google.com/p/html5lib/
+master_sites        googlecode:html5lib
+distname            html5lib-${version}
+checksums           md5     fe607f9917d81763e842f818f23464ee \
+                    sha1    1645840a6dbd152c06aa513e04dfafe09a36703a \
+                    rmd160  0b5c73d39f0203e15752f11fbf8ca5218ea2b236
+
+depends_lib         port:py32-distribute
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
+}