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/ruby-sysvipc | |
parent | 06b18b4580a6e989c99e4e95831869330142325e (diff) | |
download | ports-185ceb675cf8b26e316a037b83225c000ff26f23.tar.gz ports-185ceb675cf8b26e316a037b83225c000ff26f23.zip |
Notes
Diffstat (limited to 'devel/ruby-sysvipc')
-rw-r--r-- | devel/ruby-sysvipc/Makefile | 17 | ||||
-rw-r--r-- | devel/ruby-sysvipc/pkg-plist | 2 |
2 files changed, 9 insertions, 10 deletions
diff --git a/devel/ruby-sysvipc/Makefile b/devel/ruby-sysvipc/Makefile index 7a04e3550dcd..0de531392ca0 100644 --- a/devel/ruby-sysvipc/Makefile +++ b/devel/ruby-sysvipc/Makefile @@ -17,23 +17,22 @@ MAINTAINER= knu@FreeBSD.org USE_RUBY= yes USE_RUBY_EXTCONF= yes -USE_RUBY_RDTOOL= yes + +RUBY_RD_FILES= sysvipc.rd INSTALL_TARGET= site-install -DOCS= sysvipc.html sysvipc.rd +DOCS= ${RUBY_RD_FILES} \ + ${RUBY_RD_HTML_FILES} -post-build: -.if !defined(NOPORTDOCS) - cd ${WRKSRC}; ${RUBY_RD2} sysvipc.rd > sysvipc.html -.endif +post-install: doc-install -post-install: +.include <bsd.port.mk> + +doc-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif - -.include <bsd.port.mk> diff --git a/devel/ruby-sysvipc/pkg-plist b/devel/ruby-sysvipc/pkg-plist index 9d34e6c50276..bebe68c29105 100644 --- a/devel/ruby-sysvipc/pkg-plist +++ b/devel/ruby-sysvipc/pkg-plist @@ -1,4 +1,4 @@ %%RUBY_SITEARCHLIBDIR%%/sysvipc.so -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/sysvipc.html +%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/sysvipc.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/sysvipc.rd %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |