# -*- 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
PortGroup active_variants 1.1
name gnome-chemistry-utils
set major [join [lrange [split ${version} .] 0 1] .]
categories gnome science chemistry
platforms darwin linux freebsd
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 https://download.savannah.gnu.org/releases/gchemutils/${major}/
checksums sha256 add1433fcaa9861b59426d8db236e51047752b47fd788575ee0fe2dc3af3926e \
rmd160 096bf5606326ee894885a81a0160b9600a1f4477
depends_build port:pkgconfig \
depends_lib port:desktop-file-utils \
port:chemical-mime-data \
depends_run port:adwaita-icon-theme \
patchfiles patch-libs-gcr-document.cc.diff \
patch-plugins-loaders.diff
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility