Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.96 2014/10/09 14:06:58 wiz Exp $
# $NetBSD: Makefile,v 1.100 2015/09/20 21:54:39 tnn Exp $
DISTNAME= mc-4.7.0.10
PKGREVISION= 13
DISTNAME= mc-4.8.14
CATEGORIES= sysutils
MASTER_SITES= http://www.midnight-commander.org/downloads/
EXTRACT_SUFX= .tar.bz2
@@ -11,11 +10,19 @@ HOMEPAGE= http://www.midnight-commander.org/
COMMENT= User-friendly file manager and visual shell
LICENSE= gnu-gpl-v2
USE_TOOLS+= pkg-config unzip:run
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= pkg-config unzip:run perl:build gmake
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
CHECK_INTERPRETER_SKIP= libexec/mc/extfs.d/s3+
# don't want to pull in python
CHECK_INTERPRETER_SKIP+= libexec/mc/extfs.d/s3+
CHECK_INTERPRETER_SKIP+= libexec/mc/extfs.d/uc1541
# save copies of the configure arguments, harmless
CHECK_WRKREF_SKIP+= bin/mc
CHECK_WRKREF_SKIP+= bin/mcdiff
CHECK_WRKREF_SKIP+= bin/mcedit
CHECK_WRKREF_SKIP+= bin/mcview
.include "../../mk/bsd.prefs.mk"
@@ -34,34 +41,24 @@ PLIST_SRC+= ${PKGDIR}/PLIST
EGDIR= ${PREFIX}/share/examples/mc
CONFFILES= cedit.menu edit.indent.rc edit.spell.rc filehighlight.ini \
mc.ext mc.keymap mc.keymap.default mc.keymap.emacs mc.lib \
mc.menu mc.menu.sr
.if !empty(PKG_OPTIONS:Mmc-edit)
CONFFILES+= syntax/Syntax
.endif
.if !empty(PKG_OPTIONS:Mmc-vfs)
CONFFILES+= edit.indent.rc
CONFFILES+= filehighlight.ini
CONFFILES+= mc.default.keymap
CONFFILES+= mc.emacs.keymap
CONFFILES+= mc.ext
CONFFILES+= mc.keymap
CONFFILES+= mc.menu
CONFFILES+= mc.menu.sr
CONFFILES+= mcedit.menu
CONFFILES+= sfs.ini
.endif
.if !empty(PKG_OPTIONS:Mmc-charset)
CONFFILES+= mc.charsets
.endif
OWN_DIRS+= ${PKG_SYSCONFDIR}/mc ${PKG_SYSCONFDIR}/mc/syntax
OWN_DIRS+= ${PKG_SYSCONFDIR}/mc
.for i in ${CONFFILES}
CONF_FILES+= ${EGDIR}/${i} ${PKG_SYSCONFDIR}/mc/${i}
.endfor
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/syntax
post-install:
# remove dir if no extensions were installed there
rmdir ${DESTDIR}${PREFIX}/lib/mc 2>/dev/null || ${TRUE}
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.14.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,7 +1,69 @@
@comment $NetBSD: PLIST,v 1.9 2011/01/23 14:36:10 wiz Exp $
@comment $NetBSD: PLIST,v 1.10 2015/08/28 07:47:08 wiz Exp $
bin/mc
bin/mcmfmt
bin/mcdiff
bin/mcedit
bin/mcview
libexec/mc/ext.d/archive.sh
libexec/mc/ext.d/doc.sh
libexec/mc/ext.d/image.sh
libexec/mc/ext.d/misc.sh
libexec/mc/ext.d/package.sh
libexec/mc/ext.d/sound.sh
libexec/mc/ext.d/text.sh
libexec/mc/ext.d/video.sh
libexec/mc/ext.d/web.sh
libexec/mc/extfs.d/README
libexec/mc/extfs.d/README.extfs
libexec/mc/extfs.d/a+
libexec/mc/extfs.d/apt+
libexec/mc/extfs.d/audio
libexec/mc/extfs.d/bpp
libexec/mc/extfs.d/changesetfs
libexec/mc/extfs.d/deb
libexec/mc/extfs.d/deba
libexec/mc/extfs.d/debd
libexec/mc/extfs.d/dpkg+
libexec/mc/extfs.d/gitfs+
libexec/mc/extfs.d/hp48+
libexec/mc/extfs.d/iso9660
libexec/mc/extfs.d/lslR
libexec/mc/extfs.d/mailfs
libexec/mc/extfs.d/patchfs
libexec/mc/extfs.d/patchsetfs
libexec/mc/extfs.d/rpm
libexec/mc/extfs.d/rpms+
libexec/mc/extfs.d/s3+
libexec/mc/extfs.d/trpm
libexec/mc/extfs.d/u7z
libexec/mc/extfs.d/uace
libexec/mc/extfs.d/ualz
libexec/mc/extfs.d/uar
libexec/mc/extfs.d/uarc
libexec/mc/extfs.d/uarj
libexec/mc/extfs.d/uc1541
libexec/mc/extfs.d/ucab
libexec/mc/extfs.d/uha
libexec/mc/extfs.d/ulha
libexec/mc/extfs.d/ulib
libexec/mc/extfs.d/urar
libexec/mc/extfs.d/uzip
libexec/mc/extfs.d/uzoo
libexec/mc/fish/README.fish
libexec/mc/fish/append
libexec/mc/fish/chmod
libexec/mc/fish/chown
libexec/mc/fish/fexists
libexec/mc/fish/get
libexec/mc/fish/hardlink
libexec/mc/fish/info
libexec/mc/fish/ln
libexec/mc/fish/ls
libexec/mc/fish/mkdir
libexec/mc/fish/mv
libexec/mc/fish/rmdir
libexec/mc/fish/send
libexec/mc/fish/unlink
libexec/mc/fish/utime
libexec/mc/mc-wrapper.csh
libexec/mc/mc-wrapper.sh
libexec/mc/mc.csh
@@ -15,35 +77,43 @@ man/man1/mcview.1
man/pl/man1/mc.1
man/ru/man1/mc.1
man/sr/man1/mc.1
share/examples/mc/cedit.menu
share/examples/mc/edit.indent.rc
share/examples/mc/edit.spell.rc
share/examples/mc/filehighlight.ini
share/examples/mc/mc.default.keymap
share/examples/mc/mc.emacs.keymap
share/examples/mc/mc.ext
share/examples/mc/mc.keymap
share/examples/mc/mc.keymap.default
share/examples/mc/mc.keymap.emacs
share/examples/mc/mc.lib
share/examples/mc/mc.menu
share/examples/mc/mc.menu.sr
share/examples/mc/mcedit.menu
share/examples/mc/sfs.ini
share/locale/az/LC_MESSAGES/mc.mo
share/locale/be/LC_MESSAGES/mc.mo
share/locale/be@tarask/LC_MESSAGES/mc.mo
share/locale/bg/LC_MESSAGES/mc.mo
share/locale/ca/LC_MESSAGES/mc.mo
share/locale/cs/LC_MESSAGES/mc.mo
share/locale/da/LC_MESSAGES/mc.mo
share/locale/de/LC_MESSAGES/mc.mo
share/locale/de_CH/LC_MESSAGES/mc.mo
share/locale/el/LC_MESSAGES/mc.mo
share/locale/en_GB/LC_MESSAGES/mc.mo
share/locale/eo/LC_MESSAGES/mc.mo
share/locale/es/LC_MESSAGES/mc.mo
share/locale/et/LC_MESSAGES/mc.mo
share/locale/eu/LC_MESSAGES/mc.mo
share/locale/fa/LC_MESSAGES/mc.mo
share/locale/fi/LC_MESSAGES/mc.mo
share/locale/fi_FI/LC_MESSAGES/mc.mo
share/locale/fr/LC_MESSAGES/mc.mo
share/locale/gl/LC_MESSAGES/mc.mo
share/locale/hr/LC_MESSAGES/mc.mo
share/locale/hu/LC_MESSAGES/mc.mo
share/locale/ia/LC_MESSAGES/mc.mo
share/locale/id/LC_MESSAGES/mc.mo
share/locale/it/LC_MESSAGES/mc.mo
share/locale/ja/LC_MESSAGES/mc.mo
share/locale/ka/LC_MESSAGES/mc.mo
share/locale/kk/LC_MESSAGES/mc.mo
share/locale/ko/LC_MESSAGES/mc.mo
share/locale/lt/LC_MESSAGES/mc.mo
share/locale/lv/LC_MESSAGES/mc.mo
@@ -59,6 +129,8 @@ share/locale/sk/LC_MESSAGES/mc.mo
share/locale/sl/LC_MESSAGES/mc.mo
share/locale/sr/LC_MESSAGES/mc.mo
share/locale/sv/LC_MESSAGES/mc.mo
share/locale/sv_SE/LC_MESSAGES/mc.mo
share/locale/szl/LC_MESSAGES/mc.mo
share/locale/ta/LC_MESSAGES/mc.mo
share/locale/tr/LC_MESSAGES/mc.mo
share/locale/uk/LC_MESSAGES/mc.mo
@@ -66,26 +138,163 @@ share/locale/vi/LC_MESSAGES/mc.mo
share/locale/wa/LC_MESSAGES/mc.mo
share/locale/zh_CN/LC_MESSAGES/mc.mo
share/locale/zh_TW/LC_MESSAGES/mc.mo
share/mc/mc.hint
share/mc/mc.hint.cs
share/mc/mc.hint.es
share/mc/mc.hint.hu
share/mc/mc.hint.it
share/mc/mc.hint.nl
share/mc/mc.hint.pl
share/mc/mc.hint.ru
share/mc/mc.hint.sr
share/mc/mc.hint.uk
share/mc/mc.hint.zh
share/mc/mc.hlp
share/mc/mc.hlp.es
share/mc/mc.hlp.hu
share/mc/mc.hlp.it
share/mc/mc.hlp.pl
share/mc/mc.hlp.ru
share/mc/mc.hlp.sr
share/mc/examples/macros.d/macro.0.sh
share/mc/examples/macros.d/macro.1.sh
share/mc/examples/macros.d/macro.3.sh
share/mc/examples/macros.d/macro.4.sh
share/mc/examples/macros.d/macro.5.sh
share/mc/examples/macros.d/macro.6.sh
share/mc/examples/macros.d/macro.7.sh
share/mc/help/mc.hlp
share/mc/help/mc.hlp.es
share/mc/help/mc.hlp.hu
share/mc/help/mc.hlp.it
share/mc/help/mc.hlp.pl
share/mc/help/mc.hlp.ru
share/mc/help/mc.hlp.sr
share/mc/hints/mc.hint
share/mc/hints/mc.hint.az
share/mc/hints/mc.hint.be
share/mc/hints/mc.hint.bg
share/mc/hints/mc.hint.ca
share/mc/hints/mc.hint.cs
share/mc/hints/mc.hint.da
share/mc/hints/mc.hint.de
share/mc/hints/mc.hint.de_CH
share/mc/hints/mc.hint.el
share/mc/hints/mc.hint.en_GB
share/mc/hints/mc.hint.eo
share/mc/hints/mc.hint.es
share/mc/hints/mc.hint.et
share/mc/hints/mc.hint.eu
share/mc/hints/mc.hint.fa
share/mc/hints/mc.hint.fi
share/mc/hints/mc.hint.fr
share/mc/hints/mc.hint.fr_CA
share/mc/hints/mc.hint.gl
share/mc/hints/mc.hint.hr
share/mc/hints/mc.hint.hu
share/mc/hints/mc.hint.ia
share/mc/hints/mc.hint.id
share/mc/hints/mc.hint.it
share/mc/hints/mc.hint.it_IT
share/mc/hints/mc.hint.ja
share/mc/hints/mc.hint.ka
share/mc/hints/mc.hint.kk
share/mc/hints/mc.hint.ko
share/mc/hints/mc.hint.lt
share/mc/hints/mc.hint.nl
share/mc/hints/mc.hint.pl
share/mc/hints/mc.hint.pt
share/mc/hints/mc.hint.pt_BR
share/mc/hints/mc.hint.ro
share/mc/hints/mc.hint.ru
share/mc/hints/mc.hint.sk
share/mc/hints/mc.hint.sl
share/mc/hints/mc.hint.sr
share/mc/hints/mc.hint.sv
share/mc/hints/mc.hint.sv_SE
share/mc/hints/mc.hint.szl
share/mc/hints/mc.hint.te
share/mc/hints/mc.hint.tr
share/mc/hints/mc.hint.uk
share/mc/hints/mc.hint.zh
share/mc/hints/mc.hint.zh_CN
share/mc/mc.lib
share/mc/skins/dark.ini
share/mc/skins/darkfar.ini
share/mc/skins/default.ini
share/mc/skins/double-lines.ini
share/mc/skins/featured.ini
share/mc/skins/gotar.ini
share/mc/skins/gray-green-purple256.ini
share/mc/skins/gray-orange-blue256.ini
share/mc/skins/mc46.ini
share/mc/skins/modarcon16-defbg.ini
share/mc/skins/modarcon16.ini
share/mc/skins/modarcon16root-defbg.ini
share/mc/skins/modarcon16root.ini
share/mc/skins/modarin256-defbg.ini
share/mc/skins/modarin256.ini
share/mc/skins/modarin256root-defbg.ini
share/mc/skins/modarin256root.ini
share/mc/skins/nicedark.ini
share/mc/skins/sand256.ini
share/mc/skins/xoria256.ini
share/mc/syntax/PKGBUILD.syntax
share/mc/syntax/Syntax
share/mc/syntax/ada95.syntax
share/mc/syntax/as.syntax
share/mc/syntax/aspx.syntax
share/mc/syntax/assembler.syntax
share/mc/syntax/awk.syntax
share/mc/syntax/c.syntax
share/mc/syntax/cabal.syntax
share/mc/syntax/changelog.syntax
share/mc/syntax/cmake.syntax
share/mc/syntax/cs.syntax
share/mc/syntax/css.syntax
share/mc/syntax/cxx.syntax
share/mc/syntax/cython.syntax
share/mc/syntax/d.syntax
share/mc/syntax/debian-changelog.syntax
share/mc/syntax/debian-control.syntax
share/mc/syntax/debian-description.syntax
share/mc/syntax/debian-sources-list.syntax
share/mc/syntax/diff.syntax
share/mc/syntax/dlink.syntax
share/mc/syntax/dos.syntax
share/mc/syntax/ebuild.syntax
share/mc/syntax/eiffel.syntax
share/mc/syntax/erlang.syntax
share/mc/syntax/f90.syntax
share/mc/syntax/filehighlight.syntax
share/mc/syntax/fortran.syntax
share/mc/syntax/haskell.syntax
share/mc/syntax/html.syntax
share/mc/syntax/idl.syntax
share/mc/syntax/ini.syntax
share/mc/syntax/j.syntax
share/mc/syntax/jal.syntax
share/mc/syntax/java.syntax
share/mc/syntax/js.syntax
share/mc/syntax/latex.syntax
share/mc/syntax/lisp.syntax
share/mc/syntax/lkr.syntax
share/mc/syntax/lsm.syntax
share/mc/syntax/lua.syntax
share/mc/syntax/m4.syntax
share/mc/syntax/mail.syntax
share/mc/syntax/makefile.syntax
share/mc/syntax/ml.syntax
share/mc/syntax/named.syntax
share/mc/syntax/nemerle.syntax
share/mc/syntax/nroff.syntax
share/mc/syntax/octave.syntax
share/mc/syntax/pascal.syntax
share/mc/syntax/perl.syntax
share/mc/syntax/php.syntax
share/mc/syntax/po.syntax
share/mc/syntax/povray.syntax
share/mc/syntax/procmail.syntax
share/mc/syntax/properties.syntax
share/mc/syntax/puppet.syntax
share/mc/syntax/python.syntax
share/mc/syntax/ruby.syntax
share/mc/syntax/sh.syntax
share/mc/syntax/slang.syntax
share/mc/syntax/smalltalk.syntax
share/mc/syntax/spec.syntax
share/mc/syntax/sql.syntax
share/mc/syntax/strace.syntax
share/mc/syntax/swig.syntax
share/mc/syntax/syntax.syntax
share/mc/syntax/tcl.syntax
share/mc/syntax/texinfo.syntax
share/mc/syntax/tt.syntax
share/mc/syntax/unknown.syntax
share/mc/syntax/verilog.syntax
share/mc/syntax/vhdl.syntax
share/mc/syntax/xml.syntax
share/mc/syntax/yum-repo.syntax
share/mc/syntax/yxx.syntax

