summaryrefslogtreecommitdiff
path: root/graphics/ruby-tgif
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-08 08:54:49 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-08 08:54:49 +0000
commit3e4c31402b0215ed3c1d1b3741a5798a433ad7ae (patch)
treef4921d823e4ec259aa0a6b6eea87d54fa7488934 /graphics/ruby-tgif
parentupdate to 0.8.1. (diff)
Update to 20010408.
Notes
Notes: svn path=/head/; revision=41058
Diffstat (limited to 'graphics/ruby-tgif')
-rw-r--r--graphics/ruby-tgif/Makefile9
-rw-r--r--graphics/ruby-tgif/distinfo2
-rw-r--r--graphics/ruby-tgif/pkg-plist4
3 files changed, 9 insertions, 6 deletions
diff --git a/graphics/ruby-tgif/Makefile b/graphics/ruby-tgif/Makefile
index b75a52e0221c..09464f1c8c24 100644
--- a/graphics/ruby-tgif/Makefile
+++ b/graphics/ruby-tgif/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tgif
-PORTVERSION= 20010405
+PORTVERSION= 20010408
CATEGORIES= graphics ruby
MASTER_SITES= http://www2s.biglobe.ne.jp/~Nori/ruby/dist/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -32,16 +32,17 @@ DOCS_EN= README
DOCS_JA= ChangeLog.ja README.ja
post-extract:
- ${RM} ${WRKSRC}/examples/*.obj
${LN} -sf `cd ${PORTSDIR}/${TGIF_PORT} && ${MAKE} -V WRKSRC` ${WRKSRC}/tgif
+ ${TOUCH} ${WRKSRC}/tgif_lib.h
post-patch:
${RUBY} -i -pe 'gsub %r|\.\./|, "tgif/"' ${WRKSRC}/extconf.rb ${WRKSRC}/*.c
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja
+ ${INSTALL_DATA} ${WRKSRC}/examples/test??.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/examples/test??_ja.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
diff --git a/graphics/ruby-tgif/distinfo b/graphics/ruby-tgif/distinfo
index ffb2904e13b4..ef05420def51 100644
--- a/graphics/ruby-tgif/distinfo
+++ b/graphics/ruby-tgif/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-tgif-20010405.tar.gz) = ccdfe4897f1b1570b192cfe141ceae92
+MD5 (ruby/ruby-tgif-20010408.tar.gz) = 565d5f8366fef0714cc50dbede365881
diff --git a/graphics/ruby-tgif/pkg-plist b/graphics/ruby-tgif/pkg-plist
index 61444ef31cf3..24978543ddf6 100644
--- a/graphics/ruby-tgif/pkg-plist
+++ b/graphics/ruby-tgif/pkg-plist
@@ -5,5 +5,7 @@
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tgif/ja
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tgif
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tgif/test01.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tgif/test01_ja.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tgif/test02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tgif/ja/test01_ja.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/tgif/ja
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/tgif