summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-lib::mc.ext.in
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2002-08-11 10:26:09 +0000
committerMax Khon <fjoe@FreeBSD.org>2002-08-11 10:26:09 +0000
commit7f274ced92a6efb0e978222c0ca2f171a868c6a0 (patch)
treea0b37a006624f4a5654be24ad7ed06141a6b5dac /misc/mc/files/patch-lib::mc.ext.in
parentCatch up with libsablot (ports/textproc/sablotron) version bump (diff)
- add an ability to open .tbz archives
- patch on file per patchfile - bump port revision
Diffstat (limited to '')
-rw-r--r--misc/mc/files/patch-lib::mc.ext.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/misc/mc/files/patch-lib::mc.ext.in b/misc/mc/files/patch-lib::mc.ext.in
new file mode 100644
index 000000000000..06b517e57ab1
--- /dev/null
+++ b/misc/mc/files/patch-lib::mc.ext.in
@@ -0,0 +1,34 @@
+--- lib/mc.ext.in.orig Tue Aug 14 10:27:12 2001
++++ lib/mc.ext.in Sun Aug 11 17:05:06 2002
+@@ -237,11 +237,11 @@
+ View=sxpm %f
+
+ include/image-options
+- Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (ee %f &); fi
++ Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (ElectricEyes %f &); fi
+ View=%view{ascii} identify %f
+ #View=%view{ascii} asciiview %f
+ Set root window to this image=background-properties --setwallpaper %f &
+- Display this file=ee %f &
++ Display this file=ElectricEyes %f &
+
+
+ ### Sound files ###
+@@ -283,7 +283,7 @@
+
+ # Postscript
+ type/^PostScript
+- Open=gv %f&
++ Open=ggv %f&
+ View=%view{ascii} ps2ascii %f
+ View with GhostView=gv %f
+
+@@ -389,7 +389,7 @@
+ # Open=%cd %p#utar
+ View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf -
+ Extract=bzip -dc %f 2>/dev/null | tar xf -
+-regex/\.tar\.bz2$
++regex/\.t(ar\.bz2|bz)$
+ Open=%cd %p#utar
+ View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
+ Extract=bzip2 -dc %f 2>/dev/null | tar xf -