aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/mc-light/Makefile8
-rw-r--r--misc/mc-light/files/patch-vfs-extfs-extfs.ini13
2 files changed, 20 insertions, 1 deletions
diff --git a/misc/mc-light/Makefile b/misc/mc-light/Makefile
index c2ba230d0875..931f9f2ee66e 100644
--- a/misc/mc-light/Makefile
+++ b/misc/mc-light/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mc-light
PORTVERSION= 4.1.40.p9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc shells
MASTER_SITES= http://mc.linuxinside.com/Releases/
DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/}
@@ -16,6 +16,7 @@ MAINTAINER= sam@brj.pp.ru
COMMENT= A lightweight Midnight Commander clone
RUN_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
+
CONFLICTS= mc-4.6*
USE_GMAKE= yes
@@ -40,4 +41,9 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+post-install:
+.for i in a arfs audio cpio deb esp ftplist hp48 iso lha lslR mailfs patchfs rar rpm trpm uarj uha zip zoo
+ ${CHMOD} 755 ${PREFIX}/share/mc/extfs/${i}
+.endfor
+
.include <bsd.port.mk>
diff --git a/misc/mc-light/files/patch-vfs-extfs-extfs.ini b/misc/mc-light/files/patch-vfs-extfs-extfs.ini
new file mode 100644
index 000000000000..70351686a510
--- /dev/null
+++ b/misc/mc-light/files/patch-vfs-extfs-extfs.ini
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- vfs/extfs/extfs.ini.old Sun Oct 17 02:20:12 2004
++++ vfs/extfs/extfs.ini Sun Oct 17 02:20:24 2004
+@@ -11,7 +11,6 @@
+ rar=.rar .RAR
+ deb=.deb .DEB
+ a:=a
+-b:=a
+ lslR=lslR ls-lR lslR.gz ls-lR.gz lslR.Z ls-lR.Z lslR.bz2 ls-lR.bz2
+ ftplist=ftplist
+ patchfs=.patch .diff .PATCH .DIFF