[76484] trunk/dports/devel/redo/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Fri Feb 25 07:00:40 PST 2011
Revision: 76484
http://trac.macports.org/changeset/76484
Author: singingwolfboy at macports.org
Date: 2011-02-25 07:00:37 -0800 (Fri, 25 Feb 2011)
Log Message:
-----------
Applied ryandesign's suggestions to improve redo port
Modified Paths:
--------------
trunk/dports/devel/redo/Portfile
Modified: trunk/dports/devel/redo/Portfile
===================================================================
--- trunk/dports/devel/redo/Portfile 2011-02-25 08:25:18 UTC (rev 76483)
+++ trunk/dports/devel/redo/Portfile 2011-02-25 15:00:37 UTC (rev 76484)
@@ -4,7 +4,7 @@
name redo
version 0.06
-revision 0
+revision 1
categories devel
maintainers singingwolfboy
supported_archs noarch
@@ -43,14 +43,9 @@
test.run yes
destroot.destdir ""
destroot.env-append DESTDIR=${destroot} PREFIX=${prefix}
-depends_lib bin:python:python_select
-variant doc description {Build and install man pages} {
+variant doc description {Build and install man pages} requires python27 {
# 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 {
depends_run port:bash-completion
@@ -60,9 +55,11 @@
${destroot}${prefix}/etc/bash_completion.d/
}
}
-variant python_select description {Change shebang lines to use python_select symlink} {
+variant python27 description {Change shebang lines to use Macports Python 2.7 } {
+ depends_lib port:python27
configure {
- eval reinplace "s|#!/usr/|#!${prefix}/|" [glob ${worksrcpath}/*]
+ eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.7|" [glob ${worksrcpath}/*]
}
}
+variant python_select description {Compatibility variant, requires python27} requires python27 {}
default_variants +doc +bash_completion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110225/badd9145/attachment.html>
More information about the macports-changes
mailing list