diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-11-20 16:35:43 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-11-20 16:35:43 +0000 |
commit | 786a71b71250f78e64408ea2d8dca4a6d92d94b3 (patch) | |
tree | d039cf0878b46e7eecb5fc01582ea1b147f1e654 | |
parent | 9f3d9d60807adc38f65ca64b01fb8936da244228 (diff) | |
download | ports-786a71b71250f78e64408ea2d8dca4a6d92d94b3.tar.gz ports-786a71b71250f78e64408ea2d8dca4a6d92d94b3.zip |
Notes
-rw-r--r-- | graphics/ruby-gdk_imlib/Makefile | 4 | ||||
-rw-r--r-- | graphics/ruby-gdk_pixbuf/Makefile | 3 | ||||
-rw-r--r-- | graphics/ruby-gdk_pixbuf/files/patch-extconf.rb | 6 | ||||
-rw-r--r-- | graphics/ruby-gdk_pixbuf2/Makefile | 3 | ||||
-rw-r--r-- | graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb | 6 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk/pkg-plist | 8 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk2/Makefile | 10 | ||||
-rw-r--r-- | x11-toolkits/ruby-gtk2/pkg-plist | 8 | ||||
-rw-r--r-- | x11/ruby-gnome/Makefile | 15 | ||||
-rw-r--r-- | x11/ruby-gnome/Makefile.common | 15 | ||||
-rw-r--r-- | x11/ruby-gnome/distinfo | 2 | ||||
-rw-r--r-- | x11/ruby-gnome/pkg-plist | 9 | ||||
-rw-r--r-- | x11/ruby-gnome2/Makefile | 15 | ||||
-rw-r--r-- | x11/ruby-gnome2/Makefile.common | 15 | ||||
-rw-r--r-- | x11/ruby-gnome2/distinfo | 2 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-plist | 9 |
17 files changed, 79 insertions, 61 deletions
diff --git a/graphics/ruby-gdk_imlib/Makefile b/graphics/ruby-gdk_imlib/Makefile index e0410da65d3f..5b47ad1dbff9 100644 --- a/graphics/ruby-gdk_imlib/Makefile +++ b/graphics/ruby-gdk_imlib/Makefile @@ -7,15 +7,17 @@ PORTNAME= gdk_imlib PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= graphics ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk + USE_RUBY= yes USE_RUBY_EXTCONF= yes USE_XLIB= yes diff --git a/graphics/ruby-gdk_pixbuf/Makefile b/graphics/ruby-gdk_pixbuf/Makefile index 756fdd18d9b5..188743998897 100644 --- a/graphics/ruby-gdk_pixbuf/Makefile +++ b/graphics/ruby-gdk_pixbuf/Makefile @@ -7,9 +7,9 @@ PORTNAME= gdk_pixbuf PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 2 CATEGORIES= graphics ruby gnome MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby @@ -27,6 +27,7 @@ USE_GLIB= yes .include "${.CURDIR}/../../x11/ruby-gnome/Makefile.common" WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG} INSTALL_TARGET= site-install DOCS_EN= ChangeLog README diff --git a/graphics/ruby-gdk_pixbuf/files/patch-extconf.rb b/graphics/ruby-gdk_pixbuf/files/patch-extconf.rb index 287f57d436e6..e2e658733ba7 100644 --- a/graphics/ruby-gdk_pixbuf/files/patch-extconf.rb +++ b/graphics/ruby-gdk_pixbuf/files/patch-extconf.rb @@ -1,5 +1,5 @@ ---- extconf.rb.orig Fri Mar 31 06:21:47 2000 -+++ extconf.rb Wed Feb 28 21:18:34 2001 +--- extconf.rb.orig Sat Oct 6 07:46:27 2001 ++++ extconf.rb Wed Nov 21 01:17:41 2001 @@ -1,26 +1,25 @@ require 'mkmf' @@ -14,7 +14,7 @@ + +rubygtk_dir = ARGV.shift || "../gtk" unless FileTest.exist?(rubygtk_dir) - raise "directry #{rubygtk_dir} not found. Please specify Ruby/Gtk source dir." + raise "Directory #{rubygtk_dir} not found. Please specify Ruby/Gtk source dir." end -gtklib_dir = [] -`gtk-config --libs`.split(' ').each do |e| diff --git a/graphics/ruby-gdk_pixbuf2/Makefile b/graphics/ruby-gdk_pixbuf2/Makefile index 756fdd18d9b5..188743998897 100644 --- a/graphics/ruby-gdk_pixbuf2/Makefile +++ b/graphics/ruby-gdk_pixbuf2/Makefile @@ -7,9 +7,9 @@ PORTNAME= gdk_pixbuf PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 2 CATEGORIES= graphics ruby gnome MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby @@ -27,6 +27,7 @@ USE_GLIB= yes .include "${.CURDIR}/../../x11/ruby-gnome/Makefile.common" WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG} INSTALL_TARGET= site-install DOCS_EN= ChangeLog README diff --git a/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb b/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb index 287f57d436e6..e2e658733ba7 100644 --- a/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb +++ b/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb @@ -1,5 +1,5 @@ ---- extconf.rb.orig Fri Mar 31 06:21:47 2000 -+++ extconf.rb Wed Feb 28 21:18:34 2001 +--- extconf.rb.orig Sat Oct 6 07:46:27 2001 ++++ extconf.rb Wed Nov 21 01:17:41 2001 @@ -1,26 +1,25 @@ require 'mkmf' @@ -14,7 +14,7 @@ + +rubygtk_dir = ARGV.shift || "../gtk" unless FileTest.exist?(rubygtk_dir) - raise "directry #{rubygtk_dir} not found. Please specify Ruby/Gtk source dir." + raise "Directory #{rubygtk_dir} not found. Please specify Ruby/Gtk source dir." end -gtklib_dir = [] -`gtk-config --libs`.split(' ').each do |e| diff --git a/x11-toolkits/ruby-gtk/Makefile b/x11-toolkits/ruby-gtk/Makefile index de740ee701b0..8dfce118c6f8 100644 --- a/x11-toolkits/ruby-gtk/Makefile +++ b/x11-toolkits/ruby-gtk/Makefile @@ -7,9 +7,9 @@ PORTNAME= gtk PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= x11-toolkits ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby @@ -29,18 +29,18 @@ INSTALL_TARGET= site-install DOCS_EN= BUGS \ ChangeLog \ - ENVIRONMENT \ + NEWS \ README \ README.EXT \ ToDo -DOCS_JA= README.ja \ - README.EXT.ja +DOCS_JA= README.EXT.ja post-extract: ${MKDIR} ${WRKSRC}/sample/browser - ${MV} ${WRKSRC}/doc/rbbr.rb ${WRKSRC}/sample/browser + ${MV} ${WRKSRC}/doc/*.rb ${WRKSRC}/sample/browser/ post-install: + ${INSTALL_DATA} ${WRKSRC}/lib/gtkcompat.rb ${RUBY_SITELIBDIR}/ .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ diff --git a/x11-toolkits/ruby-gtk/pkg-plist b/x11-toolkits/ruby-gtk/pkg-plist index 35a7825b3502..99f25b46c3bc 100644 --- a/x11-toolkits/ruby-gtk/pkg-plist +++ b/x11-toolkits/ruby-gtk/pkg-plist @@ -1,8 +1,13 @@ %%RUBY_SITEARCHLIBDIR%%/gtk.so +%%RUBY_SITELIBDIR%%/gtkcompat.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/calendar.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/drawing.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/helloworld.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/gtkbrows.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_gtk.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_rb.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbdump.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/test/test.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/test/test.xpm %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/test/test0.rb @@ -92,11 +97,10 @@ %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gtk %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/BUGS %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ChangeLog -%%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ENVIRONMENT +%%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/NEWS %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/README %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/README.EXT %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ToDo -%%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ja/README.ja %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ja/README.EXT.ja %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gtk/ja %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gtk diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile index de740ee701b0..8dfce118c6f8 100644 --- a/x11-toolkits/ruby-gtk2/Makefile +++ b/x11-toolkits/ruby-gtk2/Makefile @@ -7,9 +7,9 @@ PORTNAME= gtk PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= x11-toolkits ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby @@ -29,18 +29,18 @@ INSTALL_TARGET= site-install DOCS_EN= BUGS \ ChangeLog \ - ENVIRONMENT \ + NEWS \ README \ README.EXT \ ToDo -DOCS_JA= README.ja \ - README.EXT.ja +DOCS_JA= README.EXT.ja post-extract: ${MKDIR} ${WRKSRC}/sample/browser - ${MV} ${WRKSRC}/doc/rbbr.rb ${WRKSRC}/sample/browser + ${MV} ${WRKSRC}/doc/*.rb ${WRKSRC}/sample/browser/ post-install: + ${INSTALL_DATA} ${WRKSRC}/lib/gtkcompat.rb ${RUBY_SITELIBDIR}/ .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ diff --git a/x11-toolkits/ruby-gtk2/pkg-plist b/x11-toolkits/ruby-gtk2/pkg-plist index 35a7825b3502..99f25b46c3bc 100644 --- a/x11-toolkits/ruby-gtk2/pkg-plist +++ b/x11-toolkits/ruby-gtk2/pkg-plist @@ -1,8 +1,13 @@ %%RUBY_SITEARCHLIBDIR%%/gtk.so +%%RUBY_SITELIBDIR%%/gtkcompat.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/calendar.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/drawing.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/helloworld.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/gtkbrows.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_gtk.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbbr_rb.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/browser/rbdump.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/test/test.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/test/test.xpm %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gtk/test/test0.rb @@ -92,11 +97,10 @@ %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gtk %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/BUGS %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ChangeLog -%%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ENVIRONMENT +%%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/NEWS %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/README %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/README.EXT %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ToDo -%%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ja/README.ja %%PORTDOCS%%%%RUBY_DOCDIR%%/gtk/ja/README.EXT.ja %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gtk/ja %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gtk diff --git a/x11/ruby-gnome/Makefile b/x11/ruby-gnome/Makefile index f98ffa4fe2c7..ecc1821115ca 100644 --- a/x11/ruby-gnome/Makefile +++ b/x11/ruby-gnome/Makefile @@ -7,9 +7,9 @@ PORTNAME= gnome PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= x11 ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby @@ -31,25 +31,22 @@ CONFIGURE_ARGS= ${GNOME_CONFIG} INSTALL_TARGET= site-install DOCS_EN= ChangeLog \ - ENVIRONMENT \ - README -DOCS_JA= README.ja + NEWS \ + README \ + ToDo post-extract: ${MKDIR} ${WRKSRC}/sample/browser - ${MV} ${WRKSRC}/doc/rbbr.rb ${WRKSRC}/sample/browser + ${MV} ${WRKSRC}/doc/*.rb ${WRKSRC}/sample/browser post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ - ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} .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/ruby-gnome/Makefile.common b/x11/ruby-gnome/Makefile.common index 38c3cc9bc1ba..a00bb121c0c9 100644 --- a/x11/ruby-gnome/Makefile.common +++ b/x11/ruby-gnome/Makefile.common @@ -1,19 +1,22 @@ # $FreeBSD$ -RUBY_GNOME_VERSION= 0.25 +RUBY_GNOME_VERSION= 0.26 #RUBY_GNOME_SNAPSHOTDATE= 20010224 .if defined(RUBY_GNOME_SNAPSHOTDATE) RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE} .else RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION} .endif -RUBY_GNOME_MASTER_SITES= http://www.ruby-lang.org/gtk/download/ -RUBY_GNOME_DISTNAME= gnome-ruby-${RUBY_GNOME_VERSION} +RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome +RUBY_GNOME_DISTNAME= ruby-gnome-${RUBY_GNOME_VERSION} .if defined(RUBY_GNOME_SNAPSHOTDATE) -RUBY_GNOME_WRKSRC= ${WRKDIR}/gnome-ruby-snapshot-${RUBY_GNOME_SNAPSHOTDATE} +RUBY_GNOME_WRKSRC= ${WRKDIR}/ruby-gnome-snapshot-${RUBY_GNOME_SNAPSHOTDATE} .else -RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} +RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} .endif -MD5_FILE= ${PORTSDIR}/x11/ruby-gnome/distinfo +RUBY_GNOME_PORTDIR= ${PORTSDIR}/x11/ruby-gnome + +MD5_FILE= ${RUBY_GNOME_PORTDIR}/distinfo diff --git a/x11/ruby-gnome/distinfo b/x11/ruby-gnome/distinfo index a6f2755bd73a..9a42c99e3be7 100644 --- a/x11/ruby-gnome/distinfo +++ b/x11/ruby-gnome/distinfo @@ -1 +1 @@ -MD5 (ruby/gnome-ruby-0.25.tar.gz) = ddd47c525f1441eed598ec5091de2a89 +MD5 (ruby/ruby-gnome-0.26.tar.gz) = 99e7afbe89ee2c74303563cd768b0e27 diff --git a/x11/ruby-gnome/pkg-plist b/x11/ruby-gnome/pkg-plist index e561fc8f2922..f36eb5ffad5a 100644 --- a/x11/ruby-gnome/pkg-plist +++ b/x11/ruby-gnome/pkg-plist @@ -1,7 +1,11 @@ %%RUBY_SITEARCHLIBDIR%%/gnome.so %%RUBY_SITELIBDIR%%/gnome.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/animator_demo.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/gnobrows.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr_gnome.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr_rb.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbdump.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/README.ja %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnoconfig.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnome-hello-0-basic.rb @@ -28,8 +32,7 @@ %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome/browser %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome %%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ChangeLog -%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ENVIRONMENT +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/NEWS %%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/README -%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ja/README.ja -%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnome/ja +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ToDo %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnome diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile index f98ffa4fe2c7..ecc1821115ca 100644 --- a/x11/ruby-gnome2/Makefile +++ b/x11/ruby-gnome2/Makefile @@ -7,9 +7,9 @@ PORTNAME= gnome PORTVERSION= ${RUBY_GNOME_PORTVERSION} -PORTREVISION= 1 CATEGORIES= x11 ruby MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${RUBY_GNOME_DISTNAME} DIST_SUBDIR= ruby @@ -31,25 +31,22 @@ CONFIGURE_ARGS= ${GNOME_CONFIG} INSTALL_TARGET= site-install DOCS_EN= ChangeLog \ - ENVIRONMENT \ - README -DOCS_JA= README.ja + NEWS \ + README \ + ToDo post-extract: ${MKDIR} ${WRKSRC}/sample/browser - ${MV} ${WRKSRC}/doc/rbbr.rb ${WRKSRC}/sample/browser + ${MV} ${WRKSRC}/doc/*.rb ${WRKSRC}/sample/browser post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ - ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} .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/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common index 38c3cc9bc1ba..a00bb121c0c9 100644 --- a/x11/ruby-gnome2/Makefile.common +++ b/x11/ruby-gnome2/Makefile.common @@ -1,19 +1,22 @@ # $FreeBSD$ -RUBY_GNOME_VERSION= 0.25 +RUBY_GNOME_VERSION= 0.26 #RUBY_GNOME_SNAPSHOTDATE= 20010224 .if defined(RUBY_GNOME_SNAPSHOTDATE) RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE} .else RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION} .endif -RUBY_GNOME_MASTER_SITES= http://www.ruby-lang.org/gtk/download/ -RUBY_GNOME_DISTNAME= gnome-ruby-${RUBY_GNOME_VERSION} +RUBY_GNOME_MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +RUBY_GNOME_MASTER_SITE_SUBDIR= ruby-gnome +RUBY_GNOME_DISTNAME= ruby-gnome-${RUBY_GNOME_VERSION} .if defined(RUBY_GNOME_SNAPSHOTDATE) -RUBY_GNOME_WRKSRC= ${WRKDIR}/gnome-ruby-snapshot-${RUBY_GNOME_SNAPSHOTDATE} +RUBY_GNOME_WRKSRC= ${WRKDIR}/ruby-gnome-snapshot-${RUBY_GNOME_SNAPSHOTDATE} .else -RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} +RUBY_GNOME_WRKSRC= ${WRKDIR}/${RUBY_GNOME_DISTNAME} .endif -MD5_FILE= ${PORTSDIR}/x11/ruby-gnome/distinfo +RUBY_GNOME_PORTDIR= ${PORTSDIR}/x11/ruby-gnome + +MD5_FILE= ${RUBY_GNOME_PORTDIR}/distinfo diff --git a/x11/ruby-gnome2/distinfo b/x11/ruby-gnome2/distinfo index a6f2755bd73a..9a42c99e3be7 100644 --- a/x11/ruby-gnome2/distinfo +++ b/x11/ruby-gnome2/distinfo @@ -1 +1 @@ -MD5 (ruby/gnome-ruby-0.25.tar.gz) = ddd47c525f1441eed598ec5091de2a89 +MD5 (ruby/ruby-gnome-0.26.tar.gz) = 99e7afbe89ee2c74303563cd768b0e27 diff --git a/x11/ruby-gnome2/pkg-plist b/x11/ruby-gnome2/pkg-plist index e561fc8f2922..f36eb5ffad5a 100644 --- a/x11/ruby-gnome2/pkg-plist +++ b/x11/ruby-gnome2/pkg-plist @@ -1,7 +1,11 @@ %%RUBY_SITEARCHLIBDIR%%/gnome.so %%RUBY_SITELIBDIR%%/gnome.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/animator_demo.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/gnobrows.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr_gnome.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr_rb.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbdump.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/README.ja %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnoconfig.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnome-hello-0-basic.rb @@ -28,8 +32,7 @@ %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome/browser %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome %%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ChangeLog -%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ENVIRONMENT +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/NEWS %%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/README -%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ja/README.ja -%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnome/ja +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ToDo %%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnome |