pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-rdtool Clean up buildlink3.mk; fix mysel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a37a97d1496
branches:  trunk
changeset: 484945:9a37a97d1496
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Dec 01 15:33:47 2004 +0000

description:
Clean up buildlink3.mk; fix myself to understand buildlink3...

diffstat:

 textproc/ruby-rdtool/buildlink3.mk |  37 ++++++++++---------------------------
 1 files changed, 10 insertions(+), 27 deletions(-)

diffs (54 lines):

diff -r 7e64a92bd6ab -r 9a37a97d1496 textproc/ruby-rdtool/buildlink3.mk
--- a/textproc/ruby-rdtool/buildlink3.mk        Wed Dec 01 15:32:39 2004 +0000
+++ b/textproc/ruby-rdtool/buildlink3.mk        Wed Dec 01 15:33:47 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index