pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/help2man



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Tue Apr 30 12:22:57 UTC 2024

Modified Files:
        pkgsrc/converters/help2man: Makefile PLIST
Added Files:
        pkgsrc/converters/help2man: options.mk

Log Message:
Add option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/converters/help2man/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/converters/help2man/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/help2man/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/converters/help2man/Makefile
diff -u pkgsrc/converters/help2man/Makefile:1.71 pkgsrc/converters/help2man/Makefile:1.72
--- pkgsrc/converters/help2man/Makefile:1.71    Mon Jan  2 09:05:43 2023
+++ pkgsrc/converters/help2man/Makefile Tue Apr 30 12:22:57 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2023/01/02 09:05:43 adam Exp $
+# $NetBSD: Makefile,v 1.72 2024/04/30 12:22:57 cheusov Exp $
 
 DISTNAME=      help2man-1.49.3
 CATEGORIES=    converters
@@ -14,7 +14,7 @@ DEPENDS+=             p5-gettext>=1.01:../../devel/
 
 USE_GCC_RUNTIME=       yes
 USE_PKGLOCALEDIR=      yes
-USE_TOOLS+=            perl:run msgfmt gmake
+USE_TOOLS+=            perl:run gmake
 GNU_CONFIGURE=         yes
 
 SUBST_CLASSES+=                paths
@@ -27,6 +27,8 @@ INFO_FILES=           yes
 
 .include "../../mk/bsd.prefs.mk"
 
+.include "options.mk"
+
 .if ${OPSYS} == "Darwin"
 SOEXT=                 dylib
 SUBST_CLASSES+=                shlibarg

Index: pkgsrc/converters/help2man/PLIST
diff -u pkgsrc/converters/help2man/PLIST:1.20 pkgsrc/converters/help2man/PLIST:1.21
--- pkgsrc/converters/help2man/PLIST:1.20       Mon Jan  2 09:05:43 2023
+++ pkgsrc/converters/help2man/PLIST    Tue Apr 30 12:22:57 2024
@@ -1,61 +1,61 @@
-@comment $NetBSD: PLIST,v 1.20 2023/01/02 09:05:43 adam Exp $
+@comment $NetBSD: PLIST,v 1.21 2024/04/30 12:22:57 cheusov Exp $
 bin/help2man
-info/help2man-de.info
-info/help2man-es.info
-info/help2man-fr.info
-info/help2man-pl.info
-info/help2man-pt_BR.info
-info/help2man-ro.info
-info/help2man-sr.info
-info/help2man-sv.info
-info/help2man-uk.info
-info/help2man-zh_CN.info
+${PLIST.nls}info/help2man-de.info
+${PLIST.nls}info/help2man-es.info
+${PLIST.nls}info/help2man-fr.info
+${PLIST.nls}info/help2man-pl.info
+${PLIST.nls}info/help2man-pt_BR.info
+${PLIST.nls}info/help2man-ro.info
+${PLIST.nls}info/help2man-sr.info
+${PLIST.nls}info/help2man-sv.info
+${PLIST.nls}info/help2man-uk.info
+${PLIST.nls}info/help2man-zh_CN.info
 info/help2man.info
-lib/bindtextdomain.${SOEXT}
-man/da/man1/help2man.1
-man/de/man1/help2man.1
-man/el/man1/help2man.1
-man/eo/man1/help2man.1
-man/es/man1/help2man.1
-man/fi/man1/help2man.1
-man/fr/man1/help2man.1
-man/hr/man1/help2man.1
-man/hu/man1/help2man.1
-man/it/man1/help2man.1
-man/ja/man1/help2man.1
-man/ko/man1/help2man.1
+${PLIST.nls}lib/bindtextdomain.${SOEXT}
+${PLIST.nls}man/da/man1/help2man.1
+${PLIST.nls}man/de/man1/help2man.1
+${PLIST.nls}man/el/man1/help2man.1
+${PLIST.nls}man/eo/man1/help2man.1
+${PLIST.nls}man/es/man1/help2man.1
+${PLIST.nls}man/fi/man1/help2man.1
+${PLIST.nls}man/fr/man1/help2man.1
+${PLIST.nls}man/hr/man1/help2man.1
+${PLIST.nls}man/hu/man1/help2man.1
+${PLIST.nls}man/it/man1/help2man.1
+${PLIST.nls}man/ja/man1/help2man.1
+${PLIST.nls}man/ko/man1/help2man.1
 man/man1/help2man.1