View File

@@ -1,2 +1,2 @@
@comment $NetBSD: PLIST.charset,v 1.2 2011/01/23 14:36:10 wiz Exp $
share/examples/mc/mc.charsets
@comment $NetBSD: PLIST.charset,v 1.3 2015/08/28 07:47:08 wiz Exp $
share/mc/mc.charsets

View File

@@ -1,72 +0,0 @@
@comment $NetBSD: PLIST.mcedit,v 1.6 2011/01/23 14:36:10 wiz Exp $
bin/mcedit
share/examples/mc/syntax/Syntax
share/mc/syntax/PKGBUILD.syntax
share/mc/syntax/ada95.syntax
share/mc/syntax/aspx.syntax
share/mc/syntax/assembler.syntax
share/mc/syntax/awk.syntax
share/mc/syntax/c.syntax
share/mc/syntax/cabal.syntax
share/mc/syntax/changelog.syntax
share/mc/syntax/cs.syntax
share/mc/syntax/css.syntax
share/mc/syntax/cxx.syntax
share/mc/syntax/d.syntax
share/mc/syntax/debian-changelog.syntax
share/mc/syntax/debian-control.syntax
share/mc/syntax/debian-description.syntax
share/mc/syntax/debian-sources-list.syntax
share/mc/syntax/diff.syntax
share/mc/syntax/dos.syntax
share/mc/syntax/ebuild.syntax
share/mc/syntax/eiffel.syntax
share/mc/syntax/erlang.syntax
share/mc/syntax/f90.syntax
share/mc/syntax/filehighlight.syntax
share/mc/syntax/fortran.syntax
share/mc/syntax/haskell.syntax
share/mc/syntax/html.syntax
share/mc/syntax/idl.syntax
share/mc/syntax/ini.syntax
share/mc/syntax/j.syntax
share/mc/syntax/java.syntax
share/mc/syntax/js.syntax
share/mc/syntax/latex.syntax
share/mc/syntax/lisp.syntax
share/mc/syntax/lsm.syntax
share/mc/syntax/lua.syntax
share/mc/syntax/m4.syntax
share/mc/syntax/mail.syntax
share/mc/syntax/makefile.syntax
share/mc/syntax/ml.syntax
share/mc/syntax/named.syntax
share/mc/syntax/nemerle.syntax
share/mc/syntax/nroff.syntax
share/mc/syntax/octave.syntax
share/mc/syntax/pascal.syntax
share/mc/syntax/perl.syntax
share/mc/syntax/php.syntax
share/mc/syntax/po.syntax
share/mc/syntax/povray.syntax
share/mc/syntax/procmail.syntax
share/mc/syntax/properties.syntax
share/mc/syntax/python.syntax
share/mc/syntax/ruby.syntax
share/mc/syntax/sh.syntax
share/mc/syntax/slang.syntax
share/mc/syntax/smalltalk.syntax
share/mc/syntax/spec.syntax
share/mc/syntax/sql.syntax
share/mc/syntax/strace.syntax
share/mc/syntax/swig.syntax
share/mc/syntax/syntax.syntax
share/mc/syntax/tcl.syntax
share/mc/syntax/texinfo.syntax
share/mc/syntax/tt.syntax
share/mc/syntax/unknown.syntax
share/mc/syntax/verilog.syntax
share/mc/syntax/vhdl.syntax
share/mc/syntax/xml.syntax
share/mc/syntax/yum-repo.syntax
share/mc/syntax/yxx.syntax

