summaryrefslogtreecommitdiff
path: root/devel/subversion
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2004-11-10 20:40:19 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2004-11-10 20:40:19 +0000
commit6aa0aeb01a05ebb7dcf0e99cd395b288d231a745 (patch)
tree3112bf9dec3453c6a80ab599985e8c9fdc9cb1a2 /devel/subversion
parenttetrinet.org has changed the protocol slightly, making GTetrinet unusable (diff)
Add conditional USE_GETTEXT=yes (turned on by default).
WITHOUT_GETTEXT build works too.
Notes
Notes: svn path=/head/; revision=121331
Diffstat (limited to 'devel/subversion')
-rw-r--r--devel/subversion/Makefile8
-rw-r--r--devel/subversion/pkg-plist20
2 files changed, 18 insertions, 10 deletions
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