source: trunk/dports/gnome/ghex/Portfile

Last change on this file was 153979, checked in by devans@…, 11 months ago

ghex: updated to version 3.18.3.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 153979 2016-10-17 02:40:06Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compiler_blacklist_versions 1.0
6
7name                ghex
8version             3.18.3
9license             GPL-2+
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         GHex - a binary editor.
12long_description    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         juanrgar devans 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  50fff8a7e3ecf146c96d69bff9a3d7a3be017412 \
24                    sha256  c67450f86f9c09c20768f1af36c11a66faf460ea00fbba628a9089a6804808d3
25
26depends_build       port:pkgconfig \
27                    port:intltool \
28                    port:itstool \
29                    port:yelp-tools \
30                    port:gnome-common \
31                    port:autoconf \
32                    port:automake \
33                    port:libtool
34
35depends_lib         port:desktop-file-utils \
36                    port:atk \
37                    port:gtk3
38
39depends_run         port:yelp \
40                    port:gnome-themes-standard
41
42# blacklist old compilers that do not support gcc diagnostic pragmas in functions
43compiler.blacklist  *gcc* {clang < 300}
44
45# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
46
47post-patch {
48    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
49}
50
51configure.cmd       ./autogen.sh
52
53configure.args      --disable-silent-rules \
54                    --enable-compile-warnings=minimum \
55                    --disable-schemas-compile
56
57post-activate {
58    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
59    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
60    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/HighContrast"
61    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
62}
63
64livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.