# -*- 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.22.1 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 375fdbafa33821c4e5f9d1dfc1b02d93a3ba5451 \ sha256 aab162ede54d71e583e382ab5e3567f28d81e0cd42719a11cad8008b56c5cc0e depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtk3 \ port:gnome-desktop \ port:libxslt\ port:libsoup \ port:libsecret \ port:port:libnotify \ port:gsettings-desktop-schemas \ port:sqlite3 \ port:gcr \ port:avahi \ port:xorg-libX11 \ port:iso-codes depends_run port:gnome-themes-standard \ port:gnome-keyring # reconfigure using our intltool.m4 and upstream autogen.sh for intltool 0.51 compatibility pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } configure.cmd ./autogen.sh configure.args --with-distributor-name=MacPorts \ --enable-compile-warnings=no \ --disable-silent-rules \ --disable-schemas-compile \ --disable-tests # # nss is not universal # if {[variant_isset universal]} { configure.args-append --disable-nss depends_lib-delete port:nss } post-activate { system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { version 3.8.2 revision 7 checksums rmd160 2aacd8b02f456e345b9f23ff6114d341bbf0013a \ sha256 ae89d6902ed243304d2cbf2fa361f6dd0cb3401fdaf726e6fdd4acc09197d50a depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0 \ port:libwnck3 \ port:nss patchfiles patch-configure.ac.diff post-patch { xinstall -m 755 ${filespath}/autogen.sh-3.8.2 ${worksrcpath}/autogen.sh } livecheck.type none } else { depends_build-append port:appstream-glib \ port:itstool \ port:yelp-tools depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } livecheck.type gnome } }