[31310] trunk/dports/lang/python30/Portfile
mww at macports.org
mww at macports.org
Mon Nov 19 13:21:54 PST 2007
Revision: 31310
http://trac.macosforge.org/projects/macports/changeset/31310
Author: mww at macports.org
Date: 2007-11-19 13:21:52 -0800 (Mon, 19 Nov 2007)
Log Message:
-----------
honor global CFLAGS for optimization; use 'altinstall' for not getting unversioned executables in the 1st place; increment revision;
Modified Paths:
--------------
trunk/dports/lang/python30/Portfile
Modified: trunk/dports/lang/python30/Portfile
===================================================================
--- trunk/dports/lang/python30/Portfile 2007-11-19 21:05:32 UTC (rev 31309)
+++ trunk/dports/lang/python30/Portfile 2007-11-19 21:21:52 UTC (rev 31310)
@@ -4,6 +4,7 @@
name python30
version 3.0a1
+revision 1
categories lang
platforms darwin
maintainers mww
@@ -21,11 +22,11 @@
depends_lib port:libiconv
configure.args --enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework
+configure.env-append OPT="${configure.cflags} -g -Wall -Wstrict-prototypes"
-destroot.target install maninstall
+destroot.target altinstall maninstall
post-destroot {
# make sure we dont have any file conflicts with python2.x
- system "cd ${destroot}${prefix}/bin && rm python-config python"
system "cd ${destroot}${prefix}/bin && mv idle idle3.0 && mv pydoc pydoc3.0 && mv smtpd.py smtpd3.0.py"
system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python3.0.1"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071119/9727674c/attachment.html
More information about the macports-changes
mailing list