diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-12-06 17:17:38 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-12-06 17:17:38 +0000 |
commit | 185ceb675cf8b26e316a037b83225c000ff26f23 (patch) | |
tree | 529039d77da5b882444fb862a40d4fea197d5466 /graphics/ruby-evas | |
parent | Finish repo copy move: remove from old category, link into new, add (diff) |
Introduce a knob RUBY_NO_RD_HTML and enable it by default on alpha. This
replaces the non-working NOPORTDOCS workaround and fixes build on the alpha,
where rd2 coredumps.
Tested on: the axp cluster
Approved by: kris
Notes
Notes:
svn path=/head/; revision=71402
Diffstat (limited to 'graphics/ruby-evas')
-rw-r--r-- | graphics/ruby-evas/Makefile | 17 | ||||
-rw-r--r-- | graphics/ruby-evas/pkg-plist | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/ruby-evas/Makefile b/graphics/ruby-evas/Makefile index f627917b13f5..78e85cd03302 100644 --- a/graphics/ruby-evas/Makefile +++ b/graphics/ruby-evas/Makefile @@ -19,22 +19,25 @@ LIB_DEPENDS= evas.6:${PORTSDIR}/graphics/evas USE_RUBY= yes USE_RUBY_EXTCONF= yes -USE_RUBY_RDTOOL= yes + +RUBY_RD_FILES= # defined CONFIGURE_WRKSRC= ${WRKSRC}/src BUILD_WRKSRC= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC= ${BUILD_WRKSRC} INSTALL_TARGET= site-install -DOCS= README doc/evas.rd doc/evas.html +DOCS= README doc/evas.* + +post-install: doc-install + +.include <bsd.port.mk> -post-build: +doc-install: .if !defined(NOPORTDOCS) +.if !defined(RUBY_NO_RD_HTML) cd ${WRKSRC}/doc; ${MAKE} .endif - -post-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${CP} -R ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} @@ -42,5 +45,3 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif - -.include <bsd.port.mk> diff --git a/graphics/ruby-evas/pkg-plist b/graphics/ruby-evas/pkg-plist index 6d1605225e34..ea641fbcff11 100644 --- a/graphics/ruby-evas/pkg-plist +++ b/graphics/ruby-evas/pkg-plist @@ -9,6 +9,6 @@ %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/nonblock.rb %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/evas.html +%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/evas.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/evas.rd %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |