[122002] users/devans/dports/net/pidgin/Portfile

devans at macports.org devans at macports.org
Sat Jul 12 19:21:10 PDT 2014


Revision: 122002
          https://trac.macports.org/changeset/122002
Author:   devans at macports.org
Date:     2014-07-12 19:21:10 -0700 (Sat, 12 Jul 2014)
Log Message:
-----------
devans/dports: pidgin, indent subport code for clarity.

Modified Paths:
--------------
    users/devans/dports/net/pidgin/Portfile

Modified: users/devans/dports/net/pidgin/Portfile
===================================================================
--- users/devans/dports/net/pidgin/Portfile	2014-07-13 02:15:28 UTC (rev 122001)
+++ users/devans/dports/net/pidgin/Portfile	2014-07-13 02:21:10 UTC (rev 122002)
@@ -103,64 +103,61 @@
 
 if {${subport} eq $name} {
 
-# nss is not universal
-universal_variant   no
+    # nss is not universal
+    universal_variant   no
 
-variant finch_only requires finch description {Build without pidgin} {
-    configure.args-append   --disable-gtkui
-}
+    variant finch_only requires finch description {Build without pidgin} {
+        configure.args-append   --disable-gtkui
+    }
 
-variant finch description {Build with finch} {
-    configure.args-delete   --disable-consoleui
-    patchfiles-append       patch-finch_libgnt_Makefile.in.diff patch-finch_libgnt_gntwm.c
-}
+    variant finch description {Build with finch} {
+        configure.args-delete   --disable-consoleui
+        patchfiles-append       patch-finch_libgnt_Makefile.in.diff patch-finch_libgnt_gntwm.c
+    }
 
-variant x11 conflicts no_x11 quartz {
-    depends_lib-append      port:xorg-libX11 \
-                            port:xorg-libXext \
-                            port:xorg-libXScrnSaver \
-                            port:xorg-libice \
-                            port:xorg-libsm
+    variant x11 conflicts no_x11 quartz {
+        depends_lib-append      port:xorg-libX11 \
+                                port:xorg-libXext \
+                                port:xorg-libXScrnSaver \
+                                port:xorg-libice \
+                                port:xorg-libsm
 
-    configure.args-delete   --without-x \
-                            --disable-screensaver \
-                            --disable-sm
+        configure.args-delete   --without-x \
+                                --disable-screensaver \
+                                --disable-sm
 
-    configure.args-append   --with-x \
-                            --x-includes=${prefix}/include \
-                            --x-libraries=${prefix}/lib \
-                            --enable-screensaver \
-                            --enable-sm
-}
+        configure.args-append   --with-x \
+                                --x-includes=${prefix}/include \
+                                --x-libraries=${prefix}/lib \
+                                --enable-screensaver \
+                                --enable-sm
+    }
 
-# Legacy no_x11 variant to be removed after May 2015.
-variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
+    # Legacy no_x11 variant to be removed after May 2015.
+    variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
 
-if {[variant_isset no_x11] || [variant_isset quartz]} {
-    default_variants -x11
-} else {
-    default_variants +x11
-}
+    if {[variant_isset no_x11] || [variant_isset quartz]} {
+        default_variants -x11
+    } else {
+        default_variants +x11
+    }
 
-variant quartz conflicts x11 {
-    configure.args-append   --disable-gestures
-}
+    variant quartz conflicts x11 {
+        configure.args-append   --disable-gestures
+    }
 
-variant spellcheck description {Allow spell checking} {
-    depends_lib-append      port:gtkspell2
-    configure.args-delete   --disable-gtkspell
-}
+    variant spellcheck description {Allow spell checking} {
+        depends_lib-append      port:gtkspell2
+        configure.args-delete   --disable-gtkspell
+    }
 
-post-activate {
-    system "dbus-uuidgen --ensure"
-    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
-    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
-        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+    post-activate {
+        system "dbus-uuidgen --ensure"
+        system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+            gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+    }
 }
-
-# end subport eq name
-
-}
     
 # Python is only required if --enable-dbus is used, and only for
 # the build process to generate the dbus code, not for running pidgin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140712/ffc6ea3f/attachment.html>


More information about the macports-changes mailing list