Modified: trunk/dports/devel/redo/Portfile (76477 => 76478)
--- 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 {