pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-boolean Added devel/p5-boolean version 0.20



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7a12d340692
branches:  trunk
changeset: 554398:d7a12d340692
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 13 23:40:27 2009 +0000

description:
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:

 devel/p5-boolean/DESCR    |  16 ++++++++++++++++
 devel/p5-boolean/Makefile |  19 +++++++++++++++++++
 devel/p5-boolean/distinfo |   5 +++++
 3 files changed, 40 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r b63649a2a7e4 -r d7a12d340692 devel/p5-boolean/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-boolean/DESCR    Fri Feb 13 23:40:27 2009 +0000
@@ -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 -r b63649a2a7e4 -r d7a12d340692 devel/p5-boolean/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-boolean/Makefile Fri Feb 13 23:40:27 2009 +0000
@@ -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@localhost
+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 -r b63649a2a7e4 -r d7a12d340692 devel/p5-boolean/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-boolean/distinfo Fri Feb 13 23:40:27 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index