blob: ed914c7b6256824e0373bb295e89a2887571dba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: buildlink3.mk,v 1.5 2006/02/13 15:23:28 taca Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RUBY_RDTOOL_BUILDLINK3_MK:= ${RUBY_RDTOOL_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-rdtool
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_PKGPREFIX}-rdtool}
BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-rdtool
.if !empty(RUBY_RDTOOL_BUILDLINK3_MK:M+)
RUBY_RD= rd2
RUBY_RD_VERSION = 0.6.18
RUBY_RD_REQD= 0.6.14
# create string for dependency list
RUBY_RD_LIST= ${RUBY_VERSION_LIST:C/([1-9][0-9]*)/ruby&-rdtool/g}
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
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|