summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-06-23 15:16:53 +0000
committerminskim <minskim@pkgsrc.org>2005-06-23 15:16:53 +0000
commit5c8b3453aecbfd8bb8ea17f62684539f12592dd6 (patch)
treef1c3ef28ba9b2bff280d33de12eb82aa81dbecbf /lang/ruby
parent6ce906caf82d5d4a0ceda18cbe43450786dd08c6 (diff)
downloadpkgsrc-5c8b3453aecbfd8bb8ea17f62684539f12592dd6.tar.gz
Add PRINT_PLIST_AWK patterns to exclude RUBY_DOCDIR and
RUBY_EXAMPLESDIR in generating PLIST for ruby modules.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/modules.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk
index b866110bc7a..099a1fb7719 100644
--- a/lang/ruby/modules.mk
+++ b/lang/ruby/modules.mk
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.8 2005/04/10 00:57:58 minskim Exp $
+# $NetBSD: modules.mk,v 1.9 2005/06/23 15:16:53 minskim Exp $
.if !defined(_RUBY_MODULE_MK)
_RUBY_MODULE_MK= # defined
@@ -148,5 +148,15 @@ PRINT_PLIST_AWK+= /^@dirrm ${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \
PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \
{ gsub(/${RUBY_SITELIBDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_SITELIBDIR}"); \
print; next; }
+PRINT_PLIST_AWK+= /^@dirrm ${RUBY_DOCDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \
+ { next; }
+PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_DOCDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \
+ { gsub(/${RUBY_DOCDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_DOCDIR}"); \
+ print; next; }
+PRINT_PLIST_AWK+= /^@dirrm ${RUBY_EXAMPLESDIR:S|${LOCALBASE}/||:S|/|\\/|g}$$/ \
+ { next; }
+PRINT_PLIST_AWK+= /^(@dirrm )?${RUBY_EXAMPLESDIR:S|${LOCALBASE}/||:S|/|\\/|g}/ \
+ { gsub(/${RUBY_EXAMPLESDIR:S|${LOCALBASE}/||:S|/|\\/|g}/, "$${RUBY_EXAMPLESDIR}"); \
+ print; next; }
.endif