aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-07 16:08:30 +0800
committerkrion <krion@FreeBSD.org>2003-10-07 16:08:30 +0800
commitce6fe4977e42a10b33f01a7ec1dc0eeb960725bf (patch)
tree04b5170f88f78e08be835c7c81eba7f82c914176 /japanese
parent9fa399948ef716575d798fe457b1895931495ecd (diff)
downloadfreebsd-ports-gnome-ce6fe4977e42a10b33f01a7ec1dc0eeb960725bf.tar.gz
freebsd-ports-gnome-ce6fe4977e42a10b33f01a7ec1dc0eeb960725bf.tar.zst
freebsd-ports-gnome-ce6fe4977e42a10b33f01a7ec1dc0eeb960725bf.zip
- Update to 0.1.3.
- Change install part of *.rb. - Fix PKGNAMEPREFIX. PR: 57647 Submitted by: maintainer
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ruby-rdic/Makefile30
-rw-r--r--japanese/ruby-rdic/distinfo2
-rw-r--r--japanese/ruby-rdic/pkg-plist4
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%%