--- Portfile.orig	2009-03-28 15:42:23.000000000 +0100
+++ Portfile	2009-03-28 15:42:26.000000000 +0100
@@ -21,3 +21,14 @@
 
 checksums			md5  dd72dac92fc8e3eb0f48c3effeef80f6 \
 					sha1 70ca2dd94969ddf76217e5fe907b0b23f16cc199
+
+post-destroot {
+    # To avoid conflict between py*-docutils
+    move ${destroot}${prefix}/bin/rst2html.py ${destroot}${prefix}/bin/rst2html-2.4.py
+    move ${destroot}${prefix}/bin/rst2latex.py ${destroot}${prefix}/bin/rst2latex-2.4.py
+    move ${destroot}${prefix}/bin/rst2newlatex.py ${destroot}${prefix}/bin/rst2newlatex-2.4.py
+    move ${destroot}${prefix}/bin/rst2pseudoxml.py ${destroot}${prefix}/bin/rst2pseudoxml-2.4.py
+    move ${destroot}${prefix}/bin/rst2xml.py ${destroot}${prefix}/bin/rst2xml-2.4.py
+    move ${destroot}${prefix}/bin/rst2s5.py ${destroot}${prefix}/bin/rst2s5-2.4.py
+    move ${destroot}${prefix}/bin/rstpep2html.py ${destroot}${prefix}/bin/rstpep2html-2.4.py
+}

