# $Id: Portfile 85522 2011-10-14 05:35:18Z jeremyhu@macports.org $ PortSystem 1.0 name midori version 0.2.9 revision 5 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 md5 a5821d8e31fa944374ed51c09ca4e740 \ sha1 3329c3b9cbe1d2fa0cb94e3f864802fae4fc5e9b \ rmd160 3b8f2f8fa55f10e80a9e769e4085f96b7fa769ab # patch-extensions-mouse-gestures-c.diff reported as # http://www.twotoasts.de/bugs/index.php?do=details&task_id=903 patchfiles patch-extensions-mouse-gestures-c.diff \ 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 { patchfiles-append patch-extensions-wscript_build.diff \ patch-wscript-dont-look-for-libm.diff \ patch-wscript-darwin-options.diff } # libnotify doesn't build without X11 (that is on a gtk +quartz stack) variant no_x11 description {Disable X11 support} { depends_lib-delete port:libnotify configure.args-append --disable-libnotify } # can't seem to get libunique to work (throws dbus errors on startup) # http://www.twotoasts.de/bugs/index.php?do=details&task_id=1040 depends_lib-delete port:libunique configure.args-append --disable-unique livecheck.url ${homepage} livecheck.regex ${name}-(\[0-9.a-z\]*)\.tar\.bz2 livecheck.type regexm