summaryrefslogtreecommitdiff
path: root/devel/ruby14-readline
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-06-30 08:27:40 +0000
committertaca <taca@pkgsrc.org>2001-06-30 08:27:40 +0000
commit398292f78d53c29e60ece0fab91b385d463678b3 (patch)
treeda1bd6491dfe030d514605bf1afe4e9dffdff3c3 /devel/ruby14-readline
parent6cf3ce6c021dffe2d12bb3f09086366b7c2435fa (diff)
downloadpkgsrc-398292f78d53c29e60ece0fab91b385d463678b3.tar.gz
Importing Ruby 1.4 extension to readline library.
Diffstat (limited to 'devel/ruby14-readline')
-rw-r--r--devel/ruby14-readline/Makefile28
-rw-r--r--devel/ruby14-readline/distinfo5
-rw-r--r--devel/ruby14-readline/patches/patch-aa14
-rw-r--r--devel/ruby14-readline/pkg/DESCR2
-rw-r--r--devel/ruby14-readline/pkg/PLIST5
5 files changed, 54 insertions, 0 deletions
diff --git a/devel/ruby14-readline/Makefile b/devel/ruby14-readline/Makefile
new file mode 100644
index 00000000000..4692cc650a6
--- /dev/null
+++ b/devel/ruby14-readline/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 08:27:40 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}readline-${RUBY_VERSION}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.ruby-lang.org/en/
+COMMENT= Ruby 1.4 extension to readline library
+
+DEPENDS+= readline>=4.0:../../devel/readline
+
+DIST_SUBDIR= ruby
+WRKSRC= ${RUBY_WRKSRC}/ext/readline
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/readline
+USE_RUBY_EXTCONF= yes
+
+RUBY_VER= 1.4
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/readline/ja
+ ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/readline/README \
+ ${RUBY_DOCDIR}/readline/ja
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby14-readline/distinfo b/devel/ruby14-readline/distinfo
new file mode 100644
index 00000000000..078a742d12d
--- /dev/null
+++ b/devel/ruby14-readline/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/06/30 08:27:40 taca Exp $
+
+SHA1 (ruby/ruby-1.4.6.tar.gz) = 662e21cd2f6bf521a77ab179e11b669738579cc5
+Size (ruby/ruby-1.4.6.tar.gz) = 775123 bytes
+SHA1 (patch-aa) = 804703fc688f419073758b8634b49ace8319d5f4
diff --git a/devel/ruby14-readline/patches/patch-aa b/devel/ruby14-readline/patches/patch-aa
new file mode 100644
index 00000000000..a4831c2b457
--- /dev/null
+++ b/devel/ruby14-readline/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 08:27:40 taca Exp $
+
+--- extconf.rb.orig Fri Jun 2 22:28:04 2000
++++ extconf.rb
+@@ -2,8 +2,7 @@
+
+ dir_config("readline")
+ have_library("user32", nil) if /cygwin/ === RUBY_PLATFORM
+-have_library("ncurses", "tgetnum") or
+- have_library("termcap", "tgetnum") or
++have_library("termcap", "tgetnum") or
+ have_library("curses", "tgetnum")
+
+ if have_header("readline/readline.h") and
diff --git a/devel/ruby14-readline/pkg/DESCR b/devel/ruby14-readline/pkg/DESCR
new file mode 100644
index 00000000000..3036bf66b28
--- /dev/null
+++ b/devel/ruby14-readline/pkg/DESCR
@@ -0,0 +1,2 @@
+This is a Ruby extension to readline library, which is actually a part of
+the Ruby distribution.
diff --git a/devel/ruby14-readline/pkg/PLIST b/devel/ruby14-readline/pkg/PLIST
new file mode 100644
index 00000000000..85c90eeeb7e
--- /dev/null
+++ b/devel/ruby14-readline/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 08:27:40 taca Exp $
+${RUBY_ARCHLIBDIR}/readline.so
+${RUBY_DOCDIR}/readline/ja/README
+@dirrm ${RUBY_DOCDIR}/readline/ja
+@dirrm ${RUBY_DOCDIR}/readline