diff options
author | taca <taca@pkgsrc.org> | 2004-12-01 15:33:47 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-12-01 15:33:47 +0000 |
commit | 81016cc094404e048d90afd8e6215421e8eee6d1 (patch) | |
tree | abf96129ac51f5031024ed93926791ce85ff5127 /textproc/ruby-rdtool | |
parent | b02621635f4a5c8d5c3d9bb47b06d34f4a0c9868 (diff) | |
download | pkgsrc-81016cc094404e048d90afd8e6215421e8eee6d1.tar.gz |
Clean up buildlink3.mk; fix myself to understand buildlink3...
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r-- | textproc/ruby-rdtool/buildlink3.mk | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/textproc/ruby-rdtool/buildlink3.mk b/textproc/ruby-rdtool/buildlink3.mk index c6bd97340d8..3fdef07e86b 100644 --- a/textproc/ruby-rdtool/buildlink3.mk +++ b/textproc/ruby-rdtool/buildlink3.mk @@ -1,40 +1,23 @@ -# $NetBSD: buildlink3.mk,v 1.1 2004/11/27 15:28:30 taca Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/12/01 15:33:47 taca Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ .include "rdversion.mk" -.if ${RUBY_VER} == ${RUBY_VER_DEFAULT} -RUBY18_RDTOOL_BUILDLINK3_MK:= ${RUBY18_RDTOOL_BUILDLINK3_MK}+ -.else -RUBY16_RDTOOL_BUILDLINK3_MK:= ${RUBY16_RDTOOL_BUILDLINK3_MK}+ -.endif +RUBY_RDTOOL_BUILDLINK3_MK:= ${RUBY_RDTOOL_BUILDLINK3_MK}+ .if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-rdtool +BUILDLINK_DEPENDS+= ruby-rdtool .endif -.if ${RUBY_VER} == ${RUBY_VER_DEFAULT} -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby18-rdtool} -.else -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby16-rdtool} -.endif -BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-rdtool +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby-rdtool} +BUILDLINK_PACKAGES+= ruby-rdtool -.if ${RUBY_VER} == ${RUBY_VER_DEFAULT} -.if !empty(RUBY18_RDTOOL_BUILDLINK3_MK:M+) -BUILDLINK_FILES.ruby18-rdtool+= bin/rd2 -BUILDLINK_DEPMETHOD.ruby18-rdtool?= build -BUILDLINK_DEPENDS.ruby18-rdtool+= ${RUBY_PKGPREFIX}-rdtool>=0.6.14 -BUILDLINK_PKGSRCDIR.ruby18-rdtool?= ../../textproc/ruby-rdtool -.endif # RUBY18_RDTOOL_BUILDLINK3_MK -.else -.if !empty(RUBY16_RDTOOL_BUILDLINK3_MK:M+) -BUILDLINK_FILES.ruby16-rdtool+= bin/rd2 -BUILDLINK_DEPMETHOD.ruby16-rdtool?= build -BUILDLINK_DEPENDS.ruby16-rdtool+= ${RUBY_PKGPREFIX}-rdtool>=0.6.14 -BUILDLINK_PKGSRCDIR.ruby16-rdtool?= ../../textproc/ruby-rdtool -.endif # RUBY16_RDTOOL_BUILDLINK3_MK +.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 .endif BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |