diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2002-02-07 07:38:19 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2002-02-07 07:38:19 +0000 |
commit | 2c8ad121a4329fa8416fbc9fffe4be73b510fac8 (patch) | |
tree | 8273a4cc0d56dddd28ae461b1b077f69308574db /devel/p5-Term-ReadLine | |
parent | ed75fb05774005ecc3ad56ed023ab4eaef2a6b5a (diff) | |
download | pkgsrc-2c8ad121a4329fa8416fbc9fffe4be73b510fac8.tar.gz |
Add package for Term::ReadLine::GNU. Base by Bernd Ernesti, additional
testing on NetBSD by me. Also thanks to Shell, Hin-lik Hung.
Fixes pkg/15445.
Diffstat (limited to 'devel/p5-Term-ReadLine')
-rw-r--r-- | devel/p5-Term-ReadLine/DESCR | 5 | ||||
-rw-r--r-- | devel/p5-Term-ReadLine/Makefile | 20 | ||||
-rw-r--r-- | devel/p5-Term-ReadLine/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-Term-ReadLine/distinfo | 5 | ||||
-rw-r--r-- | devel/p5-Term-ReadLine/patches/patch-aa | 11 |
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/p5-Term-ReadLine/DESCR b/devel/p5-Term-ReadLine/DESCR new file mode 100644 index 00000000000..c35f48dfb83 --- /dev/null +++ b/devel/p5-Term-ReadLine/DESCR @@ -0,0 +1,5 @@ +The ReadKey module provides ioctl control for terminals so the input +modes can be changed (thus allowing reads of a single character at a +time), and also provides non-blocking reads of stdin, as well as several +other terminal related features, including retrieval/modification of the +screen size, and retrieval/modification of the control characters. diff --git a/devel/p5-Term-ReadLine/Makefile b/devel/p5-Term-ReadLine/Makefile new file mode 100644 index 00000000000..feabd5d7e7c --- /dev/null +++ b/devel/p5-Term-ReadLine/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2002/02/07 07:38:19 jdolecek Exp $ + +DISTNAME= Term-ReadLine-Gnu-1.11 +PKGNAME= p5-Term-ReadLine-1.11 +SVR4_PKGNAME= p5trl +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Term/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Term-ReadLine-Gnu/ +COMMENT= interface to the GNU Readline Library + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Term/ReadLine/Gnu/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../devel/readline/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Term-ReadLine/PLIST b/devel/p5-Term-ReadLine/PLIST new file mode 100644 index 00000000000..3fc92c55e44 --- /dev/null +++ b/devel/p5-Term-ReadLine/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1 2002/02/07 07:38:19 jdolecek Exp $ diff --git a/devel/p5-Term-ReadLine/distinfo b/devel/p5-Term-ReadLine/distinfo new file mode 100644 index 00000000000..12e870d1662 --- /dev/null +++ b/devel/p5-Term-ReadLine/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2002/02/07 07:38:19 jdolecek Exp $ + +SHA1 (Term-ReadLine-Gnu-1.11.tar.gz) = 170daba884c9d629271c1571ec9f11479e9b1d52 +Size (Term-ReadLine-Gnu-1.11.tar.gz) = 65081 bytes +SHA1 (patch-aa) = e34a979c4fcae8c4624ea1df3e9b757adc4903af diff --git a/devel/p5-Term-ReadLine/patches/patch-aa b/devel/p5-Term-ReadLine/patches/patch-aa new file mode 100644 index 00000000000..33584d0a338 --- /dev/null +++ b/devel/p5-Term-ReadLine/patches/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.PL.orig Mon Feb 4 10:37:19 2002 ++++ Makefile.PL Mon Feb 4 10:37:37 2002 +@@ -81,7 +81,7 @@ + close(F); + + # compile it +-$comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $Config{ldflags} $libs"; ++$comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $Config{ldflags} $ENV{LDFLAGS} $libs"; + print $comp_cmd, "\n"; + system($comp_cmd); + if ($?) { |