Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Feb 2000 12:42:51 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/16525: new port: devel/p5-IO-Tty
Message-ID:  <20000206174251.906401A60@argon.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         16525
>Category:       ports
>Synopsis:       new port: devel/p5-IO-Tty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  6 09:50:08 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Jan 28 16:46:16 EST 2000     root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON  i386

>Description:

This perl5 module handles allocation of pty's as well as
manipulation. It is required for the Expect.pm perl5 module.

A note on the IS_INTERACTIVE bit - I was unable to, in any
reasonable and quick manner, remove the Configure script
and replace it with a better one. However, in the next
version of the port, I will attempt to make it work. I
would prefer to get this in the ports tree to support things
that depend on it, such as net/psftp, which depends on
devel/p5-Expect, which depends on this.

Hopefully, I will be able to fix this deficiency in time
for the ports freeze for 4.0-RELEASE, in which case we'll
then be able to provide a psftp package! :-)

Also, the @unexec rmdir bits are there because the dirs
might have other things in them.

>How-To-Repeat:

Use the shar below to add the port to tree.

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-IO-Tty
#	p5-IO-Tty/files
#	p5-IO-Tty/files/md5
#	p5-IO-Tty/pkg
#	p5-IO-Tty/pkg/COMMENT
#	p5-IO-Tty/pkg/DESCR
#	p5-IO-Tty/pkg/PLIST
#	p5-IO-Tty/patches
#	p5-IO-Tty/Makefile
#
echo c - p5-IO-Tty
mkdir -p p5-IO-Tty > /dev/null 2>&1
echo c - p5-IO-Tty/files
mkdir -p p5-IO-Tty/files > /dev/null 2>&1
echo x - p5-IO-Tty/files/md5
sed 's/^X//' >p5-IO-Tty/files/md5 << 'END-of-p5-IO-Tty/files/md5'
XMD5 (IO-Tty-0.02.tar.gz) = f749a643e9aed022551efadf94a7a5ae
END-of-p5-IO-Tty/files/md5
echo c - p5-IO-Tty/pkg
mkdir -p p5-IO-Tty/pkg > /dev/null 2>&1
echo x - p5-IO-Tty/pkg/COMMENT
sed 's/^X//' >p5-IO-Tty/pkg/COMMENT << 'END-of-p5-IO-Tty/pkg/COMMENT'
XFlexible I/O Perl5 module that allows manipulation of pseudo-TTYs
END-of-p5-IO-Tty/pkg/COMMENT
echo x - p5-IO-Tty/pkg/DESCR
sed 's/^X//' >p5-IO-Tty/pkg/DESCR << 'END-of-p5-IO-Tty/pkg/DESCR'
XPerl5 module that allows creation of pseudo-tty's
Xas well as manipulation.
X
X--Will <andrews@technologist.com>
END-of-p5-IO-Tty/pkg/DESCR
echo x - p5-IO-Tty/pkg/PLIST
sed 's/^X//' >p5-IO-Tty/pkg/PLIST << 'END-of-p5-IO-Tty/pkg/PLIST'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Tty/Tty.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Tty/Tty.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Tty/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Pty.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Tty.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Tty
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%% 2>/dev/null || true
END-of-p5-IO-Tty/pkg/PLIST
echo c - p5-IO-Tty/patches
mkdir -p p5-IO-Tty/patches > /dev/null 2>&1
echo x - p5-IO-Tty/Makefile
sed 's/^X//' >p5-IO-Tty/Makefile << 'END-of-p5-IO-Tty/Makefile'
X# New ports collection makefile for:	p5-IO-Tty
X# Version required:	0.02
X# Date created:		14 Jan 2000
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	IO-Tty-0.02
XPKGNAME=	p5-IO-Tty-0.02
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	IO
X
XMAINTAINER=	andrews@technologist.com
X
XUSE_PERL5=	yes
XIS_INTERACTIVE=	yes
XMAN3=		IO::Pty.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xdo-configure:
X	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL LDDLFLAGS=-shared LDFLAGS=-L/usr/lib)
X
X.include <bsd.port.mk>
END-of-p5-IO-Tty/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000206174251.906401A60>