pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

icewm3: add support for option nls



Module Name:	pkgsrc-wip
Committed By:	Aleksey Cheusov <vle%gmx.net@localhost>
Pushed By:	cheusov
Date:		Tue Jun 4 17:17:28 2024 +0400
Changeset:	76a63e987713df0b838a34c309f173562f27d12d

Modified Files:
	icewm3/Makefile
	icewm3/PLIST
Added Files:
	icewm3/options.mk

Log Message:
icewm3: add support for option nls

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=76a63e987713df0b838a34c309f173562f27d12d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 icewm3/Makefile   |  2 ++
 icewm3/PLIST      | 94 +++++++++++++++++++++++++++----------------------------
 icewm3/options.mk | 15 +++++++++
 3 files changed, 64 insertions(+), 47 deletions(-)

diffs:
diff --git a/icewm3/Makefile b/icewm3/Makefile
index 8ab7f04b7f..5fb97e7a2f 100644
--- a/icewm3/Makefile
+++ b/icewm3/Makefile
@@ -37,6 +37,8 @@ pre-configure:
 post-extract:
 	cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
 
+.include "options.mk"
+
 .include "../../converters/fribidi/buildlink3.mk"
 .include "../../graphics/imlib2/buildlink3.mk"
 .include "../../x11/libICE/buildlink3.mk"
diff --git a/icewm3/PLIST b/icewm3/PLIST
index 18101a806d..094aa0408e 100644
--- a/icewm3/PLIST
+++ b/icewm3/PLIST
@@ -604,52 +604,52 @@ share/icewm/themes/win95/minimize.xpm
 share/icewm/themes/win95/restore.xpm
 share/icewm/toolbar
 share/icewm/winoptions
-share/locale/ar/LC_MESSAGES/icewm.mo
-share/locale/ast/LC_MESSAGES/icewm.mo
-share/locale/be/LC_MESSAGES/icewm.mo
-share/locale/bg/LC_MESSAGES/icewm.mo
-share/locale/ca/LC_MESSAGES/icewm.mo
-share/locale/cs/LC_MESSAGES/icewm.mo
-share/locale/da/LC_MESSAGES/icewm.mo
-share/locale/de/LC_MESSAGES/icewm.mo
-share/locale/el/LC_MESSAGES/icewm.mo
-share/locale/en/LC_MESSAGES/icewm.mo
-share/locale/eo/LC_MESSAGES/icewm.mo
-share/locale/es/LC_MESSAGES/icewm.mo
-share/locale/fa/LC_MESSAGES/icewm.mo
-share/locale/fi/LC_MESSAGES/icewm.mo
-share/locale/fr/LC_MESSAGES/icewm.mo
-share/locale/he/LC_MESSAGES/icewm.mo
-share/locale/hi/LC_MESSAGES/icewm.mo
-share/locale/hr/LC_MESSAGES/icewm.mo
-share/locale/hu/LC_MESSAGES/icewm.mo
-share/locale/id/LC_MESSAGES/icewm.mo
-share/locale/ie/LC_MESSAGES/icewm.mo
-share/locale/it/LC_MESSAGES/icewm.mo
-share/locale/ja/LC_MESSAGES/icewm.mo
-share/locale/ka/LC_MESSAGES/icewm.mo
-share/locale/kk/LC_MESSAGES/icewm.mo
-share/locale/ko/LC_MESSAGES/icewm.mo
-share/locale/lt/LC_MESSAGES/icewm.mo
-share/locale/lv/LC_MESSAGES/icewm.mo
-share/locale/mk/LC_MESSAGES/icewm.mo
-share/locale/nb/LC_MESSAGES/icewm.mo
-share/locale/nl/LC_MESSAGES/icewm.mo
-share/locale/nn/LC_MESSAGES/icewm.mo
-share/locale/no/LC_MESSAGES/icewm.mo
-share/locale/pl/LC_MESSAGES/icewm.mo
-share/locale/pt/LC_MESSAGES/icewm.mo
-share/locale/pt_BR/LC_MESSAGES/icewm.mo
-share/locale/ro/LC_MESSAGES/icewm.mo
-share/locale/ru/LC_MESSAGES/icewm.mo
-share/locale/si/LC_MESSAGES/icewm.mo
-share/locale/sk/LC_MESSAGES/icewm.mo
-share/locale/sl/LC_MESSAGES/icewm.mo
-share/locale/sv/LC_MESSAGES/icewm.mo
-share/locale/tr/LC_MESSAGES/icewm.mo
-share/locale/uk/LC_MESSAGES/icewm.mo
-share/locale/vi/LC_MESSAGES/icewm.mo
-share/locale/zh_CN/LC_MESSAGES/icewm.mo
-share/locale/zh_TW/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ar/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ast/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/be/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/en/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/fa/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/hi/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ie/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/kk/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/lt/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/lv/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/mk/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/nn/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/no/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/si/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/icewm.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/icewm.mo
 share/xsessions/icewm-session.desktop
 share/xsessions/icewm.desktop
diff --git a/icewm3/options.mk b/icewm3/options.mk
new file mode 100644
index 0000000000..9875e7ef63
--- /dev/null
+++ b/icewm3/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.3 2024/05/02 06:50:00 jperkin Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.icewm3
+PKG_SUPPORTED_OPTIONS=	nls
+PKG_SUGGESTED_OPTIONS=	nls
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=		nls
+
+.if !${PKG_OPTIONS:Mnls}
+CONFIGURE_ARGS+=	--disable-nls
+.else
+PLIST.nls=		yes
+.endif


Home | Main Index | Thread Index | Old Index