pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/wget



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Mon May  6 11:11:54 UTC 2024

Modified Files:
        pkgsrc/net/wget: Makefile PLIST options.mk

Log Message:
Add support for option "nls"


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 pkgsrc/net/wget/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/wget/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/wget/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/net/wget/Makefile
diff -u pkgsrc/net/wget/Makefile:1.173 pkgsrc/net/wget/Makefile:1.174
--- pkgsrc/net/wget/Makefile:1.173      Sun Mar 17 14:24:32 2024
+++ pkgsrc/net/wget/Makefile    Mon May  6 11:11:53 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.173 2024/03/17 14:24:32 wiz Exp $
+# $NetBSD: Makefile,v 1.174 2024/05/06 11:11:53 cheusov Exp $
 
 DISTNAME=      wget-1.24.5
 CATEGORIES=    net
@@ -29,5 +29,4 @@ INSTALL_MAKE_FLAGS=   ${MAKE_FLAGS} syscon
 .include "options.mk"
 
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/wget/PLIST
diff -u pkgsrc/net/wget/PLIST:1.20 pkgsrc/net/wget/PLIST:1.21
--- pkgsrc/net/wget/PLIST:1.20  Tue May 16 20:33:01 2023
+++ pkgsrc/net/wget/PLIST       Mon May  6 11:11:53 2024
@@ -1,85 +1,85 @@
-@comment $NetBSD: PLIST,v 1.20 2023/05/16 20:33:01 wiz Exp $
+@comment $NetBSD: PLIST,v 1.21 2024/05/06 11:11:53 cheusov Exp $
 bin/wget
 info/wget.info
 man/man1/wget.1
 share/examples/wget/wgetrc
