summaryrefslogtreecommitdiff
path: root/network/urlview/patches
diff options
context:
space:
mode:
Diffstat (limited to 'network/urlview/patches')
-rw-r--r--network/urlview/patches/Makefile.in.diff12
-rw-r--r--network/urlview/patches/sample.urlview.diff15
-rw-r--r--network/urlview/patches/url_handler.sh.diff15
3 files changed, 42 insertions, 0 deletions
diff --git a/network/urlview/patches/Makefile.in.diff b/network/urlview/patches/Makefile.in.diff
new file mode 100644
index 0000000000..2bb0334b83
--- /dev/null
+++ b/network/urlview/patches/Makefile.in.diff
@@ -0,0 +1,12 @@
+--- Makefile.in~ 2007-06-08 14:09:57.000000000 +0200
++++ Makefile.in 2007-06-08 14:33:40.000000000 +0200
+@@ -318,7 +318,8 @@
+
+
+ install-data-local:
+- $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
++ $(INSTALL_DATA) urlview.man ${DESTDIR}$(mandir)/man1/urlview.1
+
+ # how to create a target for uninstall-data-local???
+
diff --git a/network/urlview/patches/sample.urlview.diff b/network/urlview/patches/sample.urlview.diff
new file mode 100644
index 0000000000..111719f5e5
--- /dev/null
+++ b/network/urlview/patches/sample.urlview.diff
@@ -0,0 +1,15 @@
+--- sample.urlview~ 2007-06-08 14:11:09.000000000 +0200
++++ sample.urlview 2007-06-08 14:11:33.000000000 +0200
+@@ -19,10 +19,10 @@
+ #REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
+ REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
+
+-# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh
++# Command to invoke for selected URL. Use lynx, firefox, or url_handler.sh
+ # shell script.
+
+ #COMMAND lynx %s
+-#COMMAND netscape -remote 'openURL(%s)'
++#COMMAND firefox -remote 'openURL(%s)'
+ COMMAND url_handler.sh
+
diff --git a/network/urlview/patches/url_handler.sh.diff b/network/urlview/patches/url_handler.sh.diff
new file mode 100644
index 0000000000..d976e3c90b
--- /dev/null
+++ b/network/urlview/patches/url_handler.sh.diff
@@ -0,0 +1,15 @@
+--- url_handler.sh~ 2007-06-08 14:12:20.000000000 +0200
++++ url_handler.sh 2007-06-08 14:14:06.000000000 +0200
+@@ -28,8 +28,10 @@
+ # VT: Launch in the same terminal
+
+ # The lists of programs to be executed are
+-https_prgs="/usr/X11R6/bin/netscape:XW /usr/bin/lynx:XT"
+-http_prgs="/usr/bin/lynx:XT /usr/X11R6/bin/netscape:XW"
++https_prgs="/usr/bin/firefox:XW /usr/bin/lynx:XT"
++https_prgs="/usr/bin/firefox:XW /usr/bin/lynx:XT"
++http_prgs="/usr/bin/lynx:XT /usr/bin/firefox:XW"
++http_prgs="/usr/bin/lynx:XT /usr/bin/firefox:XW"
+ mailto_prgs="/usr/bin/mutt:VT /usr/bin/elm:VT /usr/bin/pine:VT /usr/bin/mail:VT"
+ gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT"
+ ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT"