source: users/devans/GNOME-3/unstable/dports/net/libgweather/Portfile @ 119550

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

GNOME-3/unstable: commit additional ports for the GNOME 3.13 dev cycle.

  • atk 2.13.1
  • at-spi2-atk 2.13.1
  • at-spi2-core 2.13.1
  • libgweather 3.13.1
  • 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 119550 2014-04-30 09:02:21Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libgweather
7version         3.13.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  318a9aa905bd6e40e2c0eff2d4a0f25613291a44 \
26                sha256  b9820ef1d2c3818250b06b7a042898b6ebb63d1db8e0df16a3c0aec6e41ef7fd
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-with-unstable
Note: See TracBrowser for help on using the repository browser.