[20773] trunk/dports/lang/python25/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Nov 27 12:30:25 PST 2006
Revision: 20773
http://trac.macosforge.org/projects/macports/changeset/20773
Author: pmq at macports.org
Date: 2006-11-27 12:30:24 -0800 (Mon, 27 Nov 2006)
Log Message:
-----------
Closes #11027. Fixed the dependencies.
Modified Paths:
--------------
trunk/dports/lang/python25/Portfile
Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile 2006-11-27 19:38:52 UTC (rev 20772)
+++ trunk/dports/lang/python25/Portfile 2006-11-27 20:30:24 UTC (rev 20773)
@@ -2,36 +2,41 @@
PortSystem 1.0
-name python25
-version 2.5
-categories lang
-platforms darwin
-maintainers mww at opendarwin.org pmq at macports.org
-description An interpreted, object-oriented programming language
-long_description Python is an interpreted, interactive, object-oriented \
- programming language.
+name python25
+version 2.5
+categories lang
+platforms darwin
+maintainers mww at opendarwin.org pmq at macports.org
-homepage http://www.python.org
-master_sites ${homepage}/ftp/python/2.5 \
- ftp://ftp.python.org/pub/python/2.5
+description An interpreted, object-oriented programming language
+long_description Python is an interpreted, interactive, object-oriented \
+ programming language.
-distname Python-${version}
-use_bzip2 yes
-checksums sha1 98ce9346cc4a7ef4621ecdcfc3957d595d97a078 \
- rmd160 f6977a6c3d3ca54c27ad9270918237a7e6521d0b
+homepage http://www.python.org
+master_sites ${homepage}/ftp/python/2.5 \
+ ftp://ftp.python.org/pub/python/2.5
-configure.args --enable-shared \
- --mandir=${prefix}/share/man \
- --bindir=${prefix}/bin \
- --libdir=${prefix}/lib \
- --without-readline \
- --enable-ipv6 \
- --disable-tk
+distname Python-${version}
+use_bzip2 yes
+checksums sha1 98ce9346cc4a7ef4621ecdcfc3957d595d97a078 \
+ rmd160 f6977a6c3d3ca54c27ad9270918237a7e6521d0b
-test.run yes
-test.target test
+depends_lib bin:bzip2:bzip2 port:ncursesw port:openssl \
+ port:readline port:sqlite3 port:zlib \
+ port:db44
-destroot.target install maninstall
+configure.args --enable-shared \
+ --mandir=${prefix}/share/man \
+ --bindir=${prefix}/bin \
+ --libdir=${prefix}/lib \
+ --without-readline \
+ --enable-ipv6 \
+ --disable-tk
+
+test.run yes
+test.target test
+
+destroot.target install maninstall
post-destroot {
system "cd ${destroot}${prefix}/bin && mv idle idle2.5 && mv pydoc pydoc2.5 && mv python-config python-config2.5 && mv smtpd.py smtpd2.5.py && rm python"
system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python2.5.1"
@@ -42,6 +47,13 @@
}
platform darwin 8 {
- configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
- configure.args-append --with-cxx=/usr/bin/g++-4.0
+ configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 \
+ CXX=/usr/bin/g++-4.0
+ configure.args-append --with-cxx=/usr/bin/g++-4.0
}
+
+variant tk {
+ configure.args-delete --disable-tk
+ configure.args-append --enable-tk
+ depends_lib-append port:tk
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061127/a9f681d5/attachment.html
More information about the macports-changes
mailing list