diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-12 04:09:22 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-12 04:09:22 +0000 |
commit | fb1a3141d4cfd44372c05f3e47e4f51c09ba19e9 (patch) | |
tree | e8ec447e53a40370b31aaecd586710436faf10d6 /devel/p5-Term-Screen | |
parent | Avoid dumping core when $HOME is not set. (diff) |
1) upgrade to 1.01
2) Makefile cleanup
Submitted by: kuriyama (1)
Notes
Notes:
svn path=/head/; revision=64396
Diffstat (limited to 'devel/p5-Term-Screen')
-rw-r--r-- | devel/p5-Term-Screen/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Term-Screen/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Term-Screen/files/patch-Screen.pm | 24 | ||||
-rw-r--r-- | devel/p5-Term-Screen/pkg-descr | 3 | ||||
-rw-r--r-- | devel/p5-Term-Screen/pkg-plist | 4 |
5 files changed, 28 insertions, 26 deletions
diff --git a/devel/p5-Term-Screen/Makefile b/devel/p5-Term-Screen/Makefile index 63e2cf77850b..b56a5c60c34a 100644 --- a/devel/p5-Term-Screen/Makefile +++ b/devel/p5-Term-Screen/Makefile @@ -6,32 +6,17 @@ # PORTNAME= Term-Screen -PORTVERSION= 1.00 +PORTVERSION= 1.01 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Term PKGNAMEPREFIX= p5- -DISTNAME= Screen-${PORTVERSION} -MAINTAINER= ijliao@FreeBSD.org +MAINTAINER= ports@FreeBSD.org -USE_PERL5= YES +PERL_CONFIGURE= yes MAN3= Term::Screen.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -POD2MAN?= pod2man - -do-build: - @${POD2MAN} ${WRKSRC}/Screen.pm > ${WRKSRC}/${MAN3} - -do-install: - ${INSTALL_MAN} ${WRKSRC}/${MAN3} ${MAN3PREFIX}/man/man3 - ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Term - ${INSTALL_SCRIPT} ${WRKSRC}/Screen.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Term - ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/auto/Term/Screen - ${ECHO_CMD} '${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Term/Screen.pm' >> \ - ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/auto/Term/Screen/.packlist - ${ECHO_CMD} '${MAN3PREFIX}/man/man3/${MAN3}' >> \ - ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/auto/Term/Screen/.packlist .include <bsd.port.mk> diff --git a/devel/p5-Term-Screen/distinfo b/devel/p5-Term-Screen/distinfo index 18371a8074a1..e7f39da1ebf3 100644 --- a/devel/p5-Term-Screen/distinfo +++ b/devel/p5-Term-Screen/distinfo @@ -1 +1 @@ -MD5 (Screen-1.00.tar.gz) = b5d3f4478c71b21802bdb0b49feed92d +MD5 (Term-Screen-1.01.tar.gz) = f57998450e99da5ff8075addd8514353 diff --git a/devel/p5-Term-Screen/files/patch-Screen.pm b/devel/p5-Term-Screen/files/patch-Screen.pm index d2293862a6bf..dd5cebbe5033 100644 --- a/devel/p5-Term-Screen/files/patch-Screen.pm +++ b/devel/p5-Term-Screen/files/patch-Screen.pm @@ -1,6 +1,6 @@ ---- Screen.pm.orig Tue Jan 9 13:10:07 2001 -+++ Screen.pm Tue Jan 9 13:11:37 2001 -@@ -5,7 +5,7 @@ +--- Screen.pm.orig Tue Oct 30 16:47:00 2001 ++++ Screen.pm Thu Jan 17 19:25:32 2002 +@@ -8,7 +8,7 @@ =head1 NAME @@ -9,3 +9,21 @@ =head1 SYNOPSIS +@@ -419,7 +419,7 @@ + } + else # buffer up the received chars + { +- $this->{IN} = reverse($partial_fn_str) . $this->{IN}; ++ $this->{IN} = &reverse($partial_fn_str) . $this->{IN}; + $c = chop($this->{IN}); + $this->puts($c) if ($this->{ECHO} && ($c ne "\e")); + } +@@ -454,7 +454,7 @@ + sub stuff_input + { + my ($this, $str) = @_; +- $this->{IN} = reverse($str) . $this->{IN}; ++ $this->{IN} = &reverse($str) . $this->{IN}; + $this; + } + diff --git a/devel/p5-Term-Screen/pkg-descr b/devel/p5-Term-Screen/pkg-descr index 29a5ef991669..c920795fc807 100644 --- a/devel/p5-Term-Screen/pkg-descr +++ b/devel/p5-Term-Screen/pkg-descr @@ -6,5 +6,4 @@ means to get raw and unblocked input. This is not a replacement for Curses -- it has no memory. This was written so that it could be easily changed to fit nasty systems, and to be available first thing. --- Ying-Chieh Liao -ijliao@csie.nctu.edu.tw +WWW: http://search.cpan.org/author/JSTOWE/Term-Screen/ diff --git a/devel/p5-Term-Screen/pkg-plist b/devel/p5-Term-Screen/pkg-plist index faa44cdb7e66..cbf8b180b079 100644 --- a/devel/p5-Term-Screen/pkg-plist +++ b/devel/p5-Term-Screen/pkg-plist @@ -1,5 +1,5 @@ lib/perl5/site_perl/%%PERL_VER%%/Term/Screen.pm -@dirrm lib/perl5/site_perl/%%PERL_VER%%/Term lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Screen/.packlist @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term/Screen -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Term 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Term 2>/dev/null || true |