aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-11 00:14:18 +0800
committerknu <knu@FreeBSD.org>2001-09-11 00:14:18 +0800
commitfa3c68485a45462ed5c02c3b936919f56439e8ca (patch)
tree5ee789ee2a0eee69932d4023d595da60ea122922
parentfb0c457d36eaa607bcbcb8641e18809d41cafc62 (diff)
downloadfreebsd-ports-gnome-fa3c68485a45462ed5c02c3b936919f56439e8ca.tar.gz
freebsd-ports-gnome-fa3c68485a45462ed5c02c3b936919f56439e8ca.tar.zst
freebsd-ports-gnome-fa3c68485a45462ed5c02c3b936919f56439e8ca.zip
Update to 0.2.
-rw-r--r--x11-toolkits/ruby-fltk/Makefile19
-rw-r--r--x11-toolkits/ruby-fltk/distinfo2
-rw-r--r--x11-toolkits/ruby-fltk/pkg-plist12
3 files changed, 26 insertions, 7 deletions
diff --git a/x11-toolkits/ruby-fltk/Makefile b/x11-toolkits/ruby-fltk/Makefile
index b36d42cb579a..f035546ca07b 100644
--- a/x11-toolkits/ruby-fltk/Makefile
+++ b/x11-toolkits/ruby-fltk/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= fltk
-PORTVERSION= 0.1
+PORTVERSION= 0.2
PORTEPOCH= 1
CATEGORIES= x11-toolkits ruby
-MASTER_SITES= http://ruby-fltk.sourceforge.net/archive/
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-#MASTER_SITE_SUBDIR= ruby-${PORTNAME}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ruby-${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
@@ -29,12 +28,20 @@ INSTALL_TARGET= site-install
CONFIGURE_ARGS= --with-fltk-dir="${X11BASE}" --with-gl-dir="${X11BASE}"
MAKE_ARGS= LOCAL_LIBS="-lgcc"
+DOCS_EN= Changes doc/en/*.txt
+DOCS_JA= doc/ja/*.txt
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/samples/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
- ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/doc/en/guide.txt ${RUBY_DOCDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-fltk/distinfo b/x11-toolkits/ruby-fltk/distinfo
index be13ae14ccb4..14a0f7a9c465 100644
--- a/x11-toolkits/ruby-fltk/distinfo
+++ b/x11-toolkits/ruby-fltk/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-fltk-0.1.tar.gz) = 874235f89b4c4cae53da365f7b7783de
+MD5 (ruby/ruby-fltk-0.2.tar.gz) = 1fa55fa301be9357c5f64214098332f9
diff --git a/x11-toolkits/ruby-fltk/pkg-plist b/x11-toolkits/ruby-fltk/pkg-plist
index 99dd6905e516..7ee9aaf54e8d 100644
--- a/x11-toolkits/ruby-fltk/pkg-plist
+++ b/x11-toolkits/ruby-fltk/pkg-plist
@@ -1,5 +1,9 @@
%%RUBY_SITEARCHLIBDIR%%/rubyfltk.so
%%RUBY_SITELIBDIR%%/fltk.rb
+%%RUBY_SITELIBDIR%%/fltk/drawable.rb
+%%RUBY_SITELIBDIR%%/fltk/listbox.rb
+@dirrm %%RUBY_SITELIBDIR%%/fltk
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/othello.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample1.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample2.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample3.rb
@@ -7,6 +11,14 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample5.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample6.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample7.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample8.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample9.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample10.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/fltk
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/Changes
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/faq.txt
%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/guide.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/reference.txt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/ja/guide.txt
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fltk/ja
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fltk