diff options
author | minskim <minskim@pkgsrc.org> | 2005-04-10 00:57:58 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-04-10 00:57:58 +0000 |
commit | 4754bcf11c6435f444c7359294cfec3b23deaa54 (patch) | |
tree | a033b34e927afbd9a7110dba34506e3ffa2c3cf7 /lang/ruby | |
parent | 2073067a6a4e7bc58765cf351b5241832cb89725 (diff) | |
download | pkgsrc-4754bcf11c6435f444c7359294cfec3b23deaa54.tar.gz |
Add PRINT_PLIST_AWK patterns for ruby modules.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/modules.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk index f6e49bd43fc..b866110bc7a 100644 --- a/lang/ruby/modules.mk +++ b/lang/ruby/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.7 2005/04/02 05:10:10 minskim Exp $ +# $NetBSD: modules.mk,v 1.8 2005/04/10 00:57:58 minskim Exp $ .if !defined(_RUBY_MODULE_MK) _RUBY_MODULE_MK= # defined @@ -142,4 +142,11 @@ ruby-simple-install: .include "replace.mk" +PRINT_PLIST_AWK+= /^@dirrm lib\/ruby$$/ { next; } +PRINT_PLIST_AWK+= /^@dirrm ${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \ + { next; } +PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \ + { gsub(/${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_SITELIBDIR}"); \ + print; next; } + .endif |