aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-fltk
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-03 17:08:38 +0800
committerknu <knu@FreeBSD.org>2001-09-03 17:08:38 +0800
commit1997a51ee021825ad69f793d3a02c8152c61a0fa (patch)
treeb83296fc9a6b6b47ca346cd81e5dc36acac0461f /x11-toolkits/ruby-fltk
parentc67368f6e3419246b8a182e9d3a1da10b5a676af (diff)
downloadfreebsd-ports-gnome-1997a51ee021825ad69f793d3a02c8152c61a0fa.tar.gz
freebsd-ports-gnome-1997a51ee021825ad69f793d3a02c8152c61a0fa.tar.zst
freebsd-ports-gnome-1997a51ee021825ad69f793d3a02c8152c61a0fa.zip
Update to the 0.1 release.
Diffstat (limited to 'x11-toolkits/ruby-fltk')
-rw-r--r--x11-toolkits/ruby-fltk/Makefile19
-rw-r--r--x11-toolkits/ruby-fltk/distinfo2
-rw-r--r--x11-toolkits/ruby-fltk/files/patch-adjuster.rb6
-rw-r--r--x11-toolkits/ruby-fltk/pkg-plist17
4 files changed, 20 insertions, 24 deletions
diff --git a/x11-toolkits/ruby-fltk/Makefile b/x11-toolkits/ruby-fltk/Makefile
index 1b84948691ad..b36d42cb579a 100644
--- a/x11-toolkits/ruby-fltk/Makefile
+++ b/x11-toolkits/ruby-fltk/Makefile
@@ -6,9 +6,12 @@
#
PORTNAME= fltk
-PORTVERSION= 20000831
+PORTVERSION= 0.1
+PORTEPOCH= 1
CATEGORIES= x11-toolkits ruby
-MASTER_SITES= http://kt-www.jaist.ac.jp/~ttate/ftp/
+MASTER_SITES= http://ruby-fltk.sourceforge.net/archive/
+#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+#MASTER_SITE_SUBDIR= ruby-${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
@@ -22,20 +25,16 @@ USE_RUBY_EXTCONF= yes
USE_MESA= yes
-USE_GMAKE= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-0.1
INSTALL_TARGET= site-install
CONFIGURE_ARGS= --with-fltk-dir="${X11BASE}" --with-gl-dir="${X11BASE}"
MAKE_ARGS= LOCAL_LIBS="-lgcc"
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_EXAMPLESDIR}/fltk
- ${INSTALL_DATA} ${WRKSRC}/test/*.rb ${RUBY_EXAMPLESDIR}/fltk/
- ${MKDIR} ${RUBY_DOCDIR}/fltk/ja
- ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/fltk/
- ${INSTALL_DATA} ${WRKSRC}/README.euc.jp ${WRKSRC}/README.utf8 ${RUBY_DOCDIR}/fltk/ja/
+ ${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}/
.endif
.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-fltk/distinfo b/x11-toolkits/ruby-fltk/distinfo
index 020fe8651738..be13ae14ccb4 100644
--- a/x11-toolkits/ruby-fltk/distinfo
+++ b/x11-toolkits/ruby-fltk/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-fltk-20000831.tar.gz) = 020f63da8aacc46bb12747e413d97a66
+MD5 (ruby/ruby-fltk-0.1.tar.gz) = 874235f89b4c4cae53da365f7b7783de
diff --git a/x11-toolkits/ruby-fltk/files/patch-adjuster.rb b/x11-toolkits/ruby-fltk/files/patch-adjuster.rb
deleted file mode 100644
index a16ee854a1db..000000000000
--- a/x11-toolkits/ruby-fltk/files/patch-adjuster.rb
+++ /dev/null
@@ -1,6 +0,0 @@
---- test/adjuster.rb.orig Thu Aug 31 22:43:18 2000
-+++ test/adjuster.rb Mon Mar 19 00:42:07 2001
-@@ -1,2 +1,2 @@
--require "./fltk"
-+require "fltk"
-
diff --git a/x11-toolkits/ruby-fltk/pkg-plist b/x11-toolkits/ruby-fltk/pkg-plist
index b2013a410698..99dd6905e516 100644
--- a/x11-toolkits/ruby-fltk/pkg-plist
+++ b/x11-toolkits/ruby-fltk/pkg-plist
@@ -1,9 +1,12 @@
-%%RUBY_SITEARCHLIBDIR%%/fltk.so
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/adjuster.rb
-%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/pack.rb
+%%RUBY_SITEARCHLIBDIR%%/rubyfltk.so
+%%RUBY_SITELIBDIR%%/fltk.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample1.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample3.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample4.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample5.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample6.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fltk/sample7.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/fltk
-%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/README
-%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/ja/README.euc.jp
-%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/ja/README.utf8
-%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fltk/ja
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fltk/guide.txt
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/fltk