[58549] trunk/dports/net/fauxident/Portfile

blb at macports.org blb at macports.org
Wed Sep 30 14:28:11 PDT 2009


Revision: 58549
          http://trac.macports.org/changeset/58549
Author:   blb at macports.org
Date:     2009-09-30 14:28:11 -0700 (Wed, 30 Sep 2009)
Log Message:
-----------
net/fauxident - move to python 2.6 and make sure that is the one used

Modified Paths:
--------------
    trunk/dports/net/fauxident/Portfile

Modified: trunk/dports/net/fauxident/Portfile
===================================================================
--- trunk/dports/net/fauxident/Portfile	2009-09-30 21:25:58 UTC (rev 58548)
+++ trunk/dports/net/fauxident/Portfile	2009-09-30 21:28:11 UTC (rev 58549)
@@ -3,6 +3,7 @@
 PortSystem          1.0
 name                fauxident
 version             1.2.1
+revision            1
 categories          net
 maintainers         nomaintainer
 description         small extremely naive ident server
@@ -18,10 +19,14 @@
 
 checksums           md5 fc968c08f18ed23df5b3a20399c29be2
 
-depends_lib         bin:python:python24
+depends_lib         port:python26
 
+post-extract {
+   file attributes ${worksrcpath}/fauxident.py -permissions 0755
+}
+
 configure {
-   reinplace "s|/usr/local/bin/python|/usr/bin/env python|g" \
+   reinplace "s|/usr/local/bin/python|${prefix}/bin/python2.6|g" \
       ${worksrcpath}/fauxident.py
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090930/b9ae135f/attachment.html>


More information about the macports-changes mailing list