source: trunk/dports/gnome/gnome-font-viewer/Portfile

Last change on this file was 153338, checked in by devans@…, 14 months ago

gnome-font-viewer: update to version 3.22.0, remove outdated pre-activate check.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 153338 2016-09-29 05:04:26Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gnome-font-viewer
7version             3.22.0
8license             GPL-2
9set branch          [join [lrange [split ${version} .] 0 1] .]
10description         GNOME font viewer and thumbnailer.
11long_description    GNOME font viewer can preview fonts and create thumbnails for fonts.
12
13maintainers         juanrgar devans openmaintainer
14categories          gnome
15platforms           darwin
16homepage            https://www.gnome.org
17master_sites        gnome:sources/${name}/${branch}/
18
19use_xz              yes
20
21checksums           rmd160  91d6aa1983ba08543d079babfef7af4a5917133f \
22                    sha256  bd27cbc523016711508d7913878f32e262893cfcc7e10795171dbf8e35af9be0
23
24depends_build       port:pkgconfig \
25                    port:intltool \
26                    port:gnome-common \
27                    port:autoconf \
28                    port:automake \
29                    port:libtool
30
31depends_lib         port:desktop-file-utils \
32                    port:gsettings-desktop-schemas \
33                    port:gtk3 \
34                    port:gnome-desktop \
35                    port:fontconfig \
36                    port:freetype
37
38depends_run         port:gnome-themes-standard
39
40# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
41
42post-patch {
43    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
44}
45
46configure.cmd       ./autogen.sh
47
48configure.args      --disable-schemas-compile \
49                    --disable-silent-rules
50
51# port installs desktop application file
52post-activate {
53    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
54}
55
56livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.