1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

perl5 module for uuencode and uudecode.

This commit is contained in:
James FitzGibbon 1996-10-24 08:25:25 +00:00
parent a7c197b9a3
commit 1b3cf25ce1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4111
5 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: p5-Convert-UU
# Version required: 0.01
# Date created: October 20th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $Id$
#
DISTNAME= Convert-UU-0.01
PKGNAME= p5-Convert-UU-0.1
CATEGORIES+= misc
MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Convert/ \
ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/Convert/ \
ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Convert/ \
ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/Convert/ \
ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/Convert/ \
ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/Convert/
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
post-install:
.if !defined(NOMANCOMPRESS)
@ for file in Convert::UU; do \
gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
done
@ for file in puuencode puudecode; do \
gzip -9nf ${PREFIX}//man/man1/$$file.1; \
done
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Convert-UU-0.01.tar.gz) = eb691a6aa60b8423c15df751740252f0

View File

@ -0,0 +1 @@
perl5 module for uuencode and uudecode.

View File

@ -0,0 +1,22 @@
SYNOPSIS
use Convert::UU qw(uudecode uuencode);
$encoded_string = uuencode($string,[$filename],[$mode]);
($string,$filename,$mode) = uudecode($string);
$string = uudecode($string); # in scalar context
DESCRIPTION
uuencode() takes as the first argument a scalar that is to
be uuencoded. Alternatively a filehandle may be passed
that must be opened for reading. It returns the uuencoded
string including begin and end. Second and third argument
are optional and specify filename and mode. If unspecified
these default to "uuencode.uu" and 644.
uudecode() takes a string as argument which will be
uudecoded. If the argument is a filehandle this will be
read instead. Leading and trailing garbage will be
ignored. The function returns the uudecoded string for the
first begin/end pair. In array context it returns an array
whose first element is the uudecoded string, the second is
the filename and the third is the mode.

View File

@ -0,0 +1,8 @@
bin/puudecode
bin/puuencode
lib/perl5/man/man3/Convert::UU.3.gz
lib/perl5/site_perl/Convert/UU.pm
man/man1/puudecode.1.gz
man/man1/puuencode.1.gz
lib/perl5/site_perl/i386-freebsd/auto/Convert/UU/.packlist
@dirrm lib/perl5/site_perl/i386-freebsd/auto/Convert/UU