1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add conditional USE_GETTEXT=yes (turned on by default).

WITHOUT_GETTEXT build works too.
This commit is contained in:
Lev A. Serebryakov 2004-11-10 20:40:19 +00:00
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

View File

@ -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

View File

@ -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
@ -248,4 +248,4 @@ share/subversion/xslt/svnindex.xsl
@dirrm share/subversion/test-scripts/svntest
@dirrm share/subversion/test-scripts
@dirrm share/subversion/xslt
@dirrm share/subversion
@dirrm share/subversion

View File

@ -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

View File

@ -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
@ -248,4 +248,4 @@ share/subversion/xslt/svnindex.xsl
@dirrm share/subversion/test-scripts/svntest
@dirrm share/subversion/test-scripts
@dirrm share/subversion/xslt
@dirrm share/subversion
@dirrm share/subversion

View File

@ -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

View File

@ -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
@ -248,4 +248,4 @@ share/subversion/xslt/svnindex.xsl
@dirrm share/subversion/test-scripts/svntest
@dirrm share/subversion/test-scripts
@dirrm share/subversion/xslt
@dirrm share/subversion
@dirrm share/subversion

View File

@ -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

View File

@ -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
@ -248,4 +248,4 @@ share/subversion/xslt/svnindex.xsl
@dirrm share/subversion/test-scripts/svntest
@dirrm share/subversion/test-scripts
@dirrm share/subversion/xslt
@dirrm share/subversion
@dirrm share/subversion