diff options
author | taca <taca@pkgsrc.org> | 2010-09-10 08:35:16 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-10 08:35:16 +0000 |
commit | af6d313698f2e60721888395a3f3bc2168cb6e00 (patch) | |
tree | 7aec8db1d748ff10ed3529a4d785b980de75a350 /textproc/ruby-rdtool | |
parent | 1238cc6a4186fe55a7600b361b43758f23d92384 (diff) | |
download | pkgsrc-af6d313698f2e60721888395a3f3bc2168cb6e00.tar.gz |
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE.
* Tweak CONFLICTS pattern.
* Make buildlink3.mk support ruby18 and ruby19.
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 8 | ||||
-rw-r--r-- | textproc/ruby-rdtool/buildlink3.mk | 13 |
2 files changed, 11 insertions, 10 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index 3b592a083d0..9d2599d75c1 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -1,19 +1,19 @@ -# $NetBSD: Makefile,v 1.28 2008/09/15 08:34:44 taca Exp $ +# $NetBSD: Makefile,v 1.29 2010/09/10 08:35:16 taca Exp $ DISTNAME= rdtool-0.6.22 -PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} CATEGORIES= textproc ruby MASTER_SITES= http://rubyforge.org/frs/download.php/33346/ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://rubyforge.org/projects/rdtool/ COMMENT= RD (Ruby Document) converter to HTML/man/etc +LICENSE= gnu-gpl-v2 OR ruby-license PKG_DESTDIR_SUPPORT= user-destdir # Since rd2 commands depends its name and it can't rename, we cannot # install multiple ruby??-rd2 package (unless supported by pkgview. -CONFLICTS+= ruby[1-9][0-9]-rdtool-* +CONFLICTS+= ruby[1-9][0-9]-rdtool-[0-9]* USE_RUBY_SETUP= yes REPLACE_RUBY= bin/rd2 bin/rdswap @@ -41,7 +41,7 @@ pre-configure: post-build: .for f in ${DOCS_RD} - cd ${WRKSRC}; ${RUBY} -I./lib bin/rd2 -r lib/rd/rd2html-lib.rb ${f} \ + cd ${WRKSRC}; ${RUBY} -I./lib bin/rd2 -r rd/rd2html-lib.rb ${f} \ > ${f:S/.rd/.html/} .endfor diff --git a/textproc/ruby-rdtool/buildlink3.mk b/textproc/ruby-rdtool/buildlink3.mk index 06e8a8a20e5..c438881c306 100644 --- a/textproc/ruby-rdtool/buildlink3.mk +++ b/textproc/ruby-rdtool/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.11 2009/03/20 19:25:32 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2010/09/10 08:35:16 taca Exp $ BUILDLINK_TREE+= ${RUBY_PKGPREFIX}-rdtool @@ -10,12 +10,13 @@ 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} +#_RUBY_RD_LIST:= ${RUBY_VERSION_LIST:C/([1-9][0-9]*)/ruby&-rdtool/g:ts,} + +BUILDLINK_FILES.${RUBY_PKGPREFIX}-rdtool+= bin/rd2 +BUILDLINK_DEPMETHOD.${RUBY_PKGPREFIX}-rdtool?= build +BUILDLINK_API_DEPENDS.${RUBY_PKGPREFIX}-rdtool+=${RUBY_PKGPREFIX}-rdtool>=0.6.14 +BUILDLINK_PKGSRCDIR.${RUBY_PKGPREFIX}-rdtool?= ../../textproc/ruby-rdtool -BUILDLINK_FILES.ruby18-rdtool+= bin/rd2 -BUILDLINK_DEPMETHOD.ruby18-rdtool?= build -BUILDLINK_API_DEPENDS.ruby18-rdtool+= {${RUBY_RD_LIST}}>=0.6.14 -BUILDLINK_PKGSRCDIR.ruby18-rdtool?= ../../textproc/ruby-rdtool .endif # RUBY_RDTOOL_BUILDLINK3_MK BUILDLINK_TREE+= -${RUBY_PKGPREFIX}-rdtool |