View File

@@ -1,49 +0,0 @@
@comment $NetBSD: PLIST.vfs,v 1.4 2011/01/23 14:36:10 wiz Exp $
libexec/mc/extfs.d/README
libexec/mc/extfs.d/README.extfs
libexec/mc/extfs.d/a+
libexec/mc/extfs.d/apt+
libexec/mc/extfs.d/audio
libexec/mc/extfs.d/bpp
libexec/mc/extfs.d/deb
libexec/mc/extfs.d/deba
libexec/mc/extfs.d/debd
libexec/mc/extfs.d/dpkg+
libexec/mc/extfs.d/hp48+
libexec/mc/extfs.d/iso9660
libexec/mc/extfs.d/lslR
libexec/mc/extfs.d/mailfs
libexec/mc/extfs.d/patchfs
libexec/mc/extfs.d/rpm
libexec/mc/extfs.d/rpms+
libexec/mc/extfs.d/s3+
libexec/mc/extfs.d/trpm
libexec/mc/extfs.d/u7z
libexec/mc/extfs.d/uace
libexec/mc/extfs.d/ualz
libexec/mc/extfs.d/uar
libexec/mc/extfs.d/uarc
libexec/mc/extfs.d/uarj
libexec/mc/extfs.d/uc1541
libexec/mc/extfs.d/ucab
libexec/mc/extfs.d/uha
libexec/mc/extfs.d/ulha
libexec/mc/extfs.d/urar
libexec/mc/extfs.d/uzip
libexec/mc/extfs.d/uzoo
libexec/mc/fish/README.fish
libexec/mc/fish/append
libexec/mc/fish/chmod
libexec/mc/fish/chown
libexec/mc/fish/fexists
libexec/mc/fish/get
libexec/mc/fish/hardlink
libexec/mc/fish/info
libexec/mc/fish/ln
libexec/mc/fish/ls
libexec/mc/fish/mkdir
libexec/mc/fish/mv
libexec/mc/fish/rmdir
libexec/mc/fish/send
libexec/mc/fish/unlink
share/examples/mc/sfs.ini

