- Update to 0.1.3.
- Change install part of *.rb. - Fix PKGNAMEPREFIX. PR: 57647 Submitted by: maintainer
This commit is contained in:
parent
3fe3319e9c
commit
6834cd6fc2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90504
3 changed files with 25 additions and 11 deletions
|
@ -6,10 +6,9 @@
|
|||
#
|
||||
|
||||
PORTNAME= rdic
|
||||
PORTVERSION= 0.1.2
|
||||
PORTVERSION= 0.1.3
|
||||
CATEGORIES= japanese ruby
|
||||
MASTER_SITES= http://www.yasgursfarm.us/download/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= morishita@skywing.org
|
||||
|
@ -43,24 +42,35 @@ DOCS_EN= ChangeLog.rdic \
|
|||
DOCS_JA= README.jp \
|
||||
xselection.html.ja \
|
||||
${RUBY_RD_FILES:Mxselection.rd.jp}
|
||||
DOCS_ETC= eliminate.default \
|
||||
keymap.default \
|
||||
rdic.conf.sample
|
||||
|
||||
pre-install:
|
||||
${CP} ${WRKSRC}/rdic ${PREFIX}/bin/rdic
|
||||
${CP} ${WRKSRC}/cnv2alc.rb ${PREFIX}/bin/cnv2alc
|
||||
${CP} ${WRKSRC}/cnv2jisx0213.rb ${PREFIX}/bin/cnv2jisx0213
|
||||
${CP} ${WRKSRC}/cnv2rdic.rb ${PREFIX}/bin/cnv2rdic
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-install: doc-install
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
post-install: rb-install doc-install
|
||||
|
||||
rb-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/rdic ${PREFIX}/bin/rdic
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cnv2alc.rb ${PREFIX}/bin/cnv2alc
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cnv2jisx0213.rb ${PREFIX}/bin/cnv2jisx0213
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/cnv2rdic.rb ${PREFIX}/bin/cnv2rdic
|
||||
|
||||
doc-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
||||
${MKDIR} ${RUBY_MODDOCDIR}/etc
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
||||
.endfor
|
||||
.for f in ${DOCS_JA}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
||||
.endfor
|
||||
.for f in ${DOCS_ETC}
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${RUBY_MODDOCDIR}/etc/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (ruby/rdic-0.1.2.tar.gz) = 5e60bc41ff5e609eae6cde66e3400d90
|
||||
MD5 (ruby/rdic-0.1.3.tar.gz) = 403e3b62ab5b492e6e5f1e6204afe8b0
|
||||
|
|
|
@ -11,8 +11,12 @@ bin/cnv2rdic
|
|||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.keymap
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.xselection
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/xselection.rd
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/etc/eliminate.default
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/etc/keymap.default
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/etc/rdic.conf.sample
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/xselection.html.ja
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.jp
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/xselection.rd.jp
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/etc
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
|
||||
|
|
Loading…
Reference in a new issue