[76478] trunk/dports/devel/redo/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Thu Feb 24 13:58:33 PST 2011


Revision: 76478
          http://trac.macports.org/changeset/76478
Author:   singingwolfboy at macports.org
Date:     2011-02-24 13:58:33 -0800 (Thu, 24 Feb 2011)
Log Message:
-----------
Updated redo to 0.06. Docs can no longer be pulled from git, so added python dependencies to doc variant.

Modified Paths:
--------------
    trunk/dports/devel/redo/Portfile

Modified: trunk/dports/devel/redo/Portfile
===================================================================
--- trunk/dports/devel/redo/Portfile	2011-02-24 21:57:24 UTC (rev 76477)
+++ trunk/dports/devel/redo/Portfile	2011-02-24 21:58:33 UTC (rev 76478)
@@ -3,8 +3,8 @@
 PortSystem              1.0
 
 name                    redo
-version                 0.05
-revision                1
+version                 0.06
+revision                0
 categories              devel
 maintainers             singingwolfboy
 supported_archs         noarch
@@ -45,14 +45,11 @@
 destroot.env-append     DESTDIR=${destroot} PREFIX=${prefix}
 depends_lib             bin:python:python_select
 variant doc description {Build and install man pages} {
-    # The documentation requires pandoc to build...    
-    #depends_build       bin:pandoc:pandoc
-    # ... but if we don't have pandoc already installed, we can just grab
-    # the pregenerated documentation.
-    post-fetch {
-        if {[file isfile "${prefix}/bin/pandoc"] == 0} {
-            system "cd ${worksrcpath} && ${build.cmd} Documentation/git-import"
-        }
+    # The documentation requires some python modules to build
+    depends_build       port:py27-beautifulsoup port:py27-markdown
+    # make sure we use macports python, since that's required to build docs
+    configure {
+        eval reinplace "s|#!/usr/|#!${prefix}/|" [glob ${worksrcpath}/*]
     }
 }
 variant bash_completion {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110224/7cb45094/attachment.html>


More information about the macports-changes mailing list