aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mc
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2015-11-25 19:34:46 +0800
committerrobak <robak@FreeBSD.org>2015-11-25 19:34:46 +0800
commit4c3c1aa3e2362ebfbd4103c4888c30c8d7d18ef7 (patch)
treed0d530300b939cb1eecc5911b523c7a7dd03fa11 /misc/mc
parent2f5f203354055af640a574cc179b50880f187589 (diff)
downloadfreebsd-ports-gnome-4c3c1aa3e2362ebfbd4103c4888c30c8d7d18ef7.tar.gz
freebsd-ports-gnome-4c3c1aa3e2362ebfbd4103c4888c30c8d7d18ef7.tar.zst
freebsd-ports-gnome-4c3c1aa3e2362ebfbd4103c4888c30c8d7d18ef7.zip
misc/mc: update 4.8.14 -> 4.8.15
- Rewrite port options code PR: 204724 Submitted by: Ben Woods <woodsb02@gmail.com> (maintainer)
Diffstat (limited to 'misc/mc')
-rw-r--r--misc/mc/Makefile34
-rw-r--r--misc/mc/distinfo4
-rw-r--r--misc/mc/pkg-plist5
3 files changed, 15 insertions, 28 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 56d45bc6ea2e..d1efd33f4290 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mc
-PORTVERSION= 4.8.14
-PORTREVISION= 1
+PORTVERSION= 4.8.15
CATEGORIES= misc shells
MASTER_SITES= http://ftp.midnight-commander.org/ \
http://ftp.osuosl.org/pub/midnightcommander/ \
@@ -48,18 +47,24 @@ EDITOR_CONFIGURE_WITH= internal-edit
ICONV_USES= iconv
ICONV_CONFIGURE_ENABLE= charset
+NCURSES_CONFIGURE_ON= --with-screen=ncurses
+
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+NLS_CPPFLAGS= -I${LOCALBASE}/include
+NLS_LDFLAGS= -L${LOCALBASE}/lib
SLANG_LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2
+SLANG_CONFIGURE_ON= --with-screen=slang --with-slang-includes=${LOCALBASE}/include
SMB_CONFIGURE_ENABLE= vfs-smb
-SMB_CONFIGURE_ON= --with-smb-configdir=${LOCALBASE}/etc \
- --with-smb-codepagedir=${LOCALBASE}/etc/codepages
+SMB_CONFIGURE_WITH= smb-configdir=${LOCALBASE}/etc \
+ smb-codepagedir=${LOCALBASE}/etc/codepages
-SUBSHELL_CONFIGURE_WITH= subshell
+SUBSHELL_CONFIGURE_WITH=subshell
X11_CONFIGURE_ENABLE= x
+X11_USE= xorg=x11,xext
PORTDOCS= *
@@ -70,25 +75,6 @@ DOCSRCDIR2= ${WRKSRC}/doc
DOCSDIR2= ${DOCSDIR}/doc
DOC_FILES2= FAQ HACKING MAINTAINERS *.txt
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-.endif
-
-.if${PORT_OPTIONS:MX11}
-USE_XORG= x11 xext
-.endif
-
-.if ${PORT_OPTIONS:MSLANG}
-CONFIGURE_ARGS+=--with-screen=slang --with-slang-includes=${LOCALBASE}/include
-.endif
-
-.if ${PORT_OPTIONS:MNCURSES}
-CONFIGURE_ARGS+=--with-screen=ncurses
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|missing-parameter-type|unused-variable|; \
s|but-set-variable|variable|' \
diff --git a/misc/mc/distinfo b/misc/mc/distinfo
index 5d7b7f469f81..6d26b17bf8d5 100644
--- a/misc/mc/distinfo
+++ b/misc/mc/distinfo
@@ -1,4 +1,4 @@
-SHA256 (mc-4.8.14.tar.xz) = 6b1f74efbdf394bfab084f4d2ea2e72173de5f12cd42be2533ca2c3b72edb8e6
-SIZE (mc-4.8.14.tar.xz) = 2305788
+SHA256 (mc-4.8.15.tar.xz) = cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16
+SIZE (mc-4.8.15.tar.xz) = 2304812
SHA256 (mc.png) = 6bd935ea11c45da5c11e60542e30b4a05396d75b81401f28b3a68a82cafbf8fe
SIZE (mc.png) = 6466
diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist
index 9c0a7161848e..f02436441fa5 100644
--- a/misc/mc/pkg-plist
+++ b/misc/mc/pkg-plist
@@ -103,8 +103,8 @@ share/applications/mc.desktop
%%NLS%%share/locale/eu/LC_MESSAGES/mc.mo
%%NLS%%share/locale/fa/LC_MESSAGES/mc.mo
%%NLS%%share/locale/fi/LC_MESSAGES/mc.mo
-%%NLS%%share/locale/fi_FI/LC_MESSAGES/mc.mo
%%NLS%%share/locale/fr/LC_MESSAGES/mc.mo
+%%NLS%%share/locale/fr_CA/LC_MESSAGES/mc.mo
%%NLS%%share/locale/gl/LC_MESSAGES/mc.mo
%%NLS%%share/locale/hr/LC_MESSAGES/mc.mo
%%NLS%%share/locale/hu/LC_MESSAGES/mc.mo
@@ -129,9 +129,9 @@ share/applications/mc.desktop
%%NLS%%share/locale/sl/LC_MESSAGES/mc.mo
%%NLS%%share/locale/sr/LC_MESSAGES/mc.mo
%%NLS%%share/locale/sv/LC_MESSAGES/mc.mo
-%%NLS%%share/locale/sv_SE/LC_MESSAGES/mc.mo
%%NLS%%share/locale/szl/LC_MESSAGES/mc.mo
%%NLS%%share/locale/ta/LC_MESSAGES/mc.mo
+%%NLS%%share/locale/te/LC_MESSAGES/mc.mo
%%NLS%%share/locale/tr/LC_MESSAGES/mc.mo
%%NLS%%share/locale/uk/LC_MESSAGES/mc.mo
%%NLS%%share/locale/vi/LC_MESSAGES/mc.mo
@@ -153,6 +153,7 @@ share/applications/mc.desktop
%%NLS%%%%DATADIR%%/help/mc.hlp.ru
%%NLS%%%%DATADIR%%/help/mc.hlp.sr
%%DATADIR%%/hints/mc.hint
+%%NLS%%%%DATADIR%%/hints/mc.hint.ar
%%NLS%%%%DATADIR%%/hints/mc.hint.az
%%NLS%%%%DATADIR%%/hints/mc.hint.be
%%NLS%%%%DATADIR%%/hints/mc.hint.bg