summaryrefslogtreecommitdiff
path: root/devel/p5-Curses
diff options
context:
space:
mode:
authorrhaen <rhaen@pkgsrc.org>2008-07-17 11:28:06 +0000
committerrhaen <rhaen@pkgsrc.org>2008-07-17 11:28:06 +0000
commit7fecf3e95a40213247afe5a00ee911c664f40bce (patch)
treecb40097645ba6c8cb9f5c707c09e61a5399968ba /devel/p5-Curses
parent97f5307fde0126dd8eb42c93af350a34d3ae03bf (diff)
downloadpkgsrc-7fecf3e95a40213247afe5a00ee911c664f40bce.tar.gz
- updated to 1.23
- send patch-aa to upstream (so that they can include it - hopefully) The Curses Perl module was created by William Setzer (William_Setzer at ncsu.edu) in 1994. William maintained it up until July 2001, when he stopped having time to do so. In September 2004, Bryan Henderson (bryanh@giraffe-data.com) took over maintainership of it, after confirming with William that he did not plan to continue. The module has always been distributed via CPAN. Curses itself is much older than the Perl implementation. Curses was originally only a C programming library. New in 1.23 (Released March 9, 2008) Fix crash of Makefile.PL on Windows. New in 1.22 (Released February 29, 2008) Nothing. Just a packaging fix. New in 1.21 (Released February 15, 2008) Don't undefine 'bool' macro in c-darwin hints file. New in 1.20 (Released November 19, 2007) Fix missing comment delimiter. New in 1.19 (Released November 18, 2007) Make it work on 5.005 again, using ppport.h (Devel::PPPort). From Slaven Rezic - slaven <at> rezic <dot> de . Fix uninitialized value in Makefile.PL on a system without BSD Curses or Ncurses in a common place. Reverse change to chgat() in 1.16. Make expected argument count 4. There was never a 1.18 release; problems with PAUSE prevent using that release number. New in 1.17 (Released October 14, 2007) Fix bug - can't find c-config.h on a system with ncursesw. Make cdemo work on Windows. Don't undefine SP macro with Pdcurses. (Otherwise it won't compile; don't know why we used to undefine SP). In Windows hints file, #include curses.h instead of pdcurses.h. It seems to be called curses.h these days. New in 1.16 (August 7, 2007) Use Ncursesw (Ncurses with wide character functions) instead of Ncurses if available. Undefine "tab" macro, defined by Curses header file. It interferes with perl.h. Fix demo.form to use L! instead of J in the pack template that generates the new_form() argument. Apparently, J is something from older Perl and doesn't exist in current Perl. Put some documentation of the library in comments in demo.form. Use L! instead of I in the pack template in demo.menu. Change SvPV(X,PL_na) to SvPV_nolen(X) to get with the times. Change #!/usr/local/bin/perl to #! /usr/bin/perl . Fix bug: chgat() requires an extra, meaningless, argument. Fix changes expected argument count from 4 to 3. New in 1.15 (October 8, 2006) Add a simple load test 00-load.t. Makefile.PL: use cdemo.obj instead of cdemo.o on Windows. Makefile.PL: Guess ncurses/bsd based on what .h files exist. Fix bug in Makefile.PL: doesn't use curses type in guess at c-config.h (e.g. tries to use c-freebsd.h when it should use c-freebsd.bsd.h). Change all sv_isa() to sv_derived_from() so you can use subclasses. Thanks Leigh <leighbrown@hsbc.com>. Rename default Darwin (Mac OS X) hints file (ca 2001) to c-darwin.old, and the newer one ca 2004) to c-darwin.old so as to be the default. We're guessing that the newer one applies to more systems today. New in 1.14 (June 3, 2006) Make demo.form work on 64 bit machine. Add some narration to Makefile.PL to help with diagnosis. Move undef of 'instr' from individual hint files to Curses.c and add explanation. Use perl -w instead of 'use warnings' in Makefile.PL so it works with older Perl. New in 1.13 (October 10, 2005) Fix so it builds on current Cygwin. Some kind of build fix to get panels, forms, and menu functions to build.
Diffstat (limited to 'devel/p5-Curses')
-rw-r--r--devel/p5-Curses/Makefile9
-rw-r--r--devel/p5-Curses/distinfo10
-rw-r--r--devel/p5-Curses/patches/patch-aa25
3 files changed, 22 insertions, 22 deletions
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile
index 644c615b091..d70762b1779 100644
--- a/devel/p5-Curses/Makefile
+++ b/devel/p5-Curses/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2008/06/20 01:09:14 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2008/07/17 11:28:06 rhaen Exp $
-DISTNAME= Curses-1.12
+DISTNAME= Curses-1.23
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5cur
-PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/}
EXTRACT_SUFX= .tgz
@@ -15,9 +14,9 @@ COMMENT= Perl5 module for terminal screen handling and optimization
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
-USE_NCURSES= # needs libpanel
+USE_NCURSES= YES
-WRKSRC= ${WRKDIR}/Curses-1.12
+WRKSRC= ${WRKDIR}/Curses-1.23
PERL5_PACKLIST= auto/Curses/.packlist
MAKE_PARAMS+= PANELS
diff --git a/devel/p5-Curses/distinfo b/devel/p5-Curses/distinfo
index e76e05144b5..c132470ec1d 100644
--- a/devel/p5-Curses/distinfo
+++ b/devel/p5-Curses/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/12/03 01:43:04 joerg Exp $
+$NetBSD: distinfo,v 1.8 2008/07/17 11:28:06 rhaen Exp $
-SHA1 (Curses-1.12.tgz) = 2b33a88f68783f29f773ab82f8d71bbad87a2b57
-RMD160 (Curses-1.12.tgz) = 506671db523288ec4d1471212f046810e2af1852
-Size (Curses-1.12.tgz) = 80258 bytes
-SHA1 (patch-aa) = 699dd96361ef0d3e39c17661453b062bd856cd41
+SHA1 (Curses-1.23.tgz) = aa3345dbc835ab4a48ca98b20b2f9fdfb0f7f85d
+RMD160 (Curses-1.23.tgz) = 02c4645528b6108fb2c6f22c4d894fa0e03f1b14
+Size (Curses-1.23.tgz) = 126453 bytes
+SHA1 (patch-aa) = 63eff9e10d9075c74d1bc28cdfaf4ef698cbcbb2
SHA1 (patch-ab) = 578e6b65a930fd561254d8b6f3da7014debd271c
diff --git a/devel/p5-Curses/patches/patch-aa b/devel/p5-Curses/patches/patch-aa
index 14b9e00c294..2ea94c76f6e 100644
--- a/devel/p5-Curses/patches/patch-aa
+++ b/devel/p5-Curses/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.7 2005/12/03 01:43:04 joerg Exp $
+$NetBSD: patch-aa,v 1.8 2008/07/17 11:28:06 rhaen Exp $
---- Makefile.PL.orig Sun Jul 16 15:13:25 2000
-+++ Makefile.PL
-@@ -105,6 +105,11 @@ my $guess_cfg = {
- 'ncurses' => [ '' => '-lncurses' ],
+--- Makefile.PL.orig 2008-07-17 13:07:34.000000000 +0200
++++ Makefile.PL 2008-07-17 13:13:44.000000000 +0200
+@@ -118,6 +118,12 @@
+ 'ncurses' => [ '' , '-lncurses' ],
'default' => 'bsd'
},
+ 'dragonfly' => {
@@ -11,19 +11,20 @@ $NetBSD: patch-aa,v 1.7 2005/12/03 01:43:04 joerg Exp $
+ 'ncurses' => [ '' => '-lncurses' ],
+ 'default' => 'bsd'
+ },
- 'hpux' => [ '' => '-lcurses -ltermcap' ],
++
+ 'hpux' => [ '' , '-lcurses -ltermcap' ],
+ # See INSTALL file for information about a different Curses library on HPUX.
'irix' => {
- 'bsd' => [ '' => '-lcurses -ltermcap' ],
-@@ -117,7 +122,11 @@ my $guess_cfg = {
- 'ncurses' => [ '-I/usr/include/ncurses' => '-lncurses' ],
+@@ -131,7 +137,11 @@
+ 'ncurses' => [ '-I/usr/include/ncurses' , '-lncurses' ],
'default' => 'ncurses'
},
-- 'netbsd' => [ '' => '-lcurses -ltermcap' ],
+- 'netbsd' => [ '' , '-lcurses -ltermcap' ],
+ 'netbsd' => {
+ 'bsd' => [ '' => '-lcurses -ltermcap' ],
+ 'ncurses' => [ '' => '-lncurses' ],
+ 'default' => 'ncurses'
+ },
- 'next' => [ '' => '-lcurses -ltermcap' ],
- 'openbsd' => [ '' => '-lcurses -ltermcap' ],
+ 'next' => [ '' , '-lcurses -ltermcap' ],
+ 'openbsd' => [ '' , '-lcurses -ltermcap' ],
'os2' => {