summaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool/Makefile.common
blob: d71269343e5a0c2c35a9b0ddf9a91c4e945dcedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: Makefile.common,v 1.7 2003/09/10 15:57:31 taca Exp $
#

# USE_RUBY_RD		- Says that the package uses rd to generate documents.
#			  (It dosen't mean rd need to run time.)
#
# [variables that each package should not define]
#
# RUBY_RD		- full path of rd
# RUBY_RD_VERSION	- rdtool version required.
#
RUBY_RD=		${LOCALBASE}/bin/rd2
RUBY_RD_VERSION =	0.6.14
RUBY_RD_REQD =		0.6.7

.if defined(USE_RUBY_RD)
USE_RUBY?=		# defined
BUILD_DEPENDS+=		${RUBY_PKGNAMEPREFIX}rdtool>=${RUBY_RD_REQD}:../../textproc/ruby-rdtool
.endif