Ticket #41813: Portfile-ghex.diff
File Portfile-ghex.diff, 2.2 KB (added by juanrgar (Juan R. García Blanco), 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name ghex 7 version 2.24.0 8 revision 1 7 version 3.10.0 9 8 license GPL-2 10 9 set branch [join [lrange [split ${version} .] 0 1] .] 11 description GHex - a binary editor.10 description A binary editor for GNOME. 12 11 long_description \ 13 12 GHex allows the user to load data from any file, \ 14 13 view and edit it in either hex or ascii. A must for \ 15 14 anyone playing games that use non-ascii format for saving. 16 maintainers nomaintainer15 maintainers gmail.com:juanrgar openmaintainer 17 16 categories gnome 18 17 platforms darwin 19 18 homepage http://www.gnome.org/ 20 19 master_sites gnome:sources/${name}/${branch}/ 21 20 22 use_ bzip2yes21 use_xz yes 23 22 24 checksums md5 982b2a4e70e80d2166bcc782e989889c \ 25 sha1 6fd8e0df1cb6fb9fcf60cfa2bc88877713e4366c \ 26 rmd160 dfdcf1eda509246f805ab593cf4a3e8a06e831d7 23 checksums rmd160 30153d2919a55a61e9943bac61cade132174d586 \ 24 sha256 9c31383b1d32c8942ca0327c615336f5777309674c4fc090e8cceb1576c63255 27 25 28 26 depends_build port:pkgconfig \ 29 27 port:intltool \ 30 port: gnome-doc-utils28 port:itstool 31 29 32 30 depends_lib port:desktop-file-utils \ 33 port:libgnomeprintui \ 34 port:libgnomeui 35 36 depends_run port:yelp 37 38 configure.args --disable-schemas-install \ 39 --disable-scrollkeeper 31 port:gnome-icon-theme \ 32 port:gtk3 \ 33 port:dbus 34 35 depends_run port:gnome-settings-daemon \ 36 port:yelp 37 38 configure.args --enable-compile-warnings=no \ 39 --disable-schemas-install \ 40 --disable-silent-rules 40 41 41 42 post-activate { 42 43 system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" 43 system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ 44 gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" 44 system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" 45 45 } 46 46 47 47 livecheck.type gnome