[96156] trunk/dports/aqua/emacs-app/Portfile

hum at macports.org hum at macports.org
Wed Aug 1 21:41:58 PDT 2012


Revision: 96156
          https://trac.macports.org/changeset/96156
Author:   hum at macports.org
Date:     2012-08-01 21:41:57 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
emacs-app: add autoconf to depends_lib; set universal_variant no; reformat fullscreen variant.

Modified Paths:
--------------
    trunk/dports/aqua/emacs-app/Portfile

Modified: trunk/dports/aqua/emacs-app/Portfile
===================================================================
--- trunk/dports/aqua/emacs-app/Portfile	2012-08-02 04:02:53 UTC (rev 96155)
+++ trunk/dports/aqua/emacs-app/Portfile	2012-08-02 04:41:57 UTC (rev 96156)
@@ -30,6 +30,8 @@
 checksums           rmd160  0fed00042339f46b29449bd561d2f881d13d8d38 \
                     sha256  60d26dd1d9c0b955543ae83a2f4dd7c8b6af59e16a06822cfb175f1bf97c8bab
 
+depends_build       port:autoconf
+
 depends_lib         port:ncurses
 
 patchfiles          patch-src_emacs.c.diff
@@ -40,6 +42,8 @@
 
 configure.args      --with-ns --without-x --without-dbus
 
+universal_variant   no
+
 destroot {
     system -W ${worksrcpath} "make install"
     xinstall -m 755 -d ${destroot}${applications_dir}
@@ -52,16 +56,16 @@
 }
 
 variant fullscreen description {Add fullscreen patch} {
-    if {${os.major} < 11} {
+    if {${os.major} >= 11} {
+        # patch-lion-fullscreen.diff
+        # https://gist.github.com/1355895
+        # http://techresearchinfo.blogspot.jp/2011/12/emacs-24-on-lion-mention-top-right.html
+        patchfiles-append   patch-lion-fullscreen.diff
+    } else {
         # patch-fullscreen.diff
         # http://cloud.github.com/downloads/hh/emacs/feature-fullscreen.patch
         # http://untree.com/post/7649492902/building-a-fullscreen-enabled-emacs-24-on-mac-os-x-snow
         patchfiles-append   patch-fullscreen.diff
-    } else {
-        # patch-lion-fullscreen.diff
-        # https://gist.github.com/1355895
-        # http://techresearchinfo.blogspot.jp/2011/12/emacs-24-on-lion-mention-top-right.html
-        patchfiles-append   patch-lion-fullscreen.diff
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/34f3d603/attachment.html>


More information about the macports-changes mailing list