From owner-freebsd-ports Sat Aug 21 15:20:19 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E25A15456 for ; Sat, 21 Aug 1999 15:20:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA51787; Sat, 21 Aug 1999 15:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from smtp2.teleway.ne.jp (smtp2.teleway.ne.jp [203.140.129.37]) by hub.freebsd.org (Postfix) with ESMTP id BC44514D11 for ; Sat, 21 Aug 1999 15:18:46 -0700 (PDT) (envelope-from yasuf@big.or.jp) Received: from localhost (kokura1-68.teleway.ne.jp [210.234.51.68]) by smtp2.teleway.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id HAA17465 for ; Sun, 22 Aug 1999 07:16:57 +0900 (JST) (envelope-from yasuf@big.or.jp) Message-Id: <19990822071656N.yasuf@big.or.jp> Date: Sun, 22 Aug 1999 07:16:56 +0900 From: yasuf@big.or.jp Reply-To: yasuf@big.or.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/13308: New port: x11-toolkits/ruby-gtk Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13308 >Category: ports >Synopsis: New port: x11-toolkits/ruby-gtk >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 21 15:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Yasuhiro Fukuma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: >Description: I'd like to add the following new port to the collection. Package name: ruby-gtk-0.20 Primary category: x11-toolkits Package description: Ruby extension module to use Gtk+. Note: You need to update the port lang/ruby (PR: ports/13304) to use this port. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ruby-gtk # ruby-gtk/Makefile # ruby-gtk/files # ruby-gtk/files/md5 # ruby-gtk/patches # ruby-gtk/patches/patch-ae # ruby-gtk/pkg # ruby-gtk/pkg/COMMENT # ruby-gtk/pkg/DESCR # ruby-gtk/pkg/PLIST # echo c - ruby-gtk mkdir -p ruby-gtk > /dev/null 2>&1 echo x - ruby-gtk/Makefile sed 's/^X//' >ruby-gtk/Makefile << 'END-of-ruby-gtk/Makefile' X# New ports collection makefile for: ruby-gtk X# Version required: 0.20 X# Date created: 19 April 1999 X# Whom: Yasuhiro Fukuma X# X# $Id$ X# X XDISTNAME= ruby-gtk-0.20 XCATEGORIES= x11-toolkits XMASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ \ X ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \ X ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \ X ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \ X ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \ X ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \ X ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/ X XMAINTAINER= yasuf@big.or.jp X XBUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby XRUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby XLIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 X XUSE_XLIB= yes XWRKSRC= ${WRKDIR}/gtk XPLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" X XRUBY= ${PREFIX}/bin/ruby XRUBY_VER= 1.4 XRUBY_ARCH= ${ARCH}-freebsd${OSREL} X XGTK_CONFIG?= ${X11BASE}/bin/gtk12-config X Xdo-configure: X @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${GTK_CONFIG} X Xpost-install: X ${MKDIR} ${PREFIX}/share/examples/ruby/gtk X ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/gtk X ${MKDIR} ${PREFIX}/share/examples/ruby/gtk/browser X ${INSTALL_DATA} ${WRKSRC}/doc/*.rb ${PREFIX}/share/examples/ruby/gtk/browser X X.include END-of-ruby-gtk/Makefile echo c - ruby-gtk/files mkdir -p ruby-gtk/files > /dev/null 2>&1 echo x - ruby-gtk/files/md5 sed 's/^X//' >ruby-gtk/files/md5 << 'END-of-ruby-gtk/files/md5' XMD5 (ruby-gtk-0.20.tar.gz) = f1baf7fd43dde9ab44cb4e783c8d431c END-of-ruby-gtk/files/md5 echo c - ruby-gtk/patches mkdir -p ruby-gtk/patches > /dev/null 2>&1 echo x - ruby-gtk/patches/patch-ae sed 's/^X//' >ruby-gtk/patches/patch-ae << 'END-of-ruby-gtk/patches/patch-ae' X--- src/makedefconst.rb.orig Wed Jul 14 22:40:08 1999 X+++ src/makedefconst.rb Sat Aug 14 04:10:44 1999 X@@ -113,11 +113,9 @@ X if /mswin32/ =~ PLATFORM X makefile.puts(" lib /OUT:\$@ \$?") X else X- makefile.puts(" \$(AR) -rs \$@ \$?") X+ makefile.puts(" \$(AR) -r \$@ \$?"); X+ makefile.puts(" \$(RANLIB) \$@") X end X-makefile.puts("# if your \$(AR) don't accept -s options, test below:") X-makefile.puts("# \$(AR) -r \$@"); X-makefile.puts("# \$(RANLIB) \$@") X X makefile.close X cfile.close END-of-ruby-gtk/patches/patch-ae echo c - ruby-gtk/pkg mkdir -p ruby-gtk/pkg > /dev/null 2>&1 echo x - ruby-gtk/pkg/COMMENT sed 's/^X//' >ruby-gtk/pkg/COMMENT << 'END-of-ruby-gtk/pkg/COMMENT' Xa Ruby interface to Gtk+ toolkits. END-of-ruby-gtk/pkg/COMMENT echo x - ruby-gtk/pkg/DESCR sed 's/^X//' >ruby-gtk/pkg/DESCR << 'END-of-ruby-gtk/pkg/DESCR' XRuby extension module to use Gtk+. X XWWW: http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/gtk.html X X- Yasuhiro Fukuma Xyasuf@big.or.jp END-of-ruby-gtk/pkg/DESCR echo x - ruby-gtk/pkg/PLIST sed 's/^X//' >ruby-gtk/pkg/PLIST << 'END-of-ruby-gtk/pkg/PLIST' Xlib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gtk.so Xshare/examples/ruby/gtk/drawing.rb Xshare/examples/ruby/gtk/helloworld.rb Xshare/examples/ruby/gtk/text.rb Xshare/examples/ruby/gtk/texthook.rb Xshare/examples/ruby/gtk/browser/gtkbrows.rb Xshare/examples/ruby/gtk/browser/rbbr_gtk.rb Xshare/examples/ruby/gtk/browser/rbbr_rb.rb Xshare/examples/ruby/gtk/browser/rbdump.rb X@dirrm share/examples/ruby/gtk/browser X@dirrm share/examples/ruby/gtk END-of-ruby-gtk/pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message