[108474] trunk/dports/gnome

cal at macports.org cal at macports.org
Tue Jul 23 18:49:27 PDT 2013


Revision: 108474
          https://trac.macports.org/changeset/108474
Author:   cal at macports.org
Date:     2013-07-23 18:49:27 -0700 (Tue, 23 Jul 2013)
Log Message:
-----------
gnome-chemistry-utils: new port, closes #39619

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

Added: trunk/dports/gnome/gnome-chemistry-utils/Portfile
===================================================================
--- trunk/dports/gnome/gnome-chemistry-utils/Portfile	                        (rev 0)
+++ trunk/dports/gnome/gnome-chemistry-utils/Portfile	2013-07-24 01:49:27 UTC (rev 108474)
@@ -0,0 +1,75 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+
+PortSystem          1.0
+PortGroup           active_variants 1.1
+
+name                gnome-chemistry-utils
+version             0.14.2
+set major           [join [lrange [split ${version} .] 0 1] .]
+
+categories          gnome science chemistry
+platforms           darwin linux
+maintainers         nomaintainer
+license             GPL-3
+
+description         This package provides a set of Gtk3-based applications for drawing \
+                    and viewing molecules, crystals and spectra.
+                    
+long_description    This package provides the following programs: \
+                    \n-  GChem3D displays molecule structures in 3D \
+                    \n-  GChemCalc provides calculations for chemistry \
+                    \n-  GChemPaint draws 2D chemical structures and reactions \
+                    \n-  GChemTable provides the periodic table of the elements \
+                    \n-  GCrystal displays and edits 3D crystal structures \
+                    \n-  GSpectrum displays spectra files (NMR, IR, etc) \
+                    \n-  Includes plugins for Gnumeric spreadsheet
+
+homepage            http://gchemutils.nongnu.org/index.html
+master_sites        http://download.savannah.gnu.org/releases/gchemutils/${major}/
+use_xz              yes
+
+checksums           sha256  85462b95b9d72e95b34ebaa0d07dc101595adf2159e480e3483ab8f440028dfe \
+                    rmd160  981652a5650ff7b1bed7718085274c8a492fda9b
+
+depends_build       port:autoconf \
+                    port:intltool \
+                    port:gnome-doc-utils \
+                    port:pkgconfig
+
+depends_lib         port:gtk3 \
+                    port:goffice \
+                    port:libxml2 \
+                    port:gnome-doc-utils \
+                    port:openbabel \
+                    port:bodr \
+                    port:chemical-mime-data \
+                    port:gnome-mime-data \
+                    port:mesa
+
+depends_run         port:yelp
+
+configure.args      --disable-scrollkeeper \
+                    --disable-update-databases
+
+
+# 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"}
+}
+
+post-deactivate {
+    catch {system "${prefix}/bin/update-mime-database ${prefix}/share/mime"}
+    catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
+}


Property changes on: trunk/dports/gnome/gnome-chemistry-utils/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130723/98eab45f/attachment.html>


More information about the macports-changes mailing list