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 /devel/rubygem-gettext/Makefile | |
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
Diffstat (limited to 'devel/rubygem-gettext/Makefile')
-rw-r--r-- | devel/rubygem-gettext/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/rubygem-gettext/Makefile b/devel/rubygem-gettext/Makefile index f2e7bcf0ddda..a2512d611310 100644 --- a/devel/rubygem-gettext/Makefile +++ b/devel/rubygem-gettext/Makefile @@ -19,24 +19,24 @@ MAINTAINER= knu@FreeBSD.org BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext USE_RUBY= yes -USE_RUBY_RDTOOL= yes USE_RUBY_SETUP= yes RUBY_SETUP= install.rb +RUBY_RD_FILES= # defined RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb -post-build: +post-install: doc-install + +.include <bsd.port.mk> + +doc-install: .if !defined(NOPORTDOCS) +.if !defined(RUBY_NO_RD_HTML) cd ${WRKSRC}/docs; ${RUBY} makehtml.rb - cd ${WRKSRC}/samples; ${RUBY} makemo.rb .endif - -post-install: -.if !defined(NOPORTDOCS) + cd ${WRKSRC}/samples; ${RUBY} makemo.rb ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${CP} -R ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} ${CP} -R ${WRKSRC}/docs/* ${RUBY_MODDOCDIR}/ .endif - -.include <bsd.port.mk> |