diff options
author | taca <taca> | 2011-11-23 05:21:03 +0000 |
---|---|---|
committer | taca <taca> | 2011-11-23 05:21:03 +0000 |
commit | d8b519e6345f71a9fe6067090343f005631fd88f (patch) | |
tree | a21fd93b8d4b7c0974a214aebe84475fa9b7d618 /devel/ruby-rdoc/Makefile | |
parent | 5efe7d3006e489570bc04e22eed61a6fb4ba21c2 (diff) | |
download | pkgsrc-d8b519e6345f71a9fe6067090343f005631fd88f.tar.gz |
* Needs dependency to ruby-json since 3.11. So, use lang/ruby/json.mk
to handle dependency to ruby-json.
* Fix miscellaneous permission of files.
It should fix build problem with ruby18-base.
Diffstat (limited to 'devel/ruby-rdoc/Makefile')
-rw-r--r-- | devel/ruby-rdoc/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/ruby-rdoc/Makefile b/devel/ruby-rdoc/Makefile index 725545275cf..38d594413e1 100644 --- a/devel/ruby-rdoc/Makefile +++ b/devel/ruby-rdoc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/06/19 00:48:24 taca Exp $ +# $NetBSD: Makefile,v 1.3 2011/11/23 05:21:03 taca Exp $ DISTNAME= rdoc-${RUBY_RDOC_VERSION} CATEGORIES= devel @@ -8,8 +8,14 @@ HOMEPAGE= http://docs.seattlerb.org/rdoc COMMENT= produces HTML and command-line documentation for Ruby projects LICENSE= gnu-gpl-v2 OR ruby-license +RUBY_JSON_REQD= 1.4 MAKE_ENV+= RUBYLIB=${RUBYGEM_INSTALL_ROOT}${PREFIX}/${GEM_LIBDIR}/lib -.include "../../lang/ruby/rdoc.mk" +pre-configure: + ${FIND} ${WRKSRC}/lib/rdoc/generator/template/darkfish/images \ + -type f -exec ${CHMOD} -x {} \; + .include "../../lang/ruby/gem.mk" +.include "../../lang/ruby/rdoc.mk" +.include "../../lang/ruby/json.mk" .include "../../mk/bsd.pkg.mk" |