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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gnome-dictionary |
---|
7 | version 3.10.0 |
---|
8 | license GPL-2,GFDL-1.1,LGPL-2.1 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | description GNOME dictionary application. |
---|
11 | long_description GNOME Dictionary can look for the definition or translation \ |
---|
12 | of a word in existing databases over the Internet. |
---|
13 | |
---|
14 | maintainers gmail.com:juanrgar openmaintainer |
---|
15 | categories gnome |
---|
16 | platforms darwin |
---|
17 | homepage https://www.gnome.org |
---|
18 | master_sites gnome:sources/${name}/${branch}/ |
---|
19 | |
---|
20 | use_xz yes |
---|
21 | |
---|
22 | checksums rmd160 0dbfc0bb96855e29fffb2f5af4a4eafc946e71c2 \ |
---|
23 | sha256 258b60fe50f7d0580a7dc3bb83f7fe2f6f0597d4013d97ac083c3f062c350ed7 |
---|
24 | |
---|
25 | depends_build port:pkgconfig \ |
---|
26 | port:intltool |
---|
27 | |
---|
28 | depends_lib port:desktop-file-utils \ |
---|
29 | port:gnome-icon-theme \ |
---|
30 | port:gsettings-desktop-schemas \ |
---|
31 | port:gtk3 \ |
---|
32 | port:dconf \ |
---|
33 | port:dbus |
---|
34 | |
---|
35 | depends_run port:gnome-settings-daemon \ |
---|
36 | port:yelp |
---|
37 | |
---|
38 | configure.args --disable-schemas-compile \ |
---|
39 | --disable-silent-rules |
---|
40 | |
---|
41 | # port installs desktop application file, and gschemas |
---|
42 | post-activate { |
---|
43 | system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
---|
44 | system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" |
---|
45 | } |
---|
46 | |
---|
47 | livecheck.type gnome |
---|