diff options
author | taca <taca> | 2001-06-30 08:18:27 +0000 |
---|---|---|
committer | taca <taca> | 2001-06-30 08:18:27 +0000 |
commit | ae4dc87de3bf62d6151064af469e22e63f8fab79 (patch) | |
tree | 80f04a50f6f92ec519956a0a2fc4320687113d89 /devel | |
parent | b29e453f2da9d21fba9e6612d237ded296b62681 (diff) | |
download | pkgsrc-ae4dc87de3bf62d6151064af469e22e63f8fab79.tar.gz |
Importing Ruby extension to readline library.
This will be part of ruby meta-package.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-readline/Makefile | 30 | ||||
-rw-r--r-- | devel/ruby-readline/distinfo | 7 | ||||
-rw-r--r-- | devel/ruby-readline/patches/patch-aa | 14 | ||||
-rw-r--r-- | devel/ruby-readline/pkg/DESCR | 2 | ||||
-rw-r--r-- | devel/ruby-readline/pkg/PLIST | 5 |
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/ruby-readline/Makefile b/devel/ruby-readline/Makefile new file mode 100644 index 00000000000..c924b2be0c5 --- /dev/null +++ b/devel/ruby-readline/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 08:18:27 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 extension to readline library + +DIST_SUBDIR= ruby +WRKSRC= ${RUBY_WRKSRC}/ext/readline +USE_GNU_READLINE= # uses rl_event_hook interface to GNU readline +USE_BUILDLINK_ONLY= # defined + +.include "../../mk/bsd.prefs.mk" +.include "../../devel/readline/buildlink.mk" + +EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/readline +USE_RUBY_EXTCONF= yes + +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/ruby-readline/distinfo b/devel/ruby-readline/distinfo new file mode 100644 index 00000000000..7c3cdadc10b --- /dev/null +++ b/devel/ruby-readline/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/30 08:18:27 taca Exp $ + +SHA1 (ruby/ruby-1.4.6.tar.gz) = 662e21cd2f6bf521a77ab179e11b669738579cc5 +Size (ruby/ruby-1.4.6.tar.gz) = 775123 bytes +SHA1 (ruby/ruby-1.6.4.tar.gz) = 8cc989b1beb462e3012744e9f4e6a512e5a1d0f9 +Size (ruby/ruby-1.6.4.tar.gz) = 900164 bytes +SHA1 (patch-aa) = 804703fc688f419073758b8634b49ace8319d5f4 diff --git a/devel/ruby-readline/patches/patch-aa b/devel/ruby-readline/patches/patch-aa new file mode 100644 index 00000000000..3a0d24d156c --- /dev/null +++ b/devel/ruby-readline/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/30 08:18:27 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/ruby-readline/pkg/DESCR b/devel/ruby-readline/pkg/DESCR new file mode 100644 index 00000000000..3036bf66b28 --- /dev/null +++ b/devel/ruby-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/ruby-readline/pkg/PLIST b/devel/ruby-readline/pkg/PLIST new file mode 100644 index 00000000000..55e10e7bd10 --- /dev/null +++ b/devel/ruby-readline/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 08:18:27 taca Exp $ +${RUBY_ARCHLIBDIR}/readline.so +${RUBY_DOCDIR}/readline/ja/README +@dirrm ${RUBY_DOCDIR}/readline/ja +@dirrm ${RUBY_DOCDIR}/readline |