source: trunk/dports/net/libgweather/Portfile @ 71696

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

As a simplification, remove p5-xml-parser as a dependency when its dependent intltool is also declared.

  • 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 71696 2010-09-20 16:50:12Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libgweather
7version         2.30.2
8revision        1
9set branch      [join [lrange [split ${version} .] 0 1] .]
10maintainers     devans openmaintainer
11categories      net gnome
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        http://www.gnome.org/
21master_sites    gnome:sources/${name}/${branch}/
22use_bzip2       yes
23
24checksums       md5     050f4ed212261c2a147c89012d5daa90 \
25                sha1    0b871e517a45314ff9b6701d406fa57224326e04 \
26                rmd160  3950b8342e4e5fe5435c780193dc19f978e6f375
27
28depends_build   port:pkgconfig \
29                port:intltool \
30                port:gtk-doc
31
32depends_lib     port:gconf \
33                port:libsoup \
34                port:py26-gtk
35
36patchfiles      patch-python-prefix.diff
37
38configure.args  --disable-schemas-install \
39                --disable-silent-rules \
40                --disable-glibtest \
41                --enable-python
42
43configure.python ${prefix}/bin/python2.6
44set python_framework ${frameworks_dir}/Python.framework/Versions/2.6
45configure.pkg_config_path ${python_framework}/lib/pkgconfig
46
47#
48# ensure build path contains path to python executables (#26201)
49#
50
51build.env       PATH=${python_framework}/bin:$env(PATH)
52
53#
54# py26-gtk -> py26-cairo -> py26-numpy -> atlas is not universal
55
56universal_variant no
57
58post-activate {
59    system "\
60        GCONF_CONFIG_SOURCE= \
61        gconftool-2 --makefile-install-rule \
62            ${prefix}/etc/gconf/schemas/gweather.schemas"
63}
64
65livecheck.type  regex
66livecheck.url   http://ftp.gnome.org/pub/gnome/sources/$name/$branch/
67livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.