# -*- 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 # as of version 1.29.5 requires C++11 to build # as of version 1.31.1 requires libxmlxx3 to build # as of version 1.31.2 uses C++14 PortGroup cxx11 1.0 name glom version 1.31.6 set branch [join [lrange [split ${version} .] 0 1] .] license GPL-2 description Glom is an easy-to-use database designer and user interface. long_description ${description} This version supports GTK+ 3 and the libgda-5.0 API. maintainers nomaintainer categories gnome databases platforms darwin homepage http://www.glom.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 4ad2acba1775cce9ebc37e9ea07ddf7f2b19a0ae \ sha256 6c5bb163e66d487f979763c3ca3437b56322581872429f1fc3af95f11a2eace0 depends_build port:pkgconfig \ port:autoconf \ port:automake \ port:libtool \ port:intltool \ port:itstool \ port:yelp-tools \ port:mm-common \ path:bin/dot:graphviz \ port:doxygen \ port:libxslt \ port:py34-sphinx depends_lib port:desktop-file-utils \ port:libarchive \ port:gtkmm3 \ port:boost \ port:libxml2 \ port:libxmlxx3 \ port:libgda5 \ port:libgdamm5 \ port:goocanvasmm2\ port:gtksourceviewmm3 \ port:postgresql94 \ port:py34-gobject3 \ port:libepc \ port:evince \ port:shared-mime-info depends_run port:gnome-themes-standard \ port:yelp \ port:gnome-keyring patchfiles patch-configure.ac.diff \ patch-glom-libglom-connectionpool.cc.diff require_active_variants libgda5 postgresql94 require_active_variants boost python34 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh set python.branch 3.4 set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} configure.pkg_config_path ${python.prefix}/lib/pkgconfig configure.python ${prefix}/bin/python${python.branch} configure.env SPHINX_BUILD=${prefix}/bin/sphinx-build-${python.branch} \ PYTHON_EXTRA_LDFLAGS=' ' configure.perl /usr/bin/perl configure.args --with-boost-python=mt \ --with-postgres-utils=${prefix}/lib/postgresql94/bin \ --disable-mysql \ --disable-silent-rules \ --disable-update-mime-database \ --disable-documentation universal_variant no post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" } # locale issues apparently only effect OS X 10.8 and earlier. if {${os.major} < 12} { notes " To work around known locale issues, set LANG=C when starting glom $ LANG=C glom " } livecheck.type gnome-with-unstable