# $Id$ PortSystem 1.0 name midori version 0.4.6 revision 1 categories www description Midori is a lightweight web browser long_description ${description} homepage http://www.twotoasts.de/index.php?/pages/midori_summary.html platforms darwin license MIT maintainers afb openmaintainer set branch [join [lrange [split ${version} .] 0 1] .] master_sites http://archive.xfce.org/src/apps/midori/${branch} use_bzip2 yes checksums sha1 68a41fef15dde865f7cf4579c0dfbd0bae0cccc5 \ rmd160 4f55a332579426c91406617d554ff59570d60f8a \ sha256 910f47bd2b5f2998cd4fce45c08f9e282318820b68562d0bade2096b9a17e3ea patchfiles patch-wscript.diff # glib 2.16.5 or later is required: depends_lib port:gtk2 path:include/gio/gio.h:glib2 \ port:webkit-gtk lib:libxml2:libxml2 \ port:pkgconfig port:intltool \ port:libunique port:libnotify port:vala # last line is optional # Not autoconf configure.env-append LINKFLAGS="-L${prefix}/lib" configure.universal_args-delete --disable-dependency-tracking platform darwin { configure.env-append PYTHON=/usr/bin/python patchfiles-append patch-extensions-wscript_build.diff \ patch-wscript-dont-look-for-libm.diff \ patch-wscript-darwin-options.diff } variant quartz description {Disable libnotify support (doesn't work with gtk2+quartz)} { depends_lib-delete port:libnotify configure.args-append --disable-libnotify } livecheck.url ${homepage} livecheck.regex ${name}-(\[0-9.a-z\]*)\.tar\.bz2 livecheck.type regexm