# -*- 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 # $Id$ PortSystem 1.0 name epiphany version 3.8.2 revision 4 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description A GNOME Web browser. long_description \ A web browser is more than an application, it is a \ way of thinking, it is a way of seeing the world. \ Epiphany's principles are simplicity and standards \ compliance. maintainers devans openmaintainer categories gnome www platforms darwin homepage https://wiki.gnome.org/Apps/Web master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 2aacd8b02f456e345b9f23ff6114d341bbf0013a \ sha256 ae89d6902ed243304d2cbf2fa361f6dd0cb3401fdaf726e6fdd4acc09197d50a depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gnome-icon-theme \ port:gnome-icon-theme-symbolic \ port:gtk3 \ path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \ port:gnome-desktop \ port:libxslt\ port:libsoup \ port:libsecret \ port:port:libnotify \ port:libwnck3 \ port:gsettings-desktop-schemas \ port:nss \ port:sqlite3 \ port:gcr \ port:avahi \ port:xorg-libX11 \ port:iso-codes depends_run port:gnome-settings-daemon \ port:gnome-keyring platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0 } } patchfiles patch-configure.ac.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.cflags-append -Wno-format-nonliteral configure.args --with-distributor-name=MacPorts \ --disable-schemas-compile \ --disable-tests post-activate { system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } # # nss is not universal # if {[variant_isset universal]} { configure.args-append --disable-nss depends_lib-delete port:nss } # this is the last version that will build on darwin < 13 livecheck.type none