Index: trunk/dports/aqua/emacs-app/Portfile
===================================================================
--- trunk/dports/aqua/emacs-app/Portfile	(revision 89439)
+++ trunk/dports/aqua/emacs-app/Portfile	(revision 89440)
@@ -2,40 +2,61 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name		emacs-app
-version		23.4
-categories	aqua editors
-license		GPL-3+
-maintainers	css hum openmaintainer
-description	The GNU Emacs text editor (Cocoa version)
+name                emacs-app
+version             23.4
+categories          aqua editors
+maintainers         css hum openmaintainer
 
-long_description	GNU Emacs is a self-documenting, customizable,      \
-	extensible real-time display editor. This is a port of the latest   \
-	GNU Emacs source to the OpenStep (or NeXTstep) APIs, as implemented \
-	by Cocoa on OS X. It differs from Carbon ports of GNU Emacs in that \
-	it makes a more concerted attempt from the ground up to follow OS X \
-	desktop and UI conventions.
+description         The GNU Emacs text editor (Cocoa version)
+
+long_description    GNU Emacs is a self-documenting, customizable, extensible  \
+                    real-time display editor. This is a port of the latest GNU \
+                    Emacs source to the OpenStep (or NeXTstep) APIs, as        \
+                    implemented by Cocoa on OS X. It differs from Carbon ports \
+                    of GNU Emacs in that it makes a more concerted attempt     \
+                    from the ground up to follow OS X desktop and UI conventions.
 
 # Note that this distribution can support GNUstep as well, but that
 # configuration is untested at this time.
 
-platforms	darwin
-homepage	http://www.gnu.org/software/emacs/
-master_sites	gnu:emacs
-dist_subdir     emacs
-distname	emacs-${version}
+homepage            http://www.gnu.org/software/emacs/
+platforms           darwin
+license             GPL-3+
+
+master_sites        gnu:emacs
+distname            emacs-${version}
+dist_subdir         emacs
 checksums           rmd160  5fb7e4cd4270a524b8723ad86a145a0e47336bf7 \
                     sha256  b9a2b8434052771f797d2032772eba862ff9aa143029efc72295170607289c18
 
-depends_lib     port:ncurses
-use_parallel_build      yes
+depends_lib         port:ncurses
 
-configure.args	--with-ns --without-x --without-dbus
-
-patchfiles      patch-src_emacs.c.diff
+patchfiles          patch-src_emacs.c.diff
 
 if {${configure.compiler} == "clang"} {
     patchfiles-append   patch-clang.diff
+}
+
+post-patch {
+    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
+}
+
+configure.args      --with-ns --without-x --without-dbus
+
+use_parallel_build  yes
+
+destroot {
+    system "cd ${worksrcpath} && make install"
+    xinstall -m 755 -d ${destroot}${applications_dir}
+    file copy ${worksrcpath}/nextstep/Emacs.app \
+        ${destroot}${applications_dir}
+    file copy ${filespath}/site-start.el \
+        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
+}
+
+post-destroot {
+    reinplace "s|__PREFIX__|${prefix}|g" \
+        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
 }
 
@@ -44,5 +65,5 @@
 #   http://www.sanityinc.com/full-screen-support-for-cocoa-emacs-on-osx
 variant fullscreen description {Add fullscreen patch} {
-    patchfiles-append patch-fullscreen.diff
+    patchfiles-append   patch-fullscreen.diff
 }
 
@@ -52,11 +73,10 @@
 # patch-macemacsjp-inline.diff <= emacs-inline.patch
 # patch-macemacsjp-jpfont.diff <= font.patch
-
 variant inline description {Add inline patch from MacEmacsJP} {
-    patchfiles-append patch-macemacsjp-inline.diff
+    patchfiles-append   patch-macemacsjp-inline.diff
 }
 
 variant jpfont description {Add Japanese font patch from MacEmacsJP} {
-    patchfiles-append patch-macemacsjp-jpfont.diff
+    patchfiles-append   patch-macemacsjp-jpfont.diff
 }
 
@@ -64,30 +84,12 @@
 
 platform darwin 11 {
-   patchfiles-append	patch-fix-title-bar.diff
+   patchfiles-append    patch-fix-title-bar.diff
    # patch-lion-fullscreen.diff
    #   https://github.com/downloads/typester/emacs/emacs-23-lion-fullscreen-test.patch
    if {[variant_isset fullscreen]} {
-       patchfiles-append    patch-lion-fullscreen.diff
+       patchfiles-append   patch-lion-fullscreen.diff
    }
-   configure.cflags-append	-fno-pie -O2
-   configure.ldflags-append	-fno-pie
-}
-
-post-patch {
-    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
-}
-
-destroot {
-        system "cd ${worksrcpath} && make install"
-	xinstall -m 755 -d ${destroot}${applications_dir}
-	file copy ${worksrcpath}/nextstep/Emacs.app \
-		${destroot}${applications_dir}
-	file copy ${filespath}/site-start.el \
-		${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
-}
-
-post-destroot {
-	reinplace "s|__PREFIX__|${prefix}|g" \
-		${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
+   configure.cflags-append   -fno-pie -O2
+   configure.ldflags-append  -fno-pie
 }
 
