[49974] trunk/dports/python/py26-docutils/Portfile

jmr at macports.org jmr at macports.org
Tue Apr 21 10:51:58 PDT 2009


Revision: 49974
          http://trac.macports.org/changeset/49974
Author:   jmr at macports.org
Date:     2009-04-21 10:51:57 -0700 (Tue, 21 Apr 2009)
Log Message:
-----------
py26-docutils: link the installed executable scripts into ${prefix}/bin (#19022)

Modified Paths:
--------------
    trunk/dports/python/py26-docutils/Portfile

Modified: trunk/dports/python/py26-docutils/Portfile
===================================================================
--- trunk/dports/python/py26-docutils/Portfile	2009-04-21 17:39:47 UTC (rev 49973)
+++ trunk/dports/python/py26-docutils/Portfile	2009-04-21 17:51:57 UTC (rev 49974)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -5,6 +6,7 @@
 
 name                py26-docutils
 version             0.5
+revision            1
 categories-append   textproc
 maintainers         jmr openmaintainer
 description         A set of tools for processing plaintext documentation
@@ -22,3 +24,9 @@
 checksums           md5     dd72dac92fc8e3eb0f48c3effeef80f6 \
                     sha1    70ca2dd94969ddf76217e5fe907b0b23f16cc199 \
                     rmd160  3e8dfd2923528bbeac0ca33ccfe6f576c74f1886
+
+post-destroot {
+    foreach f {rst2html rst2latex rst2newlatex rst2pseudoxml rst2s5 rst2xml rstpep2html} {
+        ln -s ${python.prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-2.6.py
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090421/afda78e1/attachment.html>


More information about the macports-changes mailing list