Date: Fri, 11 Jun 1999 14:29:05 +0900 From: yasuf@big.or.jp To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12124: New port: devel/ruby-readline Message-ID: <19990611142905X.yasuf@big.or.jp>
next in thread | raw e-mail | index | archive | help
>Number: 12124 >Category: ports >Synopsis: New port: devel/ruby-readline >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: Thu Jun 10 22:30: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-readline-1.7.1 Primary category: devel Package description: This is a Ruby extention module to use the GNU Readline library. >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-readline # ruby-readline/files # ruby-readline/files/md5 # ruby-readline/patches # ruby-readline/patches/patch-aa # ruby-readline/pkg # ruby-readline/pkg/PLIST # ruby-readline/pkg/DESCR # ruby-readline/pkg/COMMENT # ruby-readline/Makefile # echo c - ruby-readline mkdir -p ruby-readline > /dev/null 2>&1 echo c - ruby-readline/files mkdir -p ruby-readline/files > /dev/null 2>&1 echo x - ruby-readline/files/md5 sed 's/^X//' >ruby-readline/files/md5 << 'END-of-ruby-readline/files/md5' XMD5 (readline-1.7.1.tar.gz) = 693fb3e7933bf72cda7eb4858d758ebc END-of-ruby-readline/files/md5 echo c - ruby-readline/patches mkdir -p ruby-readline/patches > /dev/null 2>&1 echo x - ruby-readline/patches/patch-aa sed 's/^X//' >ruby-readline/patches/patch-aa << 'END-of-ruby-readline/patches/patch-aa' X--- readline.c.orig Wed Apr 15 23:21:58 1998 X+++ readline.c Tue Apr 20 00:17:40 1999 X@@ -6,7 +6,7 @@ X #include <readline/history.h> X X #include "ruby.h" X-#include "sig.h" X+#include "rubysig.h" X X extern VALUE cArray; X extern VALUE cString; END-of-ruby-readline/patches/patch-aa echo c - ruby-readline/pkg mkdir -p ruby-readline/pkg > /dev/null 2>&1 echo x - ruby-readline/pkg/PLIST sed 's/^X//' >ruby-readline/pkg/PLIST << 'END-of-ruby-readline/pkg/PLIST' Xlib/ruby/%%RUBY_ARCH%%/readline.so Xshare/doc/ruby/readline/README X@dirrm share/doc/ruby/readline X@unexec /bin/rmdir %D/share/doc/ruby >/dev/null 2>&1 || true END-of-ruby-readline/pkg/PLIST echo x - ruby-readline/pkg/DESCR sed 's/^X//' >ruby-readline/pkg/DESCR << 'END-of-ruby-readline/pkg/DESCR' XThis is a Ruby extention module to use the GNU Readline library. X X- Yasuhiro Fukuma Xyasuf@big.or.jp END-of-ruby-readline/pkg/DESCR echo x - ruby-readline/pkg/COMMENT sed 's/^X//' >ruby-readline/pkg/COMMENT << 'END-of-ruby-readline/pkg/COMMENT' Xa Ruby inteerface to GNU Readline library. END-of-ruby-readline/pkg/COMMENT echo x - ruby-readline/Makefile sed 's/^X//' >ruby-readline/Makefile << 'END-of-ruby-readline/Makefile' X# New ports collection makefile for: ruby-readline X# Version required: 1.7.1 X# Date created: 20 April 1999 X# Whom: Yasuhiro Fukuma <yasuf@big.or.jp> X# X# $Id$ X# X XDISTNAME= readline-1.7.1 XPKGNAME= ruby-readline-1.7.1 XCATEGORIES= databases XMASTER_SITES= 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 X XWRKSRC= ${WRKDIR}/readline XPLIST_SUB+= RUBY_ARCH="${RUBY_ARCH}" X XRUBY_ARCH= ${ARCH}-freebsd${OSREL} X XRUBY= ${PREFIX}/bin/ruby X Xdo-configure: X @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/ruby/readline X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/readline X.endif X X.include <bsd.port.mk> END-of-ruby-readline/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990611142905X.yasuf>