summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortv <tv>1998-07-13 15:50:36 +0000
committertv <tv>1998-07-13 15:50:36 +0000
commit001ef08a73bfa6efc547236191580a6cfcc696fd (patch)
treea215e0febadc14b26b52de3fc21ec4b00b7665c2 /devel
parentcf2b7b8037c26fec2a6c4cbfcaafee5bec5cb6d8 (diff)
downloadpkgsrc-001ef08a73bfa6efc547236191580a6cfcc696fd.tar.gz
Import of FreeBSD's Perl Curses module (patches to follow).
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Curses/Makefile28
-rw-r--r--devel/p5-Curses/files/md51
-rw-r--r--devel/p5-Curses/patches/patch-aa11
-rw-r--r--devel/p5-Curses/pkg/COMMENT1
-rw-r--r--devel/p5-Curses/pkg/DESCR6
-rw-r--r--devel/p5-Curses/pkg/PLIST6
6 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile
new file mode 100644
index 00000000000..09f389acce5
--- /dev/null
+++ b/devel/p5-Curses/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Curses
+# Version required: 1.02
+# Date created: October 17th 1996
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id: Makefile,v 1.1.1.1 1998/07/13 15:50:36 tv Exp $
+#
+
+DISTNAME= Curses-1.02
+PKGNAME= p5-Curses-1.02
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Curses
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+USE_PERL5= YES
+
+MAN3= Curses.3
+MANPREFIX= ${PREFIX}/lib/perl5
+
+pre-configure:
+ @ ln -s ${WRKSRC}/hints/c-freebsd.ncurses.h ${WRKSRC}/c-config.h
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Curses/files/md5 b/devel/p5-Curses/files/md5
new file mode 100644
index 00000000000..2b18ad25dfa
--- /dev/null
+++ b/devel/p5-Curses/files/md5
@@ -0,0 +1 @@
+MD5 (Curses-1.02.tar.gz) = 6a7aa8cfd9ca5089b62f07335a875b42
diff --git a/devel/p5-Curses/patches/patch-aa b/devel/p5-Curses/patches/patch-aa
new file mode 100644
index 00000000000..8c267ee536e
--- /dev/null
+++ b/devel/p5-Curses/patches/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Tue Feb 17 06:50:19 1998
++++ Makefile.PL Tue Mar 17 14:49:11 1998
+@@ -66,7 +66,7 @@
+ 'freebsd' =>
+ { 'bsd' => [ '' => '-lcurses -ltermcap' ],
+ 'ncurses' => [ '' => '-lncurses' ],
+- 'default' => 'bsd'
++ 'default' => 'ncurses'
+ },
+ 'hpux' => [ '' => '-lcurses -ltermcap' ],
+ 'irix' => [ '' => '-lcurses -ltermcap' ], ##
diff --git a/devel/p5-Curses/pkg/COMMENT b/devel/p5-Curses/pkg/COMMENT
new file mode 100644
index 00000000000..c0d91106f3e
--- /dev/null
+++ b/devel/p5-Curses/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 module for terminal screen handling and optimization.
diff --git a/devel/p5-Curses/pkg/DESCR b/devel/p5-Curses/pkg/DESCR
new file mode 100644
index 00000000000..fee11bb6ad8
--- /dev/null
+++ b/devel/p5-Curses/pkg/DESCR
@@ -0,0 +1,6 @@
+Curses is the interface between Perl and your system's curses(3) library.
+For descriptions on the usage of a given function, variable, or constant,
+consult your system's documentation, as such information invariably varies
+(:-) between different curses(3) libraries and operating systems. This
+document describes the interface itself, and assumes that you already know
+how your system's curses(3) library works.
diff --git a/devel/p5-Curses/pkg/PLIST b/devel/p5-Curses/pkg/PLIST
new file mode 100644
index 00000000000..a18d6b18eae
--- /dev/null
+++ b/devel/p5-Curses/pkg/PLIST
@@ -0,0 +1,6 @@
+lib/perl5/man/man3/Curses.3.gz
+lib/perl5/site_perl/Curses.pm
+lib/perl5/site_perl/i386-freebsd/auto/Curses/Curses.bs
+lib/perl5/site_perl/i386-freebsd/auto/Curses/Curses.so
+lib/perl5/site_perl/i386-freebsd/auto/Curses/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Curses