diff options
author | Steve Wills <swills@FreeBSD.org> | 2016-09-15 15:05:15 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2016-09-15 15:05:15 +0000 |
commit | 4b1138d5db2b962202c9bba5d5654f2dbd917096 (patch) | |
tree | 75cabf1680ac728349668d8a76fd6a033ce4bd65 /japanese | |
parent | 0bcca4eff8aa5e600b9ff1997da998257e2d8669 (diff) |
japanese/ruby-romkan: remove RUBY_RD_FILES
PR: 210665
Notes
Notes:
svn path=/head/; revision=422200
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/ruby-romkan/Makefile | 29 | ||||
-rw-r--r-- | japanese/ruby-romkan/pkg-plist | 8 |
2 files changed, 15 insertions, 22 deletions
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile index abc760bcd080..44d7ec05a74b 100644 --- a/japanese/ruby-romkan/Makefile +++ b/japanese/ruby-romkan/Makefile @@ -3,6 +3,7 @@ PORTNAME= romkan PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= japanese converters ruby MASTER_SITES= http://0xcc.net/ruby-romkan/ DISTNAME= ruby-${PORTNAME}-${PORTVERSION} @@ -15,17 +16,11 @@ USE_RUBY= yes NO_BUILD= yes -EXAMPLES_JA= test.rb test.sh +EXAMPLES= test.rb test.sh -RUBY_RD_FILES= romkan.en.rd romkan.ja.rd +DOCS= ChangeLog romkan.en.rd romkan.ja.rd -DOCS_EN= ChangeLog \ - ${RUBY_RD_FILES:M*.en.rd} \ - ${RUBY_RD_HTML_FILES:M*.en.html} -DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \ - ${RUBY_RD_HTML_FILES:M*.ja.html} - -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS EXAMPLES .include <bsd.port.pre.mk> @@ -35,16 +30,16 @@ do-install: ${MKDIR} ${STAGEDIR}/${RUBY_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${STAGEDIR}${RUBY_SITELIBDIR}/ - ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja -.for f in ${EXAMPLES_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/ +do-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} .endfor - ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja -.for f in ${DOCS_EN} + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} +.for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor -.for f in ${DOCS_JA} - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ -.endfor .include <bsd.port.post.mk> diff --git a/japanese/ruby-romkan/pkg-plist b/japanese/ruby-romkan/pkg-plist index 1a8d91df5fd4..d74940ae611e 100644 --- a/japanese/ruby-romkan/pkg-plist +++ b/japanese/ruby-romkan/pkg-plist @@ -1,8 +1,6 @@ %%RUBY_SITELIBDIR%%/romkan.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ja/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ja/test.sh +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.sh %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog -%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/romkan.en.html %%PORTDOCS%%%%RUBY_MODDOCDIR%%/romkan.en.rd -%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/romkan.ja.html -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/romkan.ja.rd +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/romkan.ja.rd |