aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortimur <timur@FreeBSD.org>2009-02-22 10:04:25 +0800
committertimur <timur@FreeBSD.org>2009-02-22 10:04:25 +0800
commit61c5213cf86ae02ab61ce20130797ba758fc0689 (patch)
tree6e2b2a14101a3519e8337683b1e0c94e05d1c3e0 /devel
parent17738dbac8148f8d87d4236c116465040b441de2 (diff)
downloadfreebsd-ports-gnome-61c5213cf86ae02ab61ce20130797ba758fc0689.tar.gz
freebsd-ports-gnome-61c5213cf86ae02ab61ce20130797ba758fc0689.tar.zst
freebsd-ports-gnome-61c5213cf86ae02ab61ce20130797ba758fc0689.zip
Add new module 'boolean' which provides Boolean type for Perl.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-boolean/Makefile22
-rw-r--r--devel/p5-boolean/distinfo3
-rw-r--r--devel/p5-boolean/pkg-descr14
-rw-r--r--devel/p5-boolean/pkg-plist3
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 156bdf581e25..8626c1fd0a1a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1936,6 +1936,7 @@
SUBDIR += p5-accessors
SUBDIR += p5-aliased
SUBDIR += p5-base
+ SUBDIR += p5-boolean
SUBDIR += p5-capitalization
SUBDIR += p5-constant-lexical
SUBDIR += p5-doxygenfilter
diff --git a/devel/p5-boolean/Makefile b/devel/p5-boolean/Makefile
new file mode 100644
index 000000000000..33e200cd455f
--- /dev/null
+++ b/devel/p5-boolean/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-boolean
+# Date created: 2009-02-23
+# Whom: Timur I. Bakeyev <bat@cpan.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= boolean
+PORTVERSION= 0.20
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/I/IN/INGY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= timur@FreeBSD.org
+COMMENT= Boolean support for Perl
+
+PERL_CONFIGURE= yes
+
+MAN3= boolean.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-boolean/distinfo b/devel/p5-boolean/distinfo
new file mode 100644
index 000000000000..6274adf63365
--- /dev/null
+++ b/devel/p5-boolean/distinfo
@@ -0,0 +1,3 @@
+MD5 (boolean-0.20.tar.gz) = a9dcfaa89e6b3ee52e0bb6e2d6b6c438
+SHA256 (boolean-0.20.tar.gz) = d6073a72f46338083a194884814c7bdd2c44ff4ace513582af08645187ff10f7
+SIZE (boolean-0.20.tar.gz) = 14364
diff --git a/devel/p5-boolean/pkg-descr b/devel/p5-boolean/pkg-descr
new file mode 100644
index 000000000000..d2171e2dd131
--- /dev/null
+++ b/devel/p5-boolean/pkg-descr
@@ -0,0 +1,14 @@
+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:
+
+ @false = (undef, 0, 0.0, '', '0');
+
+Every other scalar value is true.
+
+This module provides basic Boolean support, by defining two special
+objects: "true" and "false".
+
+WWW: http://search.cpan.org/dist/boolean/
diff --git a/devel/p5-boolean/pkg-plist b/devel/p5-boolean/pkg-plist
new file mode 100644
index 000000000000..2443afd9c590
--- /dev/null
+++ b/devel/p5-boolean/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/boolean.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/boolean/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/boolean