-man/nb/man1/help2man.1
-man/pl/man1/help2man.1
-man/pt_BR/man1/help2man.1
-man/ro/man1/help2man.1
-man/ru/man1/help2man.1
-man/sr/man1/help2man.1
-man/sv/man1/help2man.1
-man/ta/man1/help2man.1
-man/uk/man1/help2man.1
-man/vi/man1/help2man.1
-man/zh_CN/man1/help2man.1
-share/locale/da/LC_MESSAGES/help2man.mo
-share/locale/de/LC_MESSAGES/help2man.mo
-share/locale/el/LC_MESSAGES/help2man.mo
-share/locale/eo/LC_MESSAGES/help2man.mo
-share/locale/es/LC_MESSAGES/help2man.mo
-share/locale/fi/LC_MESSAGES/help2man.mo
-share/locale/fr/LC_MESSAGES/help2man.mo
-share/locale/hr/LC_MESSAGES/help2man.mo
-share/locale/hu/LC_MESSAGES/help2man.mo
-share/locale/it/LC_MESSAGES/help2man.mo
-share/locale/ja/LC_MESSAGES/help2man.mo
-share/locale/ko/LC_MESSAGES/help2man.mo
-share/locale/nb/LC_MESSAGES/help2man.mo
-share/locale/pl/LC_MESSAGES/help2man.mo
-share/locale/pt_BR/LC_MESSAGES/help2man.mo
-share/locale/ro/LC_MESSAGES/help2man.mo
-share/locale/ru/LC_MESSAGES/help2man.mo
-share/locale/sr/LC_MESSAGES/help2man.mo
-share/locale/sv/LC_MESSAGES/help2man.mo
-share/locale/ta/LC_MESSAGES/help2man.mo
-share/locale/uk/LC_MESSAGES/help2man.mo
-share/locale/vi/LC_MESSAGES/help2man.mo
-share/locale/zh_CN/LC_MESSAGES/help2man.mo
+${PLIST.nls}man/nb/man1/help2man.1
+${PLIST.nls}man/pl/man1/help2man.1
+${PLIST.nls}man/pt_BR/man1/help2man.1
+${PLIST.nls}man/ro/man1/help2man.1
+${PLIST.nls}man/ru/man1/help2man.1
+${PLIST.nls}man/sr/man1/help2man.1
+${PLIST.nls}man/sv/man1/help2man.1
+${PLIST.nls}man/ta/man1/help2man.1
+${PLIST.nls}man/uk/man1/help2man.1
+${PLIST.nls}man/vi/man1/help2man.1
+${PLIST.nls}man/zh_CN/man1/help2man.1
+${PLIST.nls}share/locale/da/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/hr/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/ta/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/help2man.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/help2man.mo

Added files:

Index: pkgsrc/converters/help2man/options.mk
diff -u /dev/null pkgsrc/converters/help2man/options.mk:1.1
--- /dev/null   Tue Apr 30 12:22:57 2024
+++ pkgsrc/converters/help2man/options.mk       Tue Apr 30 12:22:57 2024
@@ -0,0 +1,16 @@
+# $NetBSD
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.help2man
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_OPTIONS+=        nls
+PLIST_VARS+=           nls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnls)
+USE_TOOLS+=            msgfmt
+PLIST.nls=             yes
+CONFIGURE_ARGS+=       --enable-nls
+.else
+CONFIGURE_ARGS+=       --disable-nls
+.endif



Home | Main Index | Thread Index | Old Index