summaryrefslogtreecommitdiff
path: root/devel/p5-Curses
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-28 18:20:37 +0000
committerjlam <jlam>2000-08-28 18:20:37 +0000
commitf3ddde8e7408fe8243bfe2122bf86f7b0ac3e0a3 (patch)
treef575692ef0be7381c120913ac88d39dbfc7c959c /devel/p5-Curses
parent2e43a9a8be47f0fae078f8bb03e4481ce93f2992 (diff)
downloadpkgsrc-f3ddde8e7408fe8243bfe2122bf86f7b0ac3e0a3.tar.gz
Update p5-Curses to 1.05. Some changes in the new version:
o Added the missing support functions c_chstrlen, c_Screen2sv. Oops. :) o Updated DIAGNOSTICS section of pod. o Added typedef detection support. o Rearranged PANELS support a little. o Removed support for wattr_get, wattr_off, wattr_on, and wattr_set (for now). I got the prototypes from ncurses-1.9.9g, but they apparently differ from the "standard" ones. o Renamed "lines" everywhere, 'cause some curses library writer was stupid enough to #define it. (Go figure.) o Reworked "optional" arguments, which only affects newterm(), panel_above() and panel_below(). Now, if you want to specify "NULL" as an argument, use "undef" instead of omitting the argument. (Don't worry if this doesn't make sense. You probably aren't affected anyway.) o Added the ncurses "curs_mouse" functions, but I have no idea if they work. I couldn't even get the C versions to work, so I had no way of testing them. Feedback on these functions would be appreciated.
Diffstat (limited to 'devel/p5-Curses')
-rw-r--r--devel/p5-Curses/Makefile10
-rw-r--r--devel/p5-Curses/files/md54
-rw-r--r--devel/p5-Curses/files/patch-sum6
-rw-r--r--devel/p5-Curses/patches/patch-aa26
-rw-r--r--devel/p5-Curses/patches/patch-ab15
5 files changed, 36 insertions, 25 deletions
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile
index 5b48626ae15..7bc12b50312 100644
--- a/devel/p5-Curses/Makefile
+++ b/devel/p5-Curses/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2000/08/27 07:11:02 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/08/28 18:20:37 jlam Exp $
# FreeBSD Id: Makefile,v 1.8 1998/04/04 13:58:26 vanilla Exp
#
-DISTNAME= Curses-1.02
-PKGNAME= p5-Curses-1.02
+DISTNAME= Curses-1.05
+PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/}
@@ -15,8 +15,10 @@ DEPENDS= ncurses>=4.2:../../devel/ncurses
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Curses/.packlist
+MAKE_PARAMS= PANELS
+
do-configure:
@${LN} -sf ${WRKSRC}/hints/c-netbsd.ncurses.h ${WRKSRC}/c-config.h
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Curses/files/md5 b/devel/p5-Curses/files/md5
index 857279ca203..7afeca75e34 100644
--- a/devel/p5-Curses/files/md5
+++ b/devel/p5-Curses/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.2 1998/08/07 13:21:25 agc Exp $
+$NetBSD: md5,v 1.3 2000/08/28 18:20:43 jlam Exp $
-MD5 (Curses-1.02.tar.gz) = 6a7aa8cfd9ca5089b62f07335a875b42
+MD5 (Curses-1.05.tar.gz) = 966d3ef5ed5a30f00f3f66ab68b6bf35
diff --git a/devel/p5-Curses/files/patch-sum b/devel/p5-Curses/files/patch-sum
index f999a0784a5..6e6ba43cb3e 100644
--- a/devel/p5-Curses/files/patch-sum
+++ b/devel/p5-Curses/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 13:50:39 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/08/28 18:20:43 jlam Exp $
-MD5 (patch-aa) = a610c00403f39ab62b2128a4dbe3492c
-MD5 (patch-ab) = 98a47e7ea5767ff7281663da307cbf2a
+MD5 (patch-aa) = ba83849099ca402fdbb261665562894b
+MD5 (patch-ab) = c1767c3d023bde03b8e974c0fbb40d92
diff --git a/devel/p5-Curses/patches/patch-aa b/devel/p5-Curses/patches/patch-aa
index 77e706e80da..cef92eb6460 100644
--- a/devel/p5-Curses/patches/patch-aa
+++ b/devel/p5-Curses/patches/patch-aa
@@ -1,13 +1,17 @@
-$NetBSD: patch-aa,v 1.4 1999/07/06 07:59:20 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2000/08/28 18:20:43 jlam Exp $
---- Makefile.PL.orig Mon Feb 16 17:50:19 1998
-+++ Makefile.PL Tue Jul 6 03:30:58 1999
-@@ -76,7 +76,7 @@
- 'ncurses' => [ '-I/usr/include/ncurses' => '-lncurses' ],
- 'default' => 'ncurses'
+--- Makefile.PL.orig Sun Jul 16 15:13:25 2000
++++ Makefile.PL
+@@ -105,7 +105,11 @@
+ 'ncurses' => [ '-I/usr/include/ncurses' => '-lncurses' ],
+ 'default' => 'ncurses'
},
-- 'netbsd' => [ '' => '-lcurses -ltermcap' ],
-+ 'netbsd' => [ "-I$ENV{'LOCALBASE'}/include" => "$ENV{'LDFLAGS'} -L$ENV{'LOCALBASE'}/lib -lncurses" ],
- 'next' => [ '' => '-lcurses -ltermcap' ],
- 'os2' =>
- { 'bsd' => [ '' => '-lcurses -ltermcap' ],
+- 'netbsd' => [ '' => '-lcurses -ltermcap' ],
++ 'netbsd' => {
++ 'bsd' => [ '' => '-lcurses -ltermcap' ],
++ 'ncurses' => [ "-I$ENV{'LOCALBASE'}/include" => "$ENV{'LDFLAGS'} -lncurses" ],
++ 'default' => 'ncurses'
++ },
+ 'next' => [ '' => '-lcurses -ltermcap' ],
+ 'openbsd' => [ '' => '-lcurses -ltermcap' ],
+ 'os2' => {
diff --git a/devel/p5-Curses/patches/patch-ab b/devel/p5-Curses/patches/patch-ab
index 29711f5b4f8..e748298ce60 100644
--- a/devel/p5-Curses/patches/patch-ab
+++ b/devel/p5-Curses/patches/patch-ab
@@ -1,17 +1,22 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:27 agc Exp $
+$NetBSD: patch-ab,v 1.3 2000/08/28 18:20:43 jlam Exp $
---- /dev/null Mon Jul 13 12:28:43 1998
-+++ hints/c-netbsd.ncurses.h Mon Jul 13 12:33:32 1998
-@@ -0,0 +1,18 @@
+--- /dev/null Mon Aug 28 13:46:05 2000
++++ hints/c-netbsd.ncurses.h Mon Aug 28 13:51:36 2000
+@@ -0,0 +1,23 @@
+/* Hint file for the NetBSD platform, ncurses version of libcurses.
+ *
+ * If this configuration doesn't work, look at the file "c-none.h"
+ * for how to set the configuration options.
+ */
+
-+/* These hints thanks to "Andrew V. Stesin" <stesin@elvisti.kiev.ua> */
++/* These hints copied from FreeBSD file, with adjustments. */
+
+#include <ncurses.h>
++
++#ifdef C_PANELSUPPORT
++#include <panel.h>
++#endif
++
+#undef instr
+
+#define C_LONGNAME