source: trunk/dports/gnome/gucharmap/Portfile @ 115042

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

some ports that reference libpng15: increment revision to rebuild with libpng 1.6.*

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
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 115042 2013-12-23 06:18:24Z devans@macports.org $
3
4PortSystem      1.0
5
6name            gucharmap
7version         3.10.1
8revision        1
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     gucharmap is a featureful unicode character map.
11long_description ${description}
12maintainers     devans openmaintainer
13categories      gnome
14license         GPL-2+
15platforms       darwin
16homepage        https://wiki.gnome.org/Apps/Gucharmap
17master_sites    gnome:sources/${name}/${branch}/
18
19use_xz          yes
20
21checksums       rmd160  d9f1fa3846baea19fd05fbe469407acddf1b374c \
22                sha256  04e8606c65adb14d267b50b1cf9eb4fee92bd9c5ab512a346bd4c9c686403f78
23
24depends_build   port:pkgconfig \
25                port:intltool \
26                port:itstool \
27                port:gtk-doc
28
29depends_lib     port:desktop-file-utils \
30                port:gtk3 \
31                port:gobject-introspection \
32                port:vala
33
34depends_run     port:gnome-settings-daemon \
35                port:yelp
36
37use_parallel_build no
38
39configure.args  --with-gtk=3.0 \
40                --enable-introspection=yes \
41                --enable-vala=yes \
42                --disable-Bsymbolic \
43                --disable-schemas-compile \
44                --disable-silent-rules
45
46platform darwin {
47    if {${os.major} > 9} {
48        depends_lib-delete      port:gobject-introspection \
49                                port:vala
50        configure.args-delete   --enable-introspection=yes \
51                                --enable-vala=yes
52        configure.args-append   --enable-introspection=no \
53                                --enable-vala=no
54    }
55}
56
57# gobject-introspection uses g-ir-scanner, which uses $CC from env
58build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
59
60post-activate   {
61    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
62    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
63}
64
65livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.