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 /archivers | |
parent | 06b18b4580a6e989c99e4e95831869330142325e (diff) | |
download | ports-185ceb675cf8b26e316a037b83225c000ff26f23.tar.gz ports-185ceb675cf8b26e316a037b83225c000ff26f23.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/ruby-bz2/Makefile | 19 | ||||
-rw-r--r-- | archivers/ruby-bz2/pkg-plist | 2 |
2 files changed, 13 insertions, 8 deletions
diff --git a/archivers/ruby-bz2/Makefile b/archivers/ruby-bz2/Makefile index 90ef8fafc830..b943d4aa0bd7 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> diff --git a/archivers/ruby-bz2/pkg-plist b/archivers/ruby-bz2/pkg-plist index 236211dc6ebf..80320d176fe7 100644 --- a/archivers/ruby-bz2/pkg-plist +++ b/archivers/ruby-bz2/pkg-plist @@ -1,7 +1,7 @@ %%RUBY_SITEARCHLIBDIR%%/bz2.so %%PORTDOCS%%%%RUBY_MODDOCDIR%%/Changes %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/bz2.html +%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/bz2.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/bz2.rd %%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/BZ2.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/BZ2.src/M000001.html |