-share/locale/af/LC_MESSAGES/wget-gnulib.mo
-share/locale/be/LC_MESSAGES/wget-gnulib.mo
-share/locale/be/LC_MESSAGES/wget.mo
-share/locale/bg/LC_MESSAGES/wget-gnulib.mo
-share/locale/bg/LC_MESSAGES/wget.mo
-share/locale/ca/LC_MESSAGES/wget-gnulib.mo
-share/locale/ca/LC_MESSAGES/wget.mo
-share/locale/cs/LC_MESSAGES/wget-gnulib.mo
-share/locale/cs/LC_MESSAGES/wget.mo
-share/locale/da/LC_MESSAGES/wget-gnulib.mo
-share/locale/da/LC_MESSAGES/wget.mo
-share/locale/de/LC_MESSAGES/wget-gnulib.mo
-share/locale/de/LC_MESSAGES/wget.mo
-share/locale/el/LC_MESSAGES/wget-gnulib.mo
-share/locale/el/LC_MESSAGES/wget.mo
-share/locale/en_GB/LC_MESSAGES/wget.mo
-share/locale/eo/LC_MESSAGES/wget-gnulib.mo
-share/locale/eo/LC_MESSAGES/wget.mo
-share/locale/es/LC_MESSAGES/wget-gnulib.mo
-share/locale/es/LC_MESSAGES/wget.mo
-share/locale/et/LC_MESSAGES/wget-gnulib.mo
-share/locale/et/LC_MESSAGES/wget.mo
-share/locale/eu/LC_MESSAGES/wget-gnulib.mo
-share/locale/eu/LC_MESSAGES/wget.mo
-share/locale/fi/LC_MESSAGES/wget-gnulib.mo
-share/locale/fi/LC_MESSAGES/wget.mo
-share/locale/fr/LC_MESSAGES/wget-gnulib.mo
-share/locale/fr/LC_MESSAGES/wget.mo
-share/locale/ga/LC_MESSAGES/wget-gnulib.mo
-share/locale/ga/LC_MESSAGES/wget.mo
-share/locale/gl/LC_MESSAGES/wget-gnulib.mo
-share/locale/gl/LC_MESSAGES/wget.mo
-share/locale/he/LC_MESSAGES/wget.mo
-share/locale/hr/LC_MESSAGES/wget.mo
-share/locale/hu/LC_MESSAGES/wget-gnulib.mo
-share/locale/hu/LC_MESSAGES/wget.mo
-share/locale/id/LC_MESSAGES/wget.mo
-share/locale/it/LC_MESSAGES/wget-gnulib.mo
-share/locale/it/LC_MESSAGES/wget.mo
-share/locale/ja/LC_MESSAGES/wget-gnulib.mo
-share/locale/ja/LC_MESSAGES/wget.mo
-share/locale/ka/LC_MESSAGES/wget-gnulib.mo
-share/locale/ka/LC_MESSAGES/wget.mo
-share/locale/ko/LC_MESSAGES/wget-gnulib.mo
-share/locale/ko/LC_MESSAGES/wget.mo
-share/locale/lt/LC_MESSAGES/wget.mo
-share/locale/ms/LC_MESSAGES/wget-gnulib.mo
-share/locale/nb/LC_MESSAGES/wget-gnulib.mo
-share/locale/nb/LC_MESSAGES/wget.mo
-share/locale/nl/LC_MESSAGES/wget-gnulib.mo
-share/locale/nl/LC_MESSAGES/wget.mo
-share/locale/pl/LC_MESSAGES/wget-gnulib.mo
-share/locale/pl/LC_MESSAGES/wget.mo
-share/locale/pt/LC_MESSAGES/wget-gnulib.mo
-share/locale/pt/LC_MESSAGES/wget.mo
-share/locale/pt_BR/LC_MESSAGES/wget-gnulib.mo
-share/locale/pt_BR/LC_MESSAGES/wget.mo
-share/locale/ro/LC_MESSAGES/wget-gnulib.mo
-share/locale/ro/LC_MESSAGES/wget.mo
-share/locale/ru/LC_MESSAGES/wget-gnulib.mo
-share/locale/ru/LC_MESSAGES/wget.mo
-share/locale/rw/LC_MESSAGES/wget-gnulib.mo
-share/locale/sk/LC_MESSAGES/wget-gnulib.mo
-share/locale/sk/LC_MESSAGES/wget.mo
-share/locale/sl/LC_MESSAGES/wget-gnulib.mo
-share/locale/sl/LC_MESSAGES/wget.mo
-share/locale/sr/LC_MESSAGES/wget-gnulib.mo
-share/locale/sr/LC_MESSAGES/wget.mo
-share/locale/sv/LC_MESSAGES/wget-gnulib.mo
-share/locale/sv/LC_MESSAGES/wget.mo
-share/locale/tr/LC_MESSAGES/wget-gnulib.mo
-share/locale/tr/LC_MESSAGES/wget.mo
-share/locale/uk/LC_MESSAGES/wget-gnulib.mo
-share/locale/uk/LC_MESSAGES/wget.mo
-share/locale/vi/LC_MESSAGES/wget-gnulib.mo
-share/locale/vi/LC_MESSAGES/wget.mo
-share/locale/zh_CN/LC_MESSAGES/wget-gnulib.mo
-share/locale/zh_CN/LC_MESSAGES/wget.mo
-share/locale/zh_TW/LC_MESSAGES/wget-gnulib.mo
-share/locale/zh_TW/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/af/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/be/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/be/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/en_GB/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/eu/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/eu/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/lt/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ms/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/rw/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/wget.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/wget-gnulib.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/wget.mo

Index: pkgsrc/net/wget/options.mk
diff -u pkgsrc/net/wget/options.mk:1.14 pkgsrc/net/wget/options.mk:1.15
--- pkgsrc/net/wget/options.mk:1.14     Fri Jan  8 18:18:58 2021
+++ pkgsrc/net/wget/options.mk  Mon May  6 11:11:53 2024
@@ -1,10 +1,12 @@
-# $NetBSD: options.mk,v 1.14 2021/01/08 18:18:58 schmonz Exp $
+# $NetBSD: options.mk,v 1.15 2024/05/06 11:11:53 cheusov Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.wget
-PKG_SUPPORTED_OPTIONS=         idn inet6 psl
+PKG_SUPPORTED_OPTIONS=         idn inet6 nls psl
 PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
 PKG_OPTIONS_GROUP.ssl=         gnutls openssl
-PKG_SUGGESTED_OPTIONS=         idn inet6 openssl psl
+PKG_SUGGESTED_OPTIONS=         idn inet6 nls openssl psl
+
+PLIST_VARS+=   nls
 
 .include "../../mk/bsd.options.mk"
 
@@ -50,3 +52,13 @@ CONFIGURE_ARGS+=--with-libpsl
 .else
 CONFIGURE_ARGS+=--without-libpsl
 .endif
+
+###
+### Support NLS
+###
+.if !empty(PKG_OPTIONS:Mnls)
+PLIST.nls=yes
+.include "../../devel/gettext-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=--disable-nls
+.endif



Home | Main Index | Thread Index | Old Index