(original) (raw)
# Id:Portfile,v1.62004/11/3021:32:51mwwExpId: Portfile,v 1.6 2004/11/30 21:32:51 mww Exp Id:Portfile,v1.62004/11/3021:32:51mwwExp PortSystem 1.0 name python24 version 2.4 categories lang platforms darwin maintainers mww@opendarwin.org description An interpreted, object-oriented programming language long_description Python is an interpreted, interactive, object-oriented \ programming language. homepage http://www.python.org/ master_sites homepage/ftp/python/2.4/ftp://ftp.python.org/pub/python/2.4/distnamePython−{homepage}/ftp/python/2.4/ \ ftp://ftp.python.org/pub/python/2.4/ distname Python-homepage/ftp/python/2.4/ftp://ftp.python.org/pub/python/2.4/distnamePython−{version} checksums md5 44c2226eff0f3fc1f2fedaa1ce596533 use_bzip2 yes configure.args --enable-shared \ --enable-framework=${prefix}/Library/Frameworks --mandir=${prefix}/share/man test.run yes test.target test variant darwin { destroot.target frameworkinstall patchfiles patch-osx-Makefile.diff } variant x86 { patchfiles patch-configure.x86 configure.args-append --disable-toolbox-glue } post-destroot { cd destroot{destroot}destroot{prefix}/bin file copy destroot/usr/local/bin/pythonw2.4.filedelete{destroot}/usr/local/bin/pythonw2.4 . file delete destroot/usr/local/bin/pythonw2.4.filedelete{destroot}/usr/local/bin/pythonw2.4 file delete destroot/usr/local/bin/pythonwfiledelete{destroot}/usr/local/bin/pythonw file delete destroot/usr/local/bin/pythonwfiledelete{destroot}/usr/local/bin/python2.4 file delete ${destroot}/usr/local/bin/python system "ln -s pythonw2.4 pythonw" system "ln -s Library/Frameworks/Python.framwork/Versions/Current/bin/python python" system "ln -s Library/Frameworks/Python.framwork/Versions/Current/bin/python2.4 python2.4" system "ln -s Library/Frameworks/Python.framwork/Versions/Current/bin/pydoc pydoc" }