Added: trunk/dports/python/py-html5lib/Portfile (0 => 96118)
--- trunk/dports/python/py-html5lib/Portfile (rev 0)
+++ trunk/dports/python/py-html5lib/Portfile 2012-08-01 10:10:15 UTC (rev 96118)
@@ -0,0 +1,37 @@
+# -*- 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$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-html5lib
+license MIT
+version 0.95
+categories python textproc devel
+platforms darwin
+maintainers singingwolfboy 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
+
+python.versions 25 26 27 31 32
+python.default_version 27
+
+if {${subport} != ${name}} {
+ depends_lib port:py${python.version}-distribute
+}
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 ${worksrcpath}/README ${destroot}${docdir}
+}
Property changes on: trunk/dports/python/py-html5lib/Portfile
___________________________________________________________________