Ticket #40280: Portfile-midori.diff
File Portfile-midori.diff, 3.3 KB (added by c.herbig@…, 11 years ago) |
---|
-
Portfile
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 99155 2012-10-28 20:31:06Z jeremyhu@macports.org $ 2 3 3 PortSystem 1.04 PortSystem 1.0 4 5 5 name midori 6 version 0.4.7 7 categories www 8 description Midori is a lightweight web browser 9 long_description ${description} 10 homepage http://www.twotoasts.de/index.php?/pages/midori_summary.html 11 platforms darwin 12 license MIT 13 maintainers afb openmaintainer 6 name midori 7 version 0.4.7 8 set branch [join [lrange [split ${version} .] 0 1] .] 9 10 categories www 11 platforms darwin 12 license MIT 13 maintainers afb openmaintainer 14 14 15 set branch [join [lrange [split ${version} .] 0 1] .] 16 master_sites http://archive.xfce.org/src/apps/midori/${branch} 15 description Midori is a lightweight, Webkit-Gtk based web browser 16 long_description ${description} 17 18 homepage http://www.twotoasts.de/index.php?/pages/midori_summary.html 19 master_sites http://archive.xfce.org/src/apps/midori/${branch} 17 20 use_bzip2 yes 18 21 19 checksums sha1 f32b1dc76061de3cefc222d779a7d6441b92a4fa \ 20 rmd160 72b0cf1290ed2a6c5e306b9b2dbb1ad4ce565860 \ 22 checksums rmd160 72b0cf1290ed2a6c5e306b9b2dbb1ad4ce565860 \ 21 23 sha256 65bf9976733597c405492ce91aa664fd10547cb7df16e0a70f260c7a3e97ea5d 22 24 23 patchfiles patch-wscript.diff 25 patchfiles patch-wscript.diff 26 27 depends_build port:pkgconfig \ 28 port:intltool 24 29 25 # glib 2.16.5 or later is required: 26 depends_lib port:gtk2 path:include/gio/gio.h:glib2 \ 27 port:webkit-gtk lib:libxml2:libxml2 \ 28 port:pkgconfig port:intltool \ 29 port:libunique port:libnotify port:vala 30 # last line is optional 30 # glib 2.16.5 or later is required: 31 depends_lib port:gtk2 \ 32 path:include/gio/gio.h:glib2 \ 33 port:webkit-gtk\ 34 port:libxml2 \ 35 port:libunique \ 36 port:libnotify \ 37 port:vala 31 38 32 39 # Not autoconf 33 configure.env-append 40 configure.env-append LINKFLAGS="-L${prefix}/lib" 34 41 configure.universal_args-delete --disable-dependency-tracking 35 42 36 43 platform darwin { 37 configure.env-appendPYTHON=/usr/bin/python38 patchfiles-appendpatch-extensions-wscript_build.diff \39 44 configure.env-append PYTHON=/usr/bin/python 45 patchfiles-append patch-extensions-wscript_build.diff \ 46 patch-wscript-darwin-options.diff 40 47 } 41 48 42 49 variant quartz description {Disable libnotify support (doesn't work with gtk2+quartz)} { 43 depends_lib-deleteport:libnotify44 configure.args-append--disable-libnotify50 depends_lib-delete port:libnotify 51 configure.args-append --disable-libnotify 45 52 } 46 53 47 livecheck.url ${homepage}48 livecheck.regex ${name}-(\[0-9.a-z\]*)\.tar\.bz249 livecheck.type regexm54 livecheck.url ${homepage} 55 livecheck.regex ${name}-(\[0-9.a-z\]*)\.tar\.bz2 56 livecheck.type regexm