diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-09-17 21:47:14 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-09-17 21:47:14 +0000 |
commit | 7b840bec5467929466cad2cdd4abef904b934a7a (patch) | |
tree | 8855d29590237f665da71e58768e7813d5b3794b /math/p5-Math-Base85 | |
parent | 3fb7aae6db7fbfa727d5223815b483d0bc588f84 (diff) | |
download | ports-7b840bec5467929466cad2cdd4abef904b934a7a.tar.gz ports-7b840bec5467929466cad2cdd4abef904b934a7a.zip |
Notes
Diffstat (limited to 'math/p5-Math-Base85')
-rw-r--r-- | math/p5-Math-Base85/Makefile | 26 | ||||
-rw-r--r-- | math/p5-Math-Base85/distinfo | 1 | ||||
-rw-r--r-- | math/p5-Math-Base85/pkg-comment | 1 | ||||
-rw-r--r-- | math/p5-Math-Base85/pkg-descr | 14 | ||||
-rw-r--r-- | math/p5-Math-Base85/pkg-plist | 5 |
5 files changed, 47 insertions, 0 deletions
diff --git a/math/p5-Math-Base85/Makefile b/math/p5-Math-Base85/Makefile new file mode 100644 index 000000000000..2f80094c5f3c --- /dev/null +++ b/math/p5-Math-Base85/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: math/p5-Math-Base85 +# Date created: 17 Sep 2001 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Math-Base85 +PORTVERSION= 0.1 +CATEGORIES= math perl5 converters net +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Math +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org + +PERL_CONFIGURE= yes + +MAN3= Math::Base85.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +# workaround the bug in 5.005_03 and 5.6.0 :-( +post-patch: + ${PERL} -pi -e 's|^use constant\s*(.*?)\s*=>.s*(.*)$$|sub $$1 { $$2 }|' ${WRKSRC}/Base85.pm + +.include <bsd.port.mk> diff --git a/math/p5-Math-Base85/distinfo b/math/p5-Math-Base85/distinfo new file mode 100644 index 000000000000..db55fd17c58f --- /dev/null +++ b/math/p5-Math-Base85/distinfo @@ -0,0 +1 @@ +MD5 (Math-Base85-0.1.tar.gz) = b5354a29f8272b8d57b7e54f0d6204da diff --git a/math/p5-Math-Base85/pkg-comment b/math/p5-Math-Base85/pkg-comment new file mode 100644 index 000000000000..16ac1dc49e07 --- /dev/null +++ b/math/p5-Math-Base85/pkg-comment @@ -0,0 +1 @@ +Perl extension for base 85 numbers, as referenced by RFC 1924 diff --git a/math/p5-Math-Base85/pkg-descr b/math/p5-Math-Base85/pkg-descr new file mode 100644 index 000000000000..bab64ed1e24b --- /dev/null +++ b/math/p5-Math-Base85/pkg-descr @@ -0,0 +1,14 @@ +RFC 1924 describes a compact, fixed-size representation of IPv6 +addresses which uses a base 85 number system. This module handles some +of the uglier details of it. + +The base 85 numbers (from 0 to 84) are as follows: + + 0..9 A..Z a..z ! # $ % & ( ) * + - ; < = > ? @ ^ _ ` { | } ~ + +At the moment, there's not much in this module. But it should be +sufficient for the purposes of RFC 1924. + +WWW: http://search.cpan.org/search?dist=Math::Base85 + +-Anton diff --git a/math/p5-Math-Base85/pkg-plist b/math/p5-Math-Base85/pkg-plist new file mode 100644 index 000000000000..18a8d827d407 --- /dev/null +++ b/math/p5-Math-Base85/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Base85/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Math/Base85.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Base85 +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Math 2>/dev/null || true |