Add conditional USE_GETTEXT=yes (turned on by default).
WITHOUT_GETTEXT build works too.
This commit is contained in:
parent
153f063e0a
commit
6aa0aeb01a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121331
8 changed files with 72 additions and 40 deletions
|
@ -33,6 +33,14 @@ TXT_DOCS= BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
|
|||
PORTDOCS= ${TXT_DOCS}
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GETTEXT)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= WITHOUT_GETTEXT=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= WITHOUT_GETTEXT="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SVNREPOS?= /home/svn/repos
|
||||
|
|
|
@ -79,15 +79,15 @@ lib/libsvn_subr-1.so.0
|
|||
lib/libsvn_wc-1.a
|
||||
lib/libsvn_wc-1.so
|
||||
lib/libsvn_wc-1.so.0
|
||||
share/locale/de/LC_MESSAGES/subversion.mo
|
||||
share/locale/es/LC_MESSAGES/subversion.mo
|
||||
share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/de/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/es/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
share/subversion/backup/hot-backup.py
|
||||
share/subversion/client-side/bash_completion
|
||||
share/subversion/client-side/bash_completion_test
|
||||
|
|
|
@ -33,6 +33,14 @@ TXT_DOCS= BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
|
|||
PORTDOCS= ${TXT_DOCS}
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GETTEXT)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= WITHOUT_GETTEXT=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= WITHOUT_GETTEXT="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SVNREPOS?= /home/svn/repos
|
||||
|
|
|
@ -79,15 +79,15 @@ lib/libsvn_subr-1.so.0
|
|||
lib/libsvn_wc-1.a
|
||||
lib/libsvn_wc-1.so
|
||||
lib/libsvn_wc-1.so.0
|
||||
share/locale/de/LC_MESSAGES/subversion.mo
|
||||
share/locale/es/LC_MESSAGES/subversion.mo
|
||||
share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/de/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/es/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
share/subversion/backup/hot-backup.py
|
||||
share/subversion/client-side/bash_completion
|
||||
share/subversion/client-side/bash_completion_test
|
||||
|
|
|
@ -33,6 +33,14 @@ TXT_DOCS= BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
|
|||
PORTDOCS= ${TXT_DOCS}
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GETTEXT)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= WITHOUT_GETTEXT=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= WITHOUT_GETTEXT="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SVNREPOS?= /home/svn/repos
|
||||
|
|
|
@ -79,15 +79,15 @@ lib/libsvn_subr-1.so.0
|
|||
lib/libsvn_wc-1.a
|
||||
lib/libsvn_wc-1.so
|
||||
lib/libsvn_wc-1.so.0
|
||||
share/locale/de/LC_MESSAGES/subversion.mo
|
||||
share/locale/es/LC_MESSAGES/subversion.mo
|
||||
share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/de/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/es/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
share/subversion/backup/hot-backup.py
|
||||
share/subversion/client-side/bash_completion
|
||||
share/subversion/client-side/bash_completion_test
|
||||
|
|
|
@ -33,6 +33,14 @@ TXT_DOCS= BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
|
|||
PORTDOCS= ${TXT_DOCS}
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_GETTEXT)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= WITHOUT_GETTEXT=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= WITHOUT_GETTEXT="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
SVNREPOS?= /home/svn/repos
|
||||
|
|
|
@ -79,15 +79,15 @@ lib/libsvn_subr-1.so.0
|
|||
lib/libsvn_wc-1.a
|
||||
lib/libsvn_wc-1.so
|
||||
lib/libsvn_wc-1.so.0
|
||||
share/locale/de/LC_MESSAGES/subversion.mo
|
||||
share/locale/es/LC_MESSAGES/subversion.mo
|
||||
share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/de/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/es/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/ja/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/nb/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pl/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/pt_BR/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/sv/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_CN/LC_MESSAGES/subversion.mo
|
||||
%%WITHOUT_GETTEXT%%share/locale/zh_TW/LC_MESSAGES/subversion.mo
|
||||
share/subversion/backup/hot-backup.py
|
||||
share/subversion/client-side/bash_completion
|
||||
share/subversion/client-side/bash_completion_test
|
||||
|
|
Loading…
Reference in a new issue