[59277] trunk/dports/textproc/txt2tags/Portfile
blb at macports.org
blb at macports.org
Mon Oct 12 17:30:13 PDT 2009
Revision: 59277
http://trac.macports.org/changeset/59277
Author: blb at macports.org
Date: 2009-10-12 17:30:12 -0700 (Mon, 12 Oct 2009)
Log Message:
-----------
textproc/txt2tags - prefer python26 and make sure to use it, since otherwise the python* ports don't provide a simple 'python' in bin/
Modified Paths:
--------------
trunk/dports/textproc/txt2tags/Portfile
Modified: trunk/dports/textproc/txt2tags/Portfile
===================================================================
--- trunk/dports/textproc/txt2tags/Portfile 2009-10-13 00:19:24 UTC (rev 59276)
+++ trunk/dports/textproc/txt2tags/Portfile 2009-10-13 00:30:12 UTC (rev 59277)
@@ -20,7 +20,7 @@
checksums md5 e4d4553651b5be0711263378ca133c43 \
sha1 95f472b58b26b591670a931787a25a8ef2a33682
use_configure no
-depends_lib bin:python:python24
+depends_lib port:python26
build {
copy ${worksrcpath}/doc/manpage.man ${worksrcpath}/txt2tags.1
@@ -38,4 +38,7 @@
copy ${worksrcpath}/extras ${destroot}${prefix}/share/txt2tags/
copy ${worksrcpath}/samples ${destroot}${prefix}/share/txt2tags/
xinstall -m 0644 ${worksrcpath}/txt2tags.1 ${destroot}${prefix}/share/man/man1/
+ reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
+ ${destroot}${prefix}/bin/txt2tags \
+ ${destroot}${prefix}/share/txt2tags/extras/gensite
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091012/4dd5de84/attachment.html>
More information about the macports-changes
mailing list