source: trunk/dports/gnome/ghex/Portfile @ 115615

Last change on this file since 115615 was 115615, checked in by cal@…, 5 years ago

add gtk3-devel port at the request of devans, rewrite dependencies to be satisfyable using gtk3-devel, closes #42040

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 115615 2014-01-07 00:28:17Z cal@macports.org $
3
4PortSystem      1.0
5
6name            ghex
7version         3.10.0
8license         GPL-2+
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     GHex - a binary editor.
11long_description \
12                GHex allows the user to load data from any file, \
13                view and edit it in either hex or ascii. A must for \
14                anyone playing games that use non-ascii format for saving.
15maintainers     gmail.com:juanrgar openmaintainer
16categories      gnome
17platforms       darwin
18homepage        https://wiki.gnome.org/Apps/Ghex
19master_sites    gnome:sources/${name}/${branch}/
20
21use_xz          yes
22
23checksums       rmd160  30153d2919a55a61e9943bac61cade132174d586 \
24                sha256  9c31383b1d32c8942ca0327c615336f5777309674c4fc090e8cceb1576c63255
25
26depends_build   port:pkgconfig \
27                port:intltool \
28                port:itstool \
29                port:yelp-tools
30
31depends_lib     port:desktop-file-utils \
32                port:atk \
33                path:lib/pkgconfig/gtk+-3.0.pc:gtk3
34
35depends_run     port:yelp \
36                port:gnome-settings-daemon
37
38configure.cflags-append \
39                -Wno-format-nonliteral
40
41configure.args  --disable-schemas-compile
42
43post-activate {
44    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
45    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
46    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
47}
48
49livecheck.type  gnome
Note: See TracBrowser for help on using the repository browser.