textproc/ruby-sary: remove RUBY_RD_FILES

PR:		210665
This commit is contained in:
Steve Wills 2016-09-15 15:08:26 +00:00
parent b87006cd8e
commit 70d698c2c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422203
2 changed files with 7 additions and 18 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= sary
PORTVERSION= 1.2.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= textproc ruby
MASTER_SITES= http://sary.sourceforge.net/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -28,21 +28,14 @@ USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USES= pkgconfig
RUBY_RD_FILES= *.en.rd *.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}
DOCS= ChangeLog *.en.rd *.ja.rd
post-install:
${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR:C/^${LOCALBASE}/${PREFIX}/}/sary.so
${INSTALL_SCRIPT} ${WRKSRC}/rsary.rb ${STAGEDIR}${PREFIX}/bin/
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
.include <bsd.port.mk>

View File

@ -1,11 +1,7 @@
bin/rsary.rb
%%RUBY_SITEARCHLIBDIR%%/sary.so
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/README.en.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en.rd
%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/Reference.en.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Reference.en.rd
%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/README.ja.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja.rd
%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/ja/Reference.ja.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/Reference.ja.rd
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.ja.rd
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Reference.ja.rd