source: users/devans/GNOME-3/stable/dports/net/libgweather/Portfile @ 119139

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

GNOME-3/stable: sync updated ports with trunk.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 119139 2014-04-18 02:43:12Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libgweather
7version         3.12.1
8set branch      [join [lrange [split ${version} .] 0 1] .]
9maintainers     devans openmaintainer
10categories      net gnome
11license         GPL-2+ LGPL-2.1+
12platforms       darwin
13description     Library to accessing online weather informations.
14
15long_description \
16                libgweather is a library to access weather \
17                information from online services for numerous \
18                locations.
19
20homepage        https://wiki.gnome.org/Projects/LibGWeather
21master_sites    gnome:sources/${name}/${branch}/
22
23use_xz          yes
24
25checksums       rmd160  5cba92891d94fb58461a8085ad202e66ca6c942f \
26                sha256  e8e3a6c5f3a6e4e128afecdc4a95e6228d3d8afdaabaf10483168621527cfba8
27
28depends_build   port:pkgconfig \
29                port:intltool \
30                port:autoconf \
31                port:automake \
32                port:libtool \
33                port:gnome-common \
34                port:gtk-doc
35
36depends_lib     port:gtk3 \
37                port:libxml2 \
38                port:libsoup \
39                port:gobject-introspection \
40                port:vala
41
42# use autogen.sh from upstream git to update m4/intltool.m4 using intltoolize and autoreconf
43
44post-patch {
45    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
46    file delete -force ${worksrcpath}/m4
47}
48
49configure.cmd   ./autogen.sh
50
51configure.cflags-append \
52                -Wno-error=format-nonliteral
53
54configure.args  --enable-introspection=yes \
55                --enable-vala=yes \
56                --disable-schemas-compile \
57                --disable-silent-rules \
58                --disable-glibtest
59
60post-activate {
61    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
62}
63
64livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.