pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-constant Importing devel/p5-constant 1.19 as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b551e0c81d67
branches:  trunk
changeset: 400364:b551e0c81d67
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun Oct 18 09:16:48 2009 +0000

description:
Importing devel/p5-constant 1.19 as dependency (constant >= 1.14) for
scheduled update of net/p5-SOAP-Lite. Since 1.14 multiple constants
are allowed.

This pragma allows constants to be declared at compile-time.

When a constant is used in an expression, Perl replaces it with its value at
compile time, and may then optimize the expression further. In particular,
any code in an if (CONSTANT) block will be optimized away if the constant
is false.

diffstat:

 devel/p5-constant/DESCR    |   6 ++++++
 devel/p5-constant/Makefile |  20 ++++++++++++++++++++
 devel/p5-constant/distinfo |   5 +++++
 3 files changed, 31 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r ed9a813ea79e -r b551e0c81d67 devel/p5-constant/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-constant/DESCR   Sun Oct 18 09:16:48 2009 +0000
@@ -0,0 +1,6 @@
+This pragma allows constants to be declared at compile-time.
+
+When a constant is used in an expression, Perl replaces it with its value at
+compile time, and may then optimize the expression further. In particular,
+any code in an if (CONSTANT) block will be optimized away if the constant
+is false.
diff -r ed9a813ea79e -r b551e0c81d67 devel/p5-constant/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-constant/Makefile        Sun Oct 18 09:16:48 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/18 09:16:48 sno Exp $
+
+DISTNAME=      constant-1.19
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=constant/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/constant/
+COMMENT=       Perl pragma to declare constants
+LICENSE=       ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/constant/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ed9a813ea79e -r b551e0c81d67 devel/p5-constant/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-constant/distinfo        Sun Oct 18 09:16:48 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/18 09:16:48 sno Exp $
+
+SHA1 (constant-1.19.tar.gz) = 485e636482214ea30a5696aba1f708d0d3c9b57c
+RMD160 (constant-1.19.tar.gz) = e331d400f399472937d68a6253af6d4369392ae8
+Size (constant-1.19.tar.gz) = 13783 bytes



Home | Main Index | Thread Index | Old Index