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 | bff2680fad76d03c54ff685746d2f42abc5be816 (patch) | |
tree | a033b34e927afbd9a7110dba34506e3ffa2c3cf7 | |
parent | 16e1ceb23225bd9bd1443a28d0399cbd7cf3c98f (diff) | |
download | pkgsrc-bff2680fad76d03c54ff685746d2f42abc5be816.tar.gz |
Add PRINT_PLIST_AWK patterns for ruby modules.
-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 |