View File

@@ -1,13 +1,8 @@
$NetBSD: distinfo,v 1.22 2012/12/19 16:00:21 joerg Exp $
$NetBSD: distinfo,v 1.23 2015/08/28 07:47:08 wiz Exp $
SHA1 (mc-4.7.0.10.tar.bz2) = 2bc13f963780eaddac2f675b9145656d759f974e
RMD160 (mc-4.7.0.10.tar.bz2) = 83a527a94a81f886eb7f80b8965554bf927cad65
Size (mc-4.7.0.10.tar.bz2) = 2862849 bytes
SHA1 (patch-aa) = bf11aa2e9c6bd4b057b3af33c7d831e3e1e7fe02
SHA1 (patch-ab) = 570977e37c54084d946d5871822e5ea24b0ed253
SHA1 (patch-ac) = 04ee1f389ef7015d4976544404d8b9245839bf7b
SHA1 (mc-4.8.14.tar.bz2) = ff83beaca4777fd888b23999664bfa7d0fc584cb
RMD160 (mc-4.8.14.tar.bz2) = 6d08797e08368cd11dea363d13179d39027c4a72
Size (mc-4.8.14.tar.bz2) = 3213271 bytes
SHA1 (patch-ac) = d01357b685acd8e863510248ed7519ae2821757f
SHA1 (patch-ad) = 4484b91511cf5bac73f4ae940988d46239e2cd95
SHA1 (patch-ae) = b25734f82e46a92eb2a6d6590b0f7524f63040b3
SHA1 (patch-af) = cff069eb20a5df7095805e800a141f8bb1d94c7d
SHA1 (patch-lib_fs.h) = 89bb61541e0312c4e74d48a8668583d0925d8b7a
SHA1 (patch-src_editor_syntax.c) = 7e07b88df9c270f650268265bd599d781991a695
SHA1 (patch-src_vfs_extfs_helpers_Makefile.in) = c5d4735ce9548714731fdb1227e1acac78f11332

