pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/mc
Module Name: pkgsrc
Committed By: cheusov
Date: Mon Jul 1 14:53:40 UTC 2024
Modified Files:
pkgsrc/sysutils/mc: Makefile PLIST options.mk
Log Message:
Add option "nls"
To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 pkgsrc/sysutils/mc/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/sysutils/mc/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/sysutils/mc/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/mc/Makefile
diff -u pkgsrc/sysutils/mc/Makefile:1.132 pkgsrc/sysutils/mc/Makefile:1.133
--- pkgsrc/sysutils/mc/Makefile:1.132 Mon May 6 08:40:32 2024
+++ pkgsrc/sysutils/mc/Makefile Mon Jul 1 14:53:40 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.132 2024/05/06 08:40:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.133 2024/07/01 14:53:40 cheusov Exp $
DISTNAME= mc-4.8.28
PKGREVISION= 4
@@ -60,7 +60,6 @@ OWN_DIRS+= ${PKG_SYSCONFDIR}/mc
CONF_FILES+= ${EGDIR}/${i} ${PKG_SYSCONFDIR}/mc/${i}
.endfor
-.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.30.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/mc/PLIST
diff -u pkgsrc/sysutils/mc/PLIST:1.24 pkgsrc/sysutils/mc/PLIST:1.25
--- pkgsrc/sysutils/mc/PLIST:1.24 Sat Jun 15 20:48:03 2024
+++ pkgsrc/sysutils/mc/PLIST Mon Jul 1 14:53:40 2024
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.24 2024/06/15 20:48:03 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.25 2024/07/01 14:53:40 cheusov Exp $
bin/mc
bin/mcdiff
bin/mcedit
bin/mcview
+libexec/mc/cons.saver
libexec/mc/ext.d/archive.sh
libexec/mc/ext.d/doc.sh
libexec/mc/ext.d/image.sh
@@ -70,15 +71,15 @@ libexec/mc/mc-wrapper.csh
libexec/mc/mc-wrapper.sh
libexec/mc/mc.csh
libexec/mc/mc.sh
-man/es/man1/mc.1
-man/hu/man1/mc.1
-man/it/man1/mc.1
+${PLIST.nls}man/es/man1/mc.1
+${PLIST.nls}man/hu/man1/mc.1
+${PLIST.nls}man/it/man1/mc.1
man/man1/mc.1
man/man1/mcedit.1
man/man1/mcview.1
-man/pl/man1/mc.1
-man/ru/man1/mc.1
-man/sr/man1/mc.1
+${PLIST.nls}man/pl/man1/mc.1
+${PLIST.nls}man/ru/man1/mc.1
+${PLIST.nls}man/sr/man1/mc.1
share/examples/mc/edit.indent.rc
share/examples/mc/filehighlight.ini
share/examples/mc/mc.default.keymap
@@ -88,66 +89,66 @@ share/examples/mc/mc.keymap
share/examples/mc/mc.menu
share/examples/mc/mcedit.menu
share/examples/mc/sfs.ini
-share/locale/af/LC_MESSAGES/mc.mo
-share/locale/ar/LC_MESSAGES/mc.mo
-share/locale/az/LC_MESSAGES/mc.mo
-share/locale/be/LC_MESSAGES/mc.mo
-share/locale/bg/LC_MESSAGES/mc.mo
-share/locale/br/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/fr/LC_MESSAGES/mc.mo
-share/locale/fr_CA/LC_MESSAGES/mc.mo
-share/locale/ga/LC_MESSAGES/mc.mo
-share/locale/gl/LC_MESSAGES/mc.mo
-share/locale/he/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/ie/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/kw/LC_MESSAGES/mc.mo
-share/locale/lt/LC_MESSAGES/mc.mo
-share/locale/lv/LC_MESSAGES/mc.mo
-share/locale/mn/LC_MESSAGES/mc.mo
-share/locale/nb/LC_MESSAGES/mc.mo
-share/locale/nl/LC_MESSAGES/mc.mo
-share/locale/nl_BE/LC_MESSAGES/mc.mo
-share/locale/pl/LC_MESSAGES/mc.mo
-share/locale/pt/LC_MESSAGES/mc.mo
-share/locale/pt_BR/LC_MESSAGES/mc.mo
-share/locale/ro/LC_MESSAGES/mc.mo
-share/locale/ru/LC_MESSAGES/mc.mo
-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/szl/LC_MESSAGES/mc.mo
-share/locale/ta/LC_MESSAGES/mc.mo
-share/locale/te/LC_MESSAGES/mc.mo
-share/locale/tr/LC_MESSAGES/mc.mo
-share/locale/uk/LC_MESSAGES/mc.mo
-share/locale/uz/LC_MESSAGES/mc.mo
-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
+${PLIST.nls}share/locale/af/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ar/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/az/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/be/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/br/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/de_CH/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/en_GB/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/eu/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/fa/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/fr_CA/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ia/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ie/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/kk/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/kw/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/lt/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/lv/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/mn/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/nl_BE/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/szl/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/ta/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/te/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/uz/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/wa/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/mc.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/mc.mo
share/mc/examples/macros.d/macro.0.sh
share/mc/examples/macros.d/macro.1.sh
share/mc/examples/macros.d/macro.3.sh
@@ -156,56 +157,56 @@ 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
+${PLIST.nls}share/mc/help/mc.hlp.es
+${PLIST.nls}share/mc/help/mc.hlp.hu
+${PLIST.nls}share/mc/help/mc.hlp.it
+${PLIST.nls}share/mc/help/mc.hlp.pl
+${PLIST.nls}share/mc/help/mc.hlp.ru
+${PLIST.nls}share/mc/help/mc.hlp.sr
share/mc/hints/mc.hint
-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.fr
-share/mc/hints/mc.hint.fr_CA
-share/mc/hints/mc.hint.ga
-share/mc/hints/mc.hint.gl
-share/mc/hints/mc.hint.hu
-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.ko
-share/mc/hints/mc.hint.lt
-share/mc/hints/mc.hint.nb
-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.sr
-share/mc/hints/mc.hint.sv
-share/mc/hints/mc.hint.sv_SE
-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/hints/mc.hint.zh_TW
-share/mc/mc.lib
+${PLIST.nls}share/mc/hints/mc.hint.be
+${PLIST.nls}share/mc/hints/mc.hint.bg
+${PLIST.nls}share/mc/hints/mc.hint.ca
+${PLIST.nls}share/mc/hints/mc.hint.cs
+${PLIST.nls}share/mc/hints/mc.hint.da
+${PLIST.nls}share/mc/hints/mc.hint.de
+${PLIST.nls}share/mc/hints/mc.hint.de_CH
+${PLIST.nls}share/mc/hints/mc.hint.el
+${PLIST.nls}share/mc/hints/mc.hint.en_GB
+${PLIST.nls}share/mc/hints/mc.hint.eo
+${PLIST.nls}share/mc/hints/mc.hint.es
+${PLIST.nls}share/mc/hints/mc.hint.et
+${PLIST.nls}share/mc/hints/mc.hint.eu
+${PLIST.nls}share/mc/hints/mc.hint.fa
+${PLIST.nls}share/mc/hints/mc.hint.fr
+${PLIST.nls}share/mc/hints/mc.hint.fr_CA
+${PLIST.nls}share/mc/hints/mc.hint.ga
+${PLIST.nls}share/mc/hints/mc.hint.gl
+${PLIST.nls}share/mc/hints/mc.hint.hu
+${PLIST.nls}share/mc/hints/mc.hint.id
+${PLIST.nls}share/mc/hints/mc.hint.it
+${PLIST.nls}share/mc/hints/mc.hint.it_IT
+${PLIST.nls}share/mc/hints/mc.hint.ja
+${PLIST.nls}share/mc/hints/mc.hint.ko
+${PLIST.nls}share/mc/hints/mc.hint.lt
+${PLIST.nls}share/mc/hints/mc.hint.nb
+${PLIST.nls}share/mc/hints/mc.hint.nl
+${PLIST.nls}share/mc/hints/mc.hint.pl
+${PLIST.nls}share/mc/hints/mc.hint.pt
+${PLIST.nls}share/mc/hints/mc.hint.pt_BR
+${PLIST.nls}share/mc/hints/mc.hint.ro
+${PLIST.nls}share/mc/hints/mc.hint.ru
+${PLIST.nls}share/mc/hints/mc.hint.sk
+${PLIST.nls}share/mc/hints/mc.hint.sr
+${PLIST.nls}share/mc/hints/mc.hint.sv
+${PLIST.nls}share/mc/hints/mc.hint.sv_SE
+${PLIST.nls}share/mc/hints/mc.hint.tr
+${PLIST.nls}share/mc/hints/mc.hint.uk
+${PLIST.nls}share/mc/hints/mc.hint.zh
+${PLIST.nls}share/mc/hints/mc.hint.zh_CN
+${PLIST.nls}share/mc/hints/mc.hint.zh_TW
${PLIST.mc-charset}share/mc/mc.charsets
+share/mc/mc.lib
share/mc/skins/dark.ini
share/mc/skins/darkfar.ini
share/mc/skins/default.ini
Index: pkgsrc/sysutils/mc/options.mk
diff -u pkgsrc/sysutils/mc/options.mk:1.22 pkgsrc/sysutils/mc/options.mk:1.23
--- pkgsrc/sysutils/mc/options.mk:1.22 Mon Jul 1 14:06:29 2024
+++ pkgsrc/sysutils/mc/options.mk Mon Jul 1 14:53:40 2024
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.22 2024/07/01 14:06:29 cheusov Exp $
+# $NetBSD: options.mk,v 1.23 2024/07/01 14:53:40 cheusov Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mc
PKG_OPTIONS_REQUIRED_GROUPS= screen
PKG_OPTIONS_GROUP.screen= ncurses slang
-PKG_SUPPORTED_OPTIONS= mc-charset x11 sftp
-PKG_SUGGESTED_OPTIONS= mc-charset slang
+PKG_SUPPORTED_OPTIONS= mc-charset x11 sftp nls
+PKG_SUGGESTED_OPTIONS= mc-charset slang nls
.include "../../mk/bsd.options.mk"
@@ -48,3 +48,16 @@ CONFIGURE_ARGS+= --enable-vfs-sftp
.else
CONFIGURE_ARGS+= --disable-vfs-sftp
.endif
+
+PLIST_VARS+= nls
+PRINT_PLIST_AWK+= /man\/..\/man1\// { $$0 = "$${PLIST.nls}" $$00}
+PRINT_PLIST_AWK+= /mc\/help\/mc.hlp[.].*$$/ { $$0 = "$${PLIST.nls}" $$00}
+PRINT_PLIST_AWK+= /mc\/hints\/mc.hint[.].*$$/ { $$0 = "$${PLIST.nls}" $$00}
+.if !empty(PKG_OPTIONS:Mnls)
+CONFIGURE_ARGS+= --enable-nls
+PLIST.nls= yes
+USE_TOOLS+= msgfmt msgmerge xgettext
+.include "../../devel/gettext-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
Home |
Main Index |
Thread Index |
Old Index