pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/gsed



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed May  1 22:36:30 UTC 2024

Modified Files:
        pkgsrc/textproc/gsed: Makefile PLIST
Added Files:
        pkgsrc/textproc/gsed: options.mk

Log Message:
Add option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/textproc/gsed/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/gsed/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/gsed/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/textproc/gsed/Makefile
diff -u pkgsrc/textproc/gsed/Makefile:1.63 pkgsrc/textproc/gsed/Makefile:1.64
--- pkgsrc/textproc/gsed/Makefile:1.63  Wed May 10 20:40:47 2023
+++ pkgsrc/textproc/gsed/Makefile       Wed May  1 22:36:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2023/05/10 20:40:47 schmonz Exp $
+# $NetBSD: Makefile,v 1.64 2024/05/01 22:36:29 cheusov Exp $
 
 DISTNAME=      sed-4.9
 PKGNAME=       g${DISTNAME}
@@ -31,6 +31,7 @@ USE_TOOLS+=           grep makeinfo
 CONFIGURE_ARGS+=       --program-prefix=g
 
 .include "../../mk/bsd.prefs.mk"
+.include "options.mk"
 
 _MAINTAINER_MANPAGE?=  no
 .if !empty(_MAINTAINER_MANPAGE:M[Yy][Ee][Ss])

Index: pkgsrc/textproc/gsed/PLIST
diff -u pkgsrc/textproc/gsed/PLIST:1.18 pkgsrc/textproc/gsed/PLIST:1.19
--- pkgsrc/textproc/gsed/PLIST:1.18     Wed Nov 16 10:41:36 2022
+++ pkgsrc/textproc/gsed/PLIST  Wed May  1 22:36:29 2024
@@ -1,46 +1,46 @@
-@comment $NetBSD: PLIST,v 1.18 2022/11/16 10:41:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2024/05/01 22:36:29 cheusov Exp $
 bin/gsed
 gnu/bin/sed
 gnu/man/man1/sed.1
 info/sed.info
 man/man1/gsed.1
-share/locale/af/LC_MESSAGES/sed.mo
-share/locale/ast/LC_MESSAGES/sed.mo
-share/locale/bg/LC_MESSAGES/sed.mo
-share/locale/ca/LC_MESSAGES/sed.mo
-share/locale/cs/LC_MESSAGES/sed.mo
-share/locale/da/LC_MESSAGES/sed.mo
-share/locale/de/LC_MESSAGES/sed.mo
-share/locale/el/LC_MESSAGES/sed.mo
-share/locale/eo/LC_MESSAGES/sed.mo
-share/locale/es/LC_MESSAGES/sed.mo
-share/locale/et/LC_MESSAGES/sed.mo
-share/locale/eu/LC_MESSAGES/sed.mo
-share/locale/fi/LC_MESSAGES/sed.mo
-share/locale/fr/LC_MESSAGES/sed.mo
-share/locale/ga/LC_MESSAGES/sed.mo
-share/locale/gl/LC_MESSAGES/sed.mo
-share/locale/he/LC_MESSAGES/sed.mo
-share/locale/hr/LC_MESSAGES/sed.mo
-share/locale/hu/LC_MESSAGES/sed.mo
-share/locale/id/LC_MESSAGES/sed.mo
-share/locale/it/LC_MESSAGES/sed.mo
-share/locale/ja/LC_MESSAGES/sed.mo
-share/locale/ka/LC_MESSAGES/sed.mo
-share/locale/ko/LC_MESSAGES/sed.mo
-share/locale/nb/LC_MESSAGES/sed.mo
-share/locale/nl/LC_MESSAGES/sed.mo
-share/locale/pl/LC_MESSAGES/sed.mo
-share/locale/pt/LC_MESSAGES/sed.mo
-share/locale/pt_BR/LC_MESSAGES/sed.mo
-share/locale/ro/LC_MESSAGES/sed.mo
-share/locale/ru/LC_MESSAGES/sed.mo
-share/locale/sk/LC_MESSAGES/sed.mo
-share/locale/sl/LC_MESSAGES/sed.mo
-share/locale/sr/LC_MESSAGES/sed.mo
-share/locale/sv/LC_MESSAGES/sed.mo
-share/locale/tr/LC_MESSAGES/sed.mo
-share/locale/uk/LC_MESSAGES/sed.mo
-share/locale/vi/LC_MESSAGES/sed.mo
-share/locale/zh_CN/LC_MESSAGES/sed.mo
-share/locale/zh_TW/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/af/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ast/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/eu/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/he/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ka/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/sed.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/sed.mo

Added files:

Index: pkgsrc/textproc/gsed/options.mk
diff -u /dev/null pkgsrc/textproc/gsed/options.mk:1.1
--- /dev/null   Wed May  1 22:36:30 2024
+++ pkgsrc/textproc/gsed/options.mk     Wed May  1 22:36:29 2024
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2024/05/01 22:36:29 cheusov Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.gsed
+
+PKG_SUPPORTED_OPTIONS=         nls
+PKG_SUGGESTED_OPTIONS=         nls
+
+PLIST_VARS+=   nls
+
+.include "../../mk/bsd.options.mk"
+
+# nls
+.if !empty(PKG_OPTIONS:Mnls)
+.include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls=     yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif



Home | Main Index | Thread Index | Old Index