aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-rbbr
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-07-24 01:33:36 +0000
committerSteve Wills <swills@FreeBSD.org>2011-07-24 01:33:36 +0000
commitf4f5e2adc09fc00d652c1c2891489a20fd49c8c3 (patch)
tree1384c76e534c81b1e82641905514941c7e4e3a5b /devel/ruby-rbbr
parent707bfbadd34b222fd4a94a9c661385112b1ec52c (diff)
downloadports-f4f5e2adc09fc00d652c1c2891489a20fd49c8c3.tar.gz
ports-f4f5e2adc09fc00d652c1c2891489a20fd49c8c3.zip
Notes
Diffstat (limited to 'devel/ruby-rbbr')
-rw-r--r--devel/ruby-rbbr/Makefile10
-rw-r--r--devel/ruby-rbbr/pkg-plist2
2 files changed, 10 insertions, 2 deletions
diff --git a/devel/ruby-rbbr/Makefile b/devel/ruby-rbbr/Makefile
index 24a63d836088..c297f48c8943 100644
--- a/devel/ruby-rbbr/Makefile
+++ b/devel/ruby-rbbr/Makefile
@@ -40,4 +40,12 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} == 1.9
+PLIST_SUB+= CYMO="@comment "
+.else
+PLIST_SUB+= CYMO=""
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-rbbr/pkg-plist b/devel/ruby-rbbr/pkg-plist
index 730fdb0a299a..801b44bcf60d 100644
--- a/devel/ruby-rbbr/pkg-plist
+++ b/devel/ruby-rbbr/pkg-plist
@@ -33,7 +33,7 @@ bin/rbbr
share/locale/fr/LC_MESSAGES/rbbr.mo
share/locale/ja/LC_MESSAGES/rbbr.mo
share/locale/be/LC_MESSAGES/rbbr.mo
-share/locale/cy/LC_MESSAGES/rbbr.mo
+%%CYMO%%share/locale/cy/LC_MESSAGES/rbbr.mo
share/locale/de/LC_MESSAGES/rbbr.mo
share/locale/es/LC_MESSAGES/rbbr.mo
share/locale/it/LC_MESSAGES/rbbr.mo