source: trunk/dports/gnome/gnome-calculator/Portfile @ 148420

Last change on this file since 148420 was 148420, checked in by devans@…, 4 years ago

gnome-calculator: update to version 3.20.1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148420 2016-05-07 22:39:03Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           compiler_blacklist_versions 1.0
6
7name                gnome-calculator
8version             3.20.1
9license             GPL-3
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         Calculator with financial and scientific modes.
12long_description    Calculator is an application that solves mathematical equations \
13                    and is suitable as a default application in a Desktop environment.
14maintainers         devans openmaintainer
15categories          gnome
16platforms           darwin
17homepage            https://wiki.gnome.org/Apps/Calculator
18master_sites        gnome:sources/${name}/${branch}/
19
20use_xz              yes
21
22checksums           rmd160  1523acb5842791cb6270813da75ed6541e5117a0 \
23                    sha256  02edcf99857599ac10ecd2faaf33ad20a9f11f7c5a89a52ee1b511d99b594b90
24
25depends_build       port:pkgconfig \
26                    port:intltool \
27                    port:itstool \
28                    port:autoconf \
29                    port:automake \
30                    port:libtool
31
32depends_lib         port:desktop-file-utils \
33                    port:gtk3 \
34                    port:gtksourceview3 \
35                    port:libxml2 \
36                    port:mpfr \
37                    port:vala
38
39depends_run         port:gnome-themes-standard \
40                    port:yelp
41
42# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
43
44post-patch {
45    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
46}
47
48configure.cmd       ./autogen.sh
49
50# blacklist compilers that do not support C11 (redefinition of typedef ‘GtkSourceTag’ at gtksourceview/gtksourcetag.h:35)
51compiler.blacklist  *gcc* {clang < 300}
52
53configure.args      --disable-schemas-compile \
54                    --disable-silent-rules
55
56post-activate {
57   system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
58   system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
59}
60
61livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.