diff --git a/Portfile b/Portfile
index b516e6b..53c9c44 100644
--- a/Portfile
+++ b/Portfile
@@ -44,14 +44,14 @@ configure.args          --enable-shared \
 use_parallel_build      no
 
 post-patch {
-        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Lib/cgi.py
-        reinplace "s|/Applications/MacPython|/Applications/MacPorts/MacPython|g" \
-                Mac/Makefile.in Mac/IDLE/Makefile.in \
-                Mac/IDLE/Makefile.in Mac/Tools/Doc/setup.py \
-                Mac/PythonLauncher/Makefile.in \
-                Mac/BuildScript/build-installer.py
-        reinplace "s|xargs -0 rm -r|xargs -0 rm -rf|g" \
-                Mac/PythonLauncher/Makefile.in
+   reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Lib/cgi.py
+   reinplace "s|/Applications/MacPython|/Applications/MacPorts/MacPython|g" \
+      Mac/Makefile.in Mac/IDLE/Makefile.in \
+      Mac/IDLE/Makefile.in Mac/Tools/Doc/setup.py \
+      Mac/PythonLauncher/Makefile.in \
+      Mac/BuildScript/build-installer.py
+   reinplace "s|xargs -0 rm -r|xargs -0 rm -rf|g" \
+      Mac/PythonLauncher/Makefile.in
 }
 
 build.target            all libpython${branch}.dylib
@@ -70,70 +70,69 @@ test.target             test
 destroot.target         frameworkinstall maninstall
 
 post-destroot {
-        set framewpath ${prefix}/Library/Frameworks/Python.framework
-        set framewdir  ${framewpath}/Versions/${branch}
-
-        foreach dir { lib include } {
-            file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}
-            ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
-        }
-
-        file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
-        ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
-
-        file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1
-
-        # delete symlinks without version suffix, use python_select instead to choose version
-        foreach bin { python pythonw idle pydoc smtpd.py python-config } {
-            file delete ${destroot}${prefix}/bin/${bin}
-        }
-        foreach bin [list python${branch} pythonw${branch} idle${branch} pydoc${branch} smtpd${branch}.py python${branch}-config] {
-            file rename -force ${destroot}${framewdir}/bin/${bin} ${destroot}${prefix}/bin
-            ln -s ${prefix}/bin/${bin} ${destroot}${framewdir}/bin/${bin}
-        }
-
-        foreach dir { Headers Resources Python Versions/Current } {
-            file delete ${destroot}${framewpath}/${dir}
-        }
-
-        # install select file for python_select
-        xinstall -m 755 -d ${destroot}${prefix}/etc/select/python
-        xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/
+   set framewpath ${prefix}/Library/Frameworks/Python.framework
+   set framewdir  ${framewpath}/Versions/${branch}
+
+   foreach dir { lib include } {
+      file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}
+      ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
+   }
+
+   file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
+   ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
+
+   file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1
+
+   # delete symlinks without version suffix, use python_select instead to choose version
+   foreach bin { python pythonw idle pydoc smtpd.py python-config } {
+      file delete ${destroot}${prefix}/bin/${bin}
+   }
+   foreach bin [list python${branch} pythonw${branch} idle${branch} pydoc${branch} smtpd${branch}.py python${branch}-config] {
+      file rename -force ${destroot}${framewdir}/bin/${bin} ${destroot}${prefix}/bin
+      ln -s ${prefix}/bin/${bin} ${destroot}${framewdir}/bin/${bin}
+   }
+
+   foreach dir { Headers Resources Python Versions/Current } {
+      file delete ${destroot}${framewpath}/${dir}
+   }
+
+   # install select file for python_select
+   xinstall -m 755 -d ${destroot}${prefix}/etc/select/python
+   xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/
 }
 
 post-activate {
-    ui_msg "\nTo fully complete your installation and make python $branch the default, please run
+   ui_msg "\nTo fully complete your installation and make python $branch the default, please run
 \n\tsudo port install python_select \
 \n\tsudo python_select $name\n"
 }
 
 platform darwin 7 {
-        # there is no SystemStubs on 10.3
-        post-patch {
-                reinplace "s|-lSystemStubs||g" \
-                        configure configure.in
-        }
-        post-configure {
-                reinplace "s|-lSystemStubs||g" \
-                        Makefile.pre.in Makefile.pre Makefile
-        }
-        # To avoid GCC incompatibility issue. See http://nxg.me.uk/note/2004/restFP/ (by ebgssth@gmail.com, ticket #13322)
-        configure.ldflags-append "-lcc_dynamic"
+   # there is no SystemStubs on 10.3
+   post-patch {
+      reinplace "s|-lSystemStubs||g" configure configure.in
+   }
+   post-configure {
+      reinplace "s|-lSystemStubs||g" Makefile.pre.in Makefile.pre Makefile
+   }
+   # To avoid GCC incompatibility issue. See http://nxg.me.uk/note/2004/restFP/ (by ebgssth@gmail.com, ticket #13322)
+   configure.ldflags-append   "-lcc_dynamic"
 }
 
 platform darwin 8 {
-        # TODO: would configure.compiler be more appropriate?
-        configure.args-append           --with-cxx=/usr/bin/g++-4.0
+   # TODO: would configure.compiler be more appropriate?
+   configure.args-append   --with-cxx=/usr/bin/g++-4.0
 }
 
 platform darwin 9 {
-        configure.cppflags-append       -D__DARWIN_UNIX03
+   configure.cppflags-append   -D__DARWIN_UNIX03
 }
 
 variant universal {
-        configure.args-append           --enable-universalsdk
+   configure.args-append   --enable-universalsdk
 }
 
 livecheck.check         regex
 livecheck.url           ${homepage}download/releases/
 livecheck.regex         Python (${branch}.\[0-9\]+)
+

