# -*- 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 glom version 1.28.9 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 b91c1db5e67f4281cc5d57cb8f7eea475846f1b5 \ sha256 8ad6664adfcca91fe30f17595f0db10b89ff66b450dba930d3cf4252dae2bbbd # set pbranch to desired perl version # currently 5.24 (#52081) set pbranch 5.24 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:py27-sphinx \ port:perl${pbranch} depends_lib port:desktop-file-utils \ port:libarchive \ port:gtkmm3 \ port:boost \ port:libxml2 \ port:libxmlxx2 \ port:libgda5 \ port:libgdamm5 \ port:goocanvasmm2\ port:gtksourceviewmm3 \ port:postgresql94 \ port:py27-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 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh set python.branch 2.7 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_LIBS=' ' \ PYTHON_EXTRA_LDFLAGS=' ' configure.perl ${prefix}/bin/perl${pbranch} 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 livecheck.regex "LATEST-IS-(1\\.28(?:\\.\\d+)*)"