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 /security | |
parent | 06b18b4580a6e989c99e4e95831869330142325e (diff) | |
download | ports-185ceb675cf8b26e316a037b83225c000ff26f23.tar.gz ports-185ceb675cf8b26e316a037b83225c000ff26f23.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/ruby-acl/Makefile | 36 | ||||
-rw-r--r-- | security/ruby-acl/pkg-plist | 4 |
2 files changed, 19 insertions, 21 deletions
diff --git a/security/ruby-acl/Makefile b/security/ruby-acl/Makefile index 678a571fa5b8..18baddefbc56 100644 --- a/security/ruby-acl/Makefile +++ b/security/ruby-acl/Makefile @@ -15,29 +15,27 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes -USE_RUBY_RDTOOL= yes -do-build: -.if !defined(NOPORTDOCS) -.for f in acl.rd acl.rd.ja - @cd ${WRKSRC}/doc; \ - ${RUBY_RD2} ${f} > ${f:S/.rd/.html/} -.endfor -.endif +NO_BUILD= yess + +RUBY_RD_FILES= doc/acl.rd doc/ja/acl.rd.ja + +post-extract: + ${MKDIR} ${WRKSRC}/doc/ja + ${MV} ${WRKSRC}/README ${WRKSRC}/doc/ + ${MV} ${WRKSRC}/README.ja ${WRKSRC}/doc/*.ja ${WRKSRC}/doc/ja/ do-install: - @cd ${WRKSRC}; \ - ${RUBY} install.rb + @cd ${WRKSRC}; ${RUBY} install.rb + +post-install: doc-install + +.include <bsd.port.mk> + +doc-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/acltest.rb ${RUBY_MODEXAMPLESDIR} - ${MKDIR} ${RUBY_MODDOCDIR}/ja -.for f in README doc/acl.rd doc/acl.html - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR} -.endfor -.for f in README.ja doc/acl.rd.ja doc/acl.html.ja - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja -.endfor + ${MKDIR} ${RUBY_MODDOCDIR} + ${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/ .endif - -.include <bsd.port.mk> diff --git a/security/ruby-acl/pkg-plist b/security/ruby-acl/pkg-plist index 916bf89eb9d0..700782ea6071 100644 --- a/security/ruby-acl/pkg-plist +++ b/security/ruby-acl/pkg-plist @@ -2,10 +2,10 @@ %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/acltest.rb %%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% %%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/acl.html +%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/acl.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/acl.rd %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/acl.html.ja +%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/acl.ja.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/acl.rd.ja %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |