[107228] trunk/dports/sysutils/xdg-utils
devans at macports.org
devans at macports.org
Sat Jun 22 12:22:31 PDT 2013
Revision: 107228
https://trac.macports.org/changeset/107228
Author: devans at macports.org
Date: 2013-06-22 12:22:30 -0700 (Sat, 22 Jun 2013)
Log Message:
-----------
xdg-utils: in xdg-open set BROWSER env variable fallback defaults to something more useful, used by several GNOME apps, fix livecheck.
Modified Paths:
--------------
trunk/dports/sysutils/xdg-utils/Portfile
Added Paths:
-----------
trunk/dports/sysutils/xdg-utils/files/
trunk/dports/sysutils/xdg-utils/files/patch-scripts-xdg-open.diff
Modified: trunk/dports/sysutils/xdg-utils/Portfile
===================================================================
--- trunk/dports/sysutils/xdg-utils/Portfile 2013-06-22 08:27:41 UTC (rev 107227)
+++ trunk/dports/sysutils/xdg-utils/Portfile 2013-06-22 19:22:30 UTC (rev 107228)
@@ -4,6 +4,7 @@
name xdg-utils
version 1.0.2
+revision 1
categories sysutils
platforms darwin freebsd linux
maintainers afb openmaintainer
@@ -25,8 +26,10 @@
depends_build port:xmlto
+patchfiles patch-scripts-xdg-open.diff
+
configure.args --mandir=${prefix}/share/man
livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex ${name} (\[0-9.\]+)
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Added: trunk/dports/sysutils/xdg-utils/files/patch-scripts-xdg-open.diff
===================================================================
--- trunk/dports/sysutils/xdg-utils/files/patch-scripts-xdg-open.diff (rev 0)
+++ trunk/dports/sysutils/xdg-utils/files/patch-scripts-xdg-open.diff 2013-06-22 19:22:30 UTC (rev 107228)
@@ -0,0 +1,11 @@
+--- scripts/xdg-open.orig 2013-06-22 11:14:00.000000000 -0700
++++ scripts/xdg-open 2013-06-22 11:15:22.000000000 -0700
+@@ -408,7 +408,7 @@
+ if [ x"$DE" = x"" ]; then
+ # if BROWSER variable is not set, check some well known browsers instead
+ if [ x"$BROWSER" = x"" ]; then
+- BROWSER=firefox:mozilla:netscape
++ BROWSER=epiphany:firefox-x11:open
+ fi
+ DE=generic
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130622/11d2b008/attachment.html>
More information about the macports-changes
mailing list