diff options
-rw-r--r-- | textproc/ruby-rdtool/buildlink3.mk | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/textproc/ruby-rdtool/buildlink3.mk b/textproc/ruby-rdtool/buildlink3.mk index 3fdef07e86b..d85893be94a 100644 --- a/textproc/ruby-rdtool/buildlink3.mk +++ b/textproc/ruby-rdtool/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2004/12/01 15:33:47 taca Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2004/12/16 13:20:37 taca Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ @@ -7,17 +7,24 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ RUBY_RDTOOL_BUILDLINK3_MK:= ${RUBY_RDTOOL_BUILDLINK3_MK}+ .if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= ruby-rdtool +BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-rdtool .endif -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby-rdtool} -BUILDLINK_PACKAGES+= ruby-rdtool +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_PKGPREFIX}-rdtool} +BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-rdtool .if !empty(RUBY_RDTOOL_BUILDLINK3_MK:M+) -BUILDLINK_FILES.ruby-rdtool+= bin/rd2 -BUILDLINK_DEPMETHOD.ruby-rdtool?= build -BUILDLINK_DEPENDS.ruby-rdtool+= {${RUBY_RD_LIST}}>=0.6.14 -BUILDLINK_PKGSRCDIR.ruby-rdtool?= ../../textproc/ruby-rdtool +.if ${RUBY_VER} == "16" +BUILDLINK_FILES.ruby16-rdtool+= bin/rd2 +BUILDLINK_DEPMETHOD.ruby16-rdtool?= build +BUILDLINK_DEPENDS.ruby16-rdtool+= {${RUBY_RD_LIST}}>=0.6.14 +BUILDLINK_PKGSRCDIR.ruby16-rdtool?= ../../textproc/ruby-rdtool +.elif ${RUBY_VER} == "18" +BUILDLINK_FILES.ruby18-rdtool+= bin/rd2 +BUILDLINK_DEPMETHOD.ruby18-rdtool?= build +BUILDLINK_DEPENDS.ruby18-rdtool+= {${RUBY_RD_LIST}}>=0.6.14 +BUILDLINK_PKGSRCDIR.ruby18-rdtool?= ../../textproc/ruby-rdtool +.endif .endif BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |