diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-07 08:08:30 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-07 08:08:30 +0000 |
commit | 6834cd6fc2efd97f9333702e75d6cc4c9daedfa4 (patch) | |
tree | a56c97ad8866e71a9cf897b192ba38d642308bc8 /japanese/ruby-rdic | |
parent | 3fe3319e9c7b9ba43dbbe03307ea843a1b262a71 (diff) | |
download | ports-6834cd6fc2efd97f9333702e75d6cc4c9daedfa4.tar.gz ports-6834cd6fc2efd97f9333702e75d6cc4c9daedfa4.zip |
- Update to 0.1.3.
- Change install part of *.rb.
- Fix PKGNAMEPREFIX.
PR: 57647
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=90504
Diffstat (limited to 'japanese/ruby-rdic')
-rw-r--r-- | japanese/ruby-rdic/Makefile | 30 | ||||
-rw-r--r-- | japanese/ruby-rdic/distinfo | 2 | ||||
-rw-r--r-- | japanese/ruby-rdic/pkg-plist | 4 |
3 files changed, 25 insertions, 11 deletions
diff --git a/japanese/ruby-rdic/Makefile b/japanese/ruby-rdic/Makefile index 18e2525abdb4..0e55e8893a00 100644 --- a/japanese/ruby-rdic/Makefile +++ b/japanese/ruby-rdic/Makefile @@ -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> diff --git a/japanese/ruby-rdic/distinfo b/japanese/ruby-rdic/distinfo index 4dbca138ec20..7013f94a7a72 100644 --- a/japanese/ruby-rdic/distinfo +++ b/japanese/ruby-rdic/distinfo @@ -1 +1 @@ -MD5 (ruby/rdic-0.1.2.tar.gz) = 5e60bc41ff5e609eae6cde66e3400d90 +MD5 (ruby/rdic-0.1.3.tar.gz) = 403e3b62ab5b492e6e5f1e6204afe8b0 diff --git a/japanese/ruby-rdic/pkg-plist b/japanese/ruby-rdic/pkg-plist index e18c1e22826d..2ad5a625031d 100644 --- a/japanese/ruby-rdic/pkg-plist +++ b/japanese/ruby-rdic/pkg-plist @@ -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%% |