diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-29 22:14:25 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-29 22:14:25 +0000 |
commit | 16e12760017f5079df05c948ada6827e3560cc30 (patch) | |
tree | f8a267e34f7b8aca1cfc31b34f16adecc98a2031 | |
parent | 30a6cbe2691f381e7968673cf1ea8652a3e61b8a (diff) | |
download | ports-16e12760017f5079df05c948ada6827e3560cc30.tar.gz ports-16e12760017f5079df05c948ada6827e3560cc30.zip |
Add p5-Algorithm-LUHN.
This module calculates the Modulus 10 Double Add Double checksum, also known
as the LUHN Formula. This algorithm is used to verify credit card numbers and
Standard & Poor's security identifiers such as CUSIP and CSIN.
You can find plenty of information about the algorithm by searching the web
for "modulus 10 double add double".
WWW: http://search.cpan.org/dist/Algorithm-LUHN/
PR: ports/82650
Submitted by: Aaron Dalton <aaron@daltons.ca>
Notes
Notes:
svn path=/head/; revision=138214
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Algorithm-LUHN/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Algorithm-LUHN/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Algorithm-LUHN/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Algorithm-LUHN/pkg-plist | 6 |
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index de5d35344494..90bb22bc87b1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -647,6 +647,7 @@ SUBDIR += p5-Algorithm-Diff SUBDIR += p5-Algorithm-Evolutionary SUBDIR += p5-Algorithm-Interval2Prefix + SUBDIR += p5-Algorithm-LUHN SUBDIR += p5-Algorithm-MDiff SUBDIR += p5-Algorithm-MarkovChain SUBDIR += p5-Algorithm-MinMax diff --git a/devel/p5-Algorithm-LUHN/Makefile b/devel/p5-Algorithm-LUHN/Makefile new file mode 100644 index 000000000000..16aa9178f7de --- /dev/null +++ b/devel/p5-Algorithm-LUHN/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: Algorithm-LUHN +# Date created: 25 June 2005 +# Whom: Aaron Dalton <aaron@daltons.ca> +# +# $FreeBSD$ +# + +PORTNAME= Algorithm-LUHN +PORTVERSION= 1.00 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/T/TA/TAYERS +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@daltons.ca +COMMENT= Calculate the Modulus 10 Double Add Double checksum + +MAN3= Algorithm::LUHN.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Algorithm-LUHN/distinfo b/devel/p5-Algorithm-LUHN/distinfo new file mode 100644 index 000000000000..5cf622f972e5 --- /dev/null +++ b/devel/p5-Algorithm-LUHN/distinfo @@ -0,0 +1,2 @@ +MD5 (Algorithm-LUHN-1.00.tar.gz) = 411d2ddcf3c61172926498b446fe28ab +SIZE (Algorithm-LUHN-1.00.tar.gz) = 3748 diff --git a/devel/p5-Algorithm-LUHN/pkg-descr b/devel/p5-Algorithm-LUHN/pkg-descr new file mode 100644 index 000000000000..e681aee8a462 --- /dev/null +++ b/devel/p5-Algorithm-LUHN/pkg-descr @@ -0,0 +1,11 @@ +This module calculates the Modulus 10 Double Add Double checksum, also known +as the LUHN Formula. This algorithm is used to verify credit card numbers and +Standard & Poor's security identifiers such as CUSIP and CSIN. + +You can find plenty of information about the algorithm by searching the web +for "modulus 10 double add double". + +WWW: http://search.cpan.org/dist/Algorithm-LUHN/ + +- Aaron Dalton +aaron@daltons.ca diff --git a/devel/p5-Algorithm-LUHN/pkg-plist b/devel/p5-Algorithm-LUHN/pkg-plist new file mode 100644 index 000000000000..0e561b69d92b --- /dev/null +++ b/devel/p5-Algorithm-LUHN/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Algorithm/LUHN.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/LUHN/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/LUHN +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true + |