View File

@@ -1,11 +1,10 @@
# $NetBSD: options.mk,v 1.13 2013/10/25 06:53:33 wiz Exp $
#
# $NetBSD: options.mk,v 1.14 2015/08/28 07:47:08 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mc
PKG_OPTIONS_REQUIRED_GROUPS= screen
PKG_OPTIONS_GROUP.screen= ncurses slang
PKG_SUPPORTED_OPTIONS= mc-charset mc-edit mc-samba mc-subshell mc-vfs x11
PKG_SUGGESTED_OPTIONS= mc-charset mc-edit mc-subshell mc-vfs slang
PKG_SUPPORTED_OPTIONS= mc-charset x11
PKG_SUGGESTED_OPTIONS= mc-charset slang
.include "../../mk/bsd.options.mk"
@@ -19,39 +18,6 @@ PLIST_SRC+= ${PKGDIR}/PLIST.charset
CONFIGURE_ARGS+= --disable-charset
.endif
### The internal editor can be disabled to save disk space.
.if !empty(PKG_OPTIONS:Mmc-edit)
CONFIGURE_ARGS+= --with-edit
PLIST_SRC+= ${PKGDIR}/PLIST.mcedit
.else
CONFIGURE_ARGS+= --without-edit
.endif
### Enable the Samba virtual file system. You can connect to Windows
### file servers or Samba servers in your network.
.if !empty(PKG_OPTIONS:Mmc-samba)
CONFIGURE_ARGS+= --with-samba
.else
CONFIGURE_ARGS+= --without-samba
.endif
### The subshell is a shell command line inside the Midnight Commander.
.if !empty(PKG_OPTIONS:Mmc-subshell)
CONFIGURE_ARGS+= --with-subshell
.else
CONFIGURE_ARGS+= --without-subshell
.endif
### Enable the virtual file system of the Midnight Commander. With the
### VFS you can access files via FTP, SSH, in various archive formats
### like if they were on your local disk.
.if !empty(PKG_OPTIONS:Mmc-vfs)
PLIST_SRC+= ${PKGDIR}/PLIST.vfs
USE_TOOLS+= perl:run
.else
CONFIGURE_ARGS+= --disable-vfs
.endif
### X11 support allows better key handling (detection of the Alt, Ctrl,
### Shift modifiers) and mouse support.
.if !empty(PKG_OPTIONS:Mx11)

View File

@@ -1,62 +0,0 @@
$NetBSD: patch-aa,v 1.15 2011/01/23 14:36:10 wiz Exp $
https://midnight-commander.org/ticket/2425
Fixes segmentation fault on NetBSD
--- src/mountlist.c.orig 2010-11-08 11:46:14.000000000 +0000
+++ src/mountlist.c
@@ -54,6 +54,7 @@
#ifdef MOUNTED_GETMNTINFO2 /* NetBSD 3.0. */
#include <sys/statvfs.h>
+#define statfs statvfs
#endif
#ifdef MOUNTED_GETMNT /* Ultrix. */
@@ -364,7 +365,8 @@ read_filesystem_list (int need_fs_type,
#endif /* MOUNTED */
#endif /* MOUNTED_GETMNTENT1 */
-#ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */
+#if defined(MOUNTED_GETMNTINFO) || defined(MOUNTED_GETMNTINFO2)
+/* 4.4BSD and NetBSD>=3 */
{
struct statfs *fsp;
int entries;
@@ -376,7 +378,7 @@ read_filesystem_list (int need_fs_type,
me = (struct mount_entry *) malloc (sizeof (struct mount_entry));
me->me_devname = strdup (fsp->f_mntfromname);
me->me_mountdir = strdup (fsp->f_mntonname);
-#ifdef HAVE_STRUCT_STATFS_F_FSTYPENAME
+#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(MOUNTED_GETMNTINFO2)
me->me_type = strdup (fsp->f_fstypename);
#else
me->me_type = fstype_to_string (fsp->f_type);
@@ -392,28 +394,6 @@ read_filesystem_list (int need_fs_type,
}
#endif /* MOUNTED_GETMNTINFO */
-#ifdef MOUNTED_GETMNTINFO2 /* NetBSD 3.0. */
- {
- struct statvfs *fsp;
- int entries;
-
- entries = getmntinfo (&fsp, MNT_NOWAIT);
- if (entries < 0)
- return NULL;
- for (; entries-- > 0; fsp++) {
- me = (struct mount_entry *) malloc (sizeof (struct mount_entry));
- me->me_devname = strdup (fsp->f_mntfromname);
- me->me_mountdir = strdup (fsp->f_mntonname);
- me->me_type = strdup (fsp->f_fstypename);
- me->me_dev = (dev_t) -1; /* Magic; means not known yet. */
-
- /* Add to the linked list. */
- mtail->me_next = me;
- mtail = me;
- }
- }
-#endif /* MOUNTED_GETMNTINFO2 */
-
#ifdef MOUNTED_GETMNT /* Ultrix. */
{
int offset = 0;

View File

@@ -1,17 +0,0 @@
$NetBSD: patch-ab,v 1.14 2011/01/23 14:36:10 wiz Exp $
http://midnight-commander.org/ticket/2476
--- lib/vfs/mc-vfs/ftpfs.c.orig 2010-11-08 11:46:13.000000000 +0000
+++ lib/vfs/mc-vfs/ftpfs.c
@@ -115,9 +115,9 @@ What to do with this?
#define INADDR_NONE 0xffffffff
#endif
-/* for uclibc < 0.9.29 */
+/* for systems that doesn't provide AI_ADDRCONFIG */
#ifndef AI_ADDRCONFIG
-#define AI_ADDRCONFIG 0x0020
+#define AI_ADDRCONFIG 0
#endif
#define RFC_AUTODETECT 0

View File

@@ -1,14 +1,14 @@
$NetBSD: patch-ac,v 1.10 2011/01/23 14:36:10 wiz Exp $
$NetBSD: patch-ac,v 1.11 2015/08/28 07:47:08 wiz Exp $
for installing configs to share/examples/mc
--- misc/Makefile.in.orig 2010-07-05 19:13:19.000000000 +0000
--- misc/Makefile.in.orig 2015-03-20 18:08:54.000000000 +0000
+++ misc/Makefile.in
@@ -369,7 +369,7 @@ LIBFILES_CONST = \
mc.menu.sr
@@ -492,7 +492,7 @@ LIBFILES_SCRIPT = \
edit.indent.rc
CLEANFILES = $(SCRIPTS_OUT)
-cfgdir = $(sysconfdir)/@PACKAGE@
+cfgdir = @datadir@/examples/@PACKAGE@
cfg_DATA = \
$(LIBFILES_CONST) \
$(LIBFILES_OUT) \
$(SCRIPTS_OUT) \

View File

@@ -1,14 +0,0 @@
$NetBSD: patch-ae,v 1.10 2011/01/23 14:36:10 wiz Exp $
for installing configs to share/examples/mc
--- misc/syntax/Makefile.in.orig 2010-07-05 19:13:19.000000000 +0000
+++ misc/syntax/Makefile.in
@@ -386,7 +386,7 @@ SYNTAXCONFFILES = \
@USE_EDIT_TRUE@syntaxdir = $(pkgdatadir)/syntax
@USE_EDIT_TRUE@syntax_DATA = $(SYNTAXFILES)
-@USE_EDIT_TRUE@syntaxconfdir = $(sysconfdir)/@PACKAGE@
+@USE_EDIT_TRUE@syntaxconfdir = @datadir@/examples/@PACKAGE@/syntax
@USE_EDIT_TRUE@syntaxconf_DATA = $(SYNTAXCONFFILES)
EXTRA_DIST = $(SYNTAXFILES) $(SYNTAXCONFFILES)
all: all-am

View File

@@ -1,19 +0,0 @@
$NetBSD: patch-lib_fs.h,v 1.1 2011/04/08 22:48:04 wiz Exp $
Fix build on DragonFly (missing MAXNAMLEN macro), from upstream.
--- lib/fs.h.orig 2010-11-08 11:46:13 +0000
+++ lib/fs.h
@@ -44,6 +44,12 @@
# define S_ISNAM(x) 0
#endif
+/* DragonFlyBSD doesn't provide MAXNAMLEN macro */
+#ifndef MAXNAMLEN
+# define MAXNAMLEN NAME_MAX
+#endif
+
+#define MC_MAXFILENAMELEN MAXNAMLEN
#ifndef MAXPATHLEN
# define MC_MAXPATHLEN 4096

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-src_editor_syntax.c,v 1.1 2012/12/19 16:00:21 joerg Exp $
--- src/editor/syntax.c.orig 2012-12-19 14:04:18.000000000 +0000
+++ src/editor/syntax.c
@@ -1079,7 +1079,7 @@ edit_read_syntax_file (WEdit * edit, cha
f = fopen (syntax_file, "r");
if (!f){
- lib_file = concat_dir_and_file (mc_home, "Syntax");
+ lib_file = concat_dir_and_file (mc_home, "syntax" PATH_SEP_STR "Syntax");
f = fopen (lib_file, "r");
g_free (lib_file);
if (!f)

View File

@@ -1,9 +1,10 @@
$NetBSD: patch-af,v 1.13 2011/01/23 14:36:10 wiz Exp $
$NetBSD: patch-src_vfs_extfs_helpers_Makefile.in,v 1.1 2015/08/28 07:47:08 wiz Exp $
for installing configs to share/examples/mc
--- lib/vfs/mc-vfs/extfs/Makefile.in.orig 2010-07-05 19:13:19.000000000 +0000
+++ lib/vfs/mc-vfs/extfs/Makefile.in
@@ -391,7 +391,7 @@ EXTFS_OUT = \
Install config file to example directory.
--- src/vfs/extfs/helpers/Makefile.in.orig 2015-08-28 07:03:49.000000000 +0000
+++ src/vfs/extfs/helpers/Makefile.in
@@ -486,7 +486,7 @@ EXTFS_OUT = \
@ENABLE_VFS_TRUE@extfs_DATA = $(EXTFS_MISC)
@ENABLE_VFS_TRUE@extfs_SCRIPTS = $(EXTFS_CONST) $(EXTFS_OUT)