From 6834cd6fc2efd97f9333702e75d6cc4c9daedfa4 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 7 Oct 2003 08:08:30 +0000 Subject: [PATCH] - Update to 0.1.3. - Change install part of *.rb. - Fix PKGNAMEPREFIX. PR: 57647 Submitted by: maintainer --- japanese/ruby-rdic/Makefile | 30 ++++++++++++++++++++---------- japanese/ruby-rdic/distinfo | 2 +- 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 -post-install: doc-install +PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} -.include +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 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%%