summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1996-10-24 08:25:25 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1996-10-24 08:25:25 +0000
commit1b3cf25ce1c48d60d1ada6184443e69e1d73318a (patch)
treec62abfa177e3cb81cd8d90d4cb0dd09dd7afca7b /converters
parentperl5 module to validate/generate credit card checksums/names. (diff)
perl5 module for uuencode and uudecode.
Notes
Notes: svn path=/head/; revision=4111
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-Convert-UU/Makefile36
-rw-r--r--converters/p5-Convert-UU/distinfo1
-rw-r--r--converters/p5-Convert-UU/pkg-comment1
-rw-r--r--converters/p5-Convert-UU/pkg-descr22
-rw-r--r--converters/p5-Convert-UU/pkg-plist8
5 files changed, 68 insertions, 0 deletions
diff --git a/converters/p5-Convert-UU/Makefile b/converters/p5-Convert-UU/Makefile
new file mode 100644
index 000000000000..7939bdb447bd
--- /dev/null
+++ b/converters/p5-Convert-UU/Makefile
@@ -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>
diff --git a/converters/p5-Convert-UU/distinfo b/converters/p5-Convert-UU/distinfo
new file mode 100644
index 000000000000..194392d64210
--- /dev/null
+++ b/converters/p5-Convert-UU/distinfo
@@ -0,0 +1 @@
+MD5 (Convert-UU-0.01.tar.gz) = eb691a6aa60b8423c15df751740252f0
diff --git a/converters/p5-Convert-UU/pkg-comment b/converters/p5-Convert-UU/pkg-comment
new file mode 100644
index 000000000000..09febc0e4b8c
--- /dev/null
+++ b/converters/p5-Convert-UU/pkg-comment
@@ -0,0 +1 @@
+perl5 module for uuencode and uudecode.
diff --git a/converters/p5-Convert-UU/pkg-descr b/converters/p5-Convert-UU/pkg-descr
new file mode 100644
index 000000000000..5a2eabc5e1b5
--- /dev/null
+++ b/converters/p5-Convert-UU/pkg-descr
@@ -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.
diff --git a/converters/p5-Convert-UU/pkg-plist b/converters/p5-Convert-UU/pkg-plist
new file mode 100644
index 000000000000..c7321374a21f
--- /dev/null
+++ b/converters/p5-Convert-UU/pkg-plist
@@ -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