diff options
author | abs <abs> | 2009-02-13 23:40:27 +0000 |
---|---|---|
committer | abs <abs> | 2009-02-13 23:40:27 +0000 |
commit | d8ff90674e14c889b0be4bc3e2054d60bab28979 (patch) | |
tree | e612e99f0ab622d0abf95b045d058dc19ec13db8 /devel/p5-boolean | |
parent | 2ac6e7222a9268dac8dfcc178053c88007a3ee35 (diff) | |
download | pkgsrc-d8ff90674e14c889b0be4bc3e2054d60bab28979.tar.gz |
Added devel/p5-boolean version 0.20
Most programming languages have a native Boolean data type. Perl
does not.
Perl has a simple and well known Truth System. The following scalar
values are false:
$false1 = undef;
$false2 = 0;
$false3 = 0.0;
$false4 = '';
$false5 = '0';
Every other scalar value is true.
This module provides basic Boolean support, by defining two special
objects: true and false.
Diffstat (limited to 'devel/p5-boolean')
-rw-r--r-- | devel/p5-boolean/DESCR | 16 | ||||
-rw-r--r-- | devel/p5-boolean/Makefile | 19 | ||||
-rw-r--r-- | devel/p5-boolean/distinfo | 5 |
3 files changed, 40 insertions, 0 deletions
diff --git a/devel/p5-boolean/DESCR b/devel/p5-boolean/DESCR new file mode 100644 index 00000000000..a75a2d4bb8d --- /dev/null +++ b/devel/p5-boolean/DESCR @@ -0,0 +1,16 @@ +Most programming languages have a native Boolean data type. Perl +does not. + +Perl has a simple and well known Truth System. The following scalar +values are false: + + $false1 = undef; + $false2 = 0; + $false3 = 0.0; + $false4 = ''; + $false5 = '0'; + +Every other scalar value is true. + +This module provides basic Boolean support, by defining two special +objects: true and false. diff --git a/devel/p5-boolean/Makefile b/devel/p5-boolean/Makefile new file mode 100644 index 00000000000..f24406be0c6 --- /dev/null +++ b/devel/p5-boolean/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/02/13 23:40:27 abs Exp $ +# + +DISTNAME= boolean-0.20 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/I/IN/INGY/} + +MAINTAINER= abs@absd.org +HOMEPAGE= http://search.cpan.org/perldoc?boolean +COMMENT= Boolean support for Perl + +PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= # + +PERL5_PACKLIST= auto/boolean/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-boolean/distinfo b/devel/p5-boolean/distinfo new file mode 100644 index 00000000000..3a49c073bbd --- /dev/null +++ b/devel/p5-boolean/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/02/13 23:40:27 abs Exp $ + +SHA1 (boolean-0.20.tar.gz) = 1ebb2a47d534b8f0a774bd330044c8adb49587ac +RMD160 (boolean-0.20.tar.gz) = a2244c364ee351e3d70aa102ed89d418ab820712 +Size (boolean-0.20.tar.gz) = 14364 bytes |