diff options
author | knu <knu@FreeBSD.org> | 2002-12-06 17:17:38 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-12-06 17:17:38 +0000 |
commit | 9c46f078394d114e50ad01ff921a88b74dda7eb1 (patch) | |
tree | 4810246f6e2ebdc6787c76cd4552ffabb88ae682 /archivers/ruby-bz2/Makefile | |
parent | 1900d9b4804ade641a7bbef2252af134e5f2ba8f (diff) | |
download | FreeBSD-ports-9c46f078394d114e50ad01ff921a88b74dda7eb1.zip FreeBSD-ports-9c46f078394d114e50ad01ff921a88b74dda7eb1.tar.gz |
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 'archivers/ruby-bz2/Makefile')
-rw-r--r-- | archivers/ruby-bz2/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/archivers/ruby-bz2/Makefile b/archivers/ruby-bz2/Makefile index 90ef8fa..b943d4a 100644 --- a/archivers/ruby-bz2/Makefile +++ b/archivers/ruby-bz2/Makefile @@ -17,25 +17,30 @@ MAINTAINER= knu@FreeBSD.org USE_RUBY= yes USE_RUBY_EXTCONF= yes USE_RUBY_RDOC= yes -USE_RUBY_RDTOOL= yes INSTALL_TARGET= site-install -DOCS= Changes README.en bz2.html bz2.rd \ +RUBY_RD_FILES= bz2.rd + +DOCS= Changes \ + README.en \ + ${RUBY_RD_FILES} \ + ${RUBY_RD_HTML_FILES} \ docs/doc post-build: .if !defined(NOPORTDOCS) - cd ${WRKSRC}; ${RUBY_RD2} bz2.rd > bz2.html - cd ${WRKSRC}/docs; ${RUBY} b.rb bz2; rdoc bz2.rb + cd ${WRKSRC}/docs; ${RUBY} b.rb bz2; ${RUBY_RDOC} bz2.rb .endif -post-install: +post-install: doc-install + +.include <bsd.port.mk> + +doc-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif - -.include <bsd.port.mk> |