aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2004-11-11 04:40:19 +0800
committerlev <lev@FreeBSD.org>2004-11-11 04:40:19 +0800
commit3cc53cb94cb46745f080cc25a17c9b85049ca34e (patch)
treed6872f329e68e14ab55c7c54324446b8d1a23303 /devel
parent5c3597f68c09b59bbd3fe5ed296009191548a42d (diff)
downloadfreebsd-ports-gnome-3cc53cb94cb46745f080cc25a17c9b85049ca34e.tar.gz
freebsd-ports-gnome-3cc53cb94cb46745f080cc25a17c9b85049ca34e.tar.zst
freebsd-ports-gnome-3cc53cb94cb46745f080cc25a17c9b85049ca34e.zip
Add conditional USE_GETTEXT=yes (turned on by default).
WITHOUT_GETTEXT build works too.
Diffstat (limited to 'devel')
-rw-r--r--devel/subversion-devel/Makefile8
-rw-r--r--devel/subversion-devel/pkg-plist20
-rw-r--r--devel/subversion-freebsd/Makefile8
-rw-r--r--devel/subversion-freebsd/pkg-plist20
-rw-r--r--devel/subversion/Makefile8
-rw-r--r--devel/subversion/pkg-plist20
-rw-r--r--devel/subversion16/Makefile8
-rw-r--r--devel/subversion16/pkg-plist20
8 files changed, 72 insertions, 40 deletions
diff --git a/devel/subversion-devel/Makefile b/devel/subversion-devel/Makefile
index 8de5b28a7abf..1dc43560a007 100644
--- a/devel/subversion-devel/Makefile
+++ b/devel/subversion-devel/Makefile
@@ -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
diff --git a/devel/subversion-devel/pkg-plist b/devel/subversion-devel/pkg-plist
index 442b8418ac80..c13580cb360d 100644
--- a/devel/subversion-devel/pkg-plist
+++ b/devel/subversion-devel/pkg-plist
@@ -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 \ No newline at end of file
+@dirrm share/subversion
diff --git a/devel/subversion-freebsd/Makefile b/devel/subversion-freebsd/Makefile
index 8de5b28a7abf..1dc43560a007 100644
--- a/devel/subversion-freebsd/Makefile
+++ b/devel/subversion-freebsd/Makefile
@@ -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
diff --git a/devel/subversion-freebsd/pkg-plist b/devel/subversion-freebsd/pkg-plist
index 442b8418ac80..c13580cb360d 100644
--- a/devel/subversion-freebsd/pkg-plist
+++ b/devel/subversion-freebsd/pkg-plist
@@ -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 \ No newline at end of file
+@dirrm share/subversion
diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index 8de5b28a7abf..1dc43560a007 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/Makefile
@@ -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
diff --git a/devel/subversion/pkg-plist b/devel/subversion/pkg-plist
index 442b8418ac80..c13580cb360d 100644
--- a/devel/subversion/pkg-plist
+++ b/devel/subversion/pkg-plist
@@ -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 \ No newline at end of file
+@dirrm share/subversion
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile
index 8de5b28a7abf..1dc43560a007 100644
--- a/devel/subversion16/Makefile
+++ b/devel/subversion16/Makefile
@@ -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
diff --git a/devel/subversion16/pkg-plist b/devel/subversion16/pkg-plist
index 442b8418ac80..c13580cb360d 100644
--- a/devel/subversion16/pkg-plist
+++ b/devel/subversion16/pkg-plist
@@ -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 \ No newline at end of file
+@dirrm share/subversion