# -*- 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 name gcalctool version 6.6.2 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description A GNOME desktop calculator. long_description \ gcalctool is the desktop calculator that has been proposed \ for GNOME. It has Basic, Financial and Scientific modes. maintainers nomaintainer categories gnome math license GPL-2+ platforms darwin homepage http://calctool.sourceforge.net/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 44c8392e27a078c2e4dff35067baff18569c263b \ sha256 e708a16cc758c3a9fcb07e9c3e45989f7d9d64e2993f440e99707fcea3e1b76c depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:gnome-common \ port:yelp-tools \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtk3 \ port:libxml2 depends_run port:gnome-settings-daemon \ port:yelp # reconfigure using upstream autogen.sh for intltool 0.51 compatibility configure.cmd ./autogen.sh configure.args --enable-compile-warnings=minimum \ --disable-schemas-compile post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome