diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 87f5ef38bbe5..15e625430730 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -2,7 +2,7 @@ PORTNAME= mc PORTVERSION= 4.8.26 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ https://ftp.osuosl.org/pub/midnightcommander/ @@ -92,6 +92,12 @@ post-install-X11-on: ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} +post-install: +.for i in edit.indent.rc filehighlight.ini mc.default.keymap mc.emacs.keymap \ + mc.ext mc.menu mcedit.menu sfs.ini + ${MV} ${STAGEDIR}${ETCDIR}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample +.endfor + .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200030 diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist index 2b28e35bed07..c768b39be8b2 100644 --- a/misc/mc/pkg-plist +++ b/misc/mc/pkg-plist @@ -2,15 +2,15 @@ bin/mc bin/mcdiff %%EDITOR%%bin/mcedit bin/mcview -%%ETCDIR%%/edit.indent.rc -%%ETCDIR%%/filehighlight.ini -%%ETCDIR%%/mc.default.keymap -%%ETCDIR%%/mc.emacs.keymap -%%ETCDIR%%/mc.ext +@sample %%ETCDIR%%/edit.indent.rc.sample +@sample %%ETCDIR%%/filehighlight.ini.sample +@sample %%ETCDIR%%/mc.default.keymap.sample +@sample %%ETCDIR%%/mc.emacs.keymap.sample +@sample %%ETCDIR%%/mc.ext.sample +@sample %%ETCDIR%%/mc.menu.sample +@sample %%ETCDIR%%/mcedit.menu.sample +@sample %%ETCDIR%%/sfs.ini.sample %%ETCDIR%%/mc.keymap -%%ETCDIR%%/mc.menu -%%ETCDIR%%/mcedit.menu -%%ETCDIR%%/sfs.ini libexec/mc/ext.d/archive.sh libexec/mc/ext.d/doc.sh libexec/mc/ext.d/image.sh