[109646] trunk/dports/gnome/gnome-chemistry-utils/Portfile

cal at macports.org cal at macports.org
Mon Aug 19 02:23:30 PDT 2013


Revision: 109646
          https://trac.macports.org/changeset/109646
Author:   cal at macports.org
Date:     2013-08-19 02:23:30 -0700 (Mon, 19 Aug 2013)
Log Message:
-----------
gnome-chemistry-utils: blacklist clang due to #39863, simplify dependencies, enable introspection, closes #39863.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-chemistry-utils/Portfile

Modified: trunk/dports/gnome/gnome-chemistry-utils/Portfile
===================================================================
--- trunk/dports/gnome/gnome-chemistry-utils/Portfile	2013-08-19 09:05:57 UTC (rev 109645)
+++ trunk/dports/gnome/gnome-chemistry-utils/Portfile	2013-08-19 09:23:30 UTC (rev 109646)
@@ -7,10 +7,11 @@
 
 name                gnome-chemistry-utils
 version             0.14.2
+revision            1
 set major           [join [lrange [split ${version} .] 0 1] .]
 
 categories          gnome science chemistry
-platforms           darwin linux
+platforms           darwin linux freebsd
 maintainers         nomaintainer
 license             GPL-3
 
@@ -35,12 +36,9 @@
 
 depends_build       port:autoconf \
                     port:intltool \
-                    port:gnome-doc-utils \
                     port:pkgconfig
-
-depends_lib         port:gtk3 \
-                    port:goffice \
-                    port:libxml2 \
+                    
+depends_lib         port:goffice \
                     port:gnome-doc-utils \
                     port:openbabel \
                     port:bodr \
@@ -48,28 +46,38 @@
                     port:gnome-mime-data \
                     port:mesa
 
-depends_run         port:yelp
 
 configure.args      --disable-scrollkeeper \
-                    --disable-update-databases
+                    --disable-update-databases \
+                    --enable-introspection
 
 
+# compiling with clang leads to gchempaint's close button being broken, #39863
+compiler.blacklist  *clang*
+
+
 # TODO: work with the upstream devs to make a +quartz variant…
 #       currently it fails to build in a +quartz environment
 #       due to <gdk/gdkx.h> and OpenGL dependencies in the code.
 require_active_variants gtk3 x11
 
-notes \
-"Recommended supplementary ports:
-    gnome-themes-standard  provides the default Gnome Adwaita theme
-    gnome-icon-themes      provides the default Gnome icon resources"
-
 post-activate {
     catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"}
     catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
+    catch {system "${prefix}/bin/scrollkeeper-update"}
+    catch {system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"}
+    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
 }
 
 post-deactivate {
     catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"}
     catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
+    catch {system "${prefix}/bin/scrollkeeper-update"}
+    catch {system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"}
+    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
 }
+
+notes \
+"Recommended supplementary ports:
+    gnome-themes-standard  provides the default Gnome Adwaita theme
+    yelp                   provides a help browser for Gnome apps"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130819/3c9a30ba/attachment.html>


More information about the macports-changes mailing list