source: trunk/dports/gnome/libpanel-applet2/Portfile @ 107312

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

libpanel-applet2: new port, legacy libpanel-applet-2.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
RevLine 
[107312]1# -*- 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
2# $Id: Portfile 107312 2013-06-25 16:09:27Z devans@macports.org $
3
4PortSystem      1.0
5
6name            libpanel-applet2
7set gname       gnome-panel
8#
9# This is the last version of gnome-panel that provides libpanel-applet-2.0
10# installs libpanel-applet-2.0 only. Newer libpanel-applet-3.0 provided
11# by later gnome-panel versions installs in parallel without conflict.
12#
13version         2.30.2
14set branch      [join [lrange [split ${version} .] 0 1] .]
15maintainers     devans openmaintainer
16categories      gnome
17license         GPL-2+ LGPL-2+
18platforms       darwin
19description     Legacy libpanel-applet-2.0 for the GNOME 2 Desktop.
20
21long_description \
22                ${description}
23
24homepage        http://www.gnome.org/
25master_sites    gnome:sources/${gname}/${branch}/
26
27distname        ${gname}-${version}
28
29use_bzip2       yes
30
31checksums       md5     11b6db12223c70a218a2f4602b1683cc \
32                sha1    4be902269d4dd4af1e988d522ae613946890ec0a \
33                rmd160  b5828e0235a6fb5faa011179ff8fcc0574bf3c6b
34
35depends_build   port:pkgconfig \
36                port:intltool \
37                port:gnome-doc-utils \
38                port:gtk-doc \
39                port:shared-mime-info
40
41depends_lib     port:gnome-desktop \
42                port:gnome-menus \
43                port:policykit-gnome \
44                port:libbonoboui \
45                port:libcanberra \
46                port:librsvg \
47                port:libwnck \
48                port:libgweather
49
50patchfiles      patch-configure.diff \
51                patch-Makefile.in.diff
52 
53configure.args  --x-includes=${prefix}/include \
54                --x-libraries=${prefix}/lib \
55                --with-in-process-applets=none \
56                --disable-scrollkeeper \
57                --disable-silent-rules \
58                --disable-eds \
59                --disable-network-manager \
60                --disable-schemas-install
61
62variant python25 conflicts python26 python27 description {Build using Python 2.5} {
63    configure.python          ${prefix}/bin/python2.5
64    depends_build-append      port:python25
65}
66
67variant python26 conflicts python25 python27 description {Build using Python 2.6} {
68    configure.python          ${prefix}/bin/python2.6
69    depends_build-append      port:python26
70}
71
72variant python27 conflicts python25 python26 description {Build using Python 2.7} {
73    configure.python          ${prefix}/bin/python2.7
74    depends_build-append      port:python27
75}
76
77if {![variant_isset python25] && ![variant_isset python26]} {
78    default_variants +python27
79}
80
81post-destroot {
82    file delete -force ${destroot}${prefix}/bin
83    file delete -force ${destroot}${prefix}/share
84}
85
86livecheck.type none
Note: See TracBrowser for help on using the repository browser.