diff options
Diffstat (limited to 'devel/ruby-rbbr')
-rw-r--r-- | devel/ruby-rbbr/Makefile | 10 | ||||
-rw-r--r-- | devel/ruby-rbbr/pkg-plist | 2 |
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 |