diff --git a/devel/p5-constant-def/DESCR b/devel/p5-constant-def/DESCR new file mode 100644 index 000000000000..337c01bb4dfe --- /dev/null +++ b/devel/p5-constant-def/DESCR @@ -0,0 +1,3 @@ +Define compile-time constant only if it wasn't previously defined elsewhere. The +main reason is to use for debugging constants, since there is no way to change +the value, except by editing the source. diff --git a/devel/p5-constant-def/Makefile b/devel/p5-constant-def/Makefile new file mode 100644 index 000000000000..bead394e3a5f --- /dev/null +++ b/devel/p5-constant-def/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2013/07/06 00:39:59 rodent Exp $ +# + +DISTNAME= constant-def-0.01 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MO/MONS/} + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= http://search.cpan.org/~mons/constant-def-0.01/lib/constant/def.pm +COMMENT= Perl pragma to declare previously undeclared constants +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Test-Simple>=0.98:../../devel/p5-Test-Simple +DEPENDS+= p5-constant>=1.05:../../devel/p5-constant +DEPENDS+= p5-ex-lib>=0.03:../../devel/p5-ex-lib + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-constant-def/PLIST b/devel/p5-constant-def/PLIST new file mode 100644 index 000000000000..72257d59b1df --- /dev/null +++ b/devel/p5-constant-def/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2013/07/06 00:39:59 rodent Exp $ +${PERL5_SUB_INSTALLVENDORLIB}/constant/abs.pm +${PERL5_SUB_INSTALLVENDORLIB}/constant/def.pm +${PERL5_SUB_INSTALLVENDORARCH}/auto/constant/def/.packlist +${PERL5_SUB_INSTALLVENDORMAN3DIR}/constant::abs.3 +${PERL5_SUB_INSTALLVENDORMAN3DIR}/constant::def.3 diff --git a/devel/p5-constant-def/distinfo b/devel/p5-constant-def/distinfo new file mode 100644 index 000000000000..1fa4ad03f5f9 --- /dev/null +++ b/devel/p5-constant-def/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/07/06 00:39:59 rodent Exp $ + +SHA1 (constant-def-0.01.tar.gz) = 0b946930dc6c1c16fe3337f5218b017f9f1a2784 +RMD160 (constant-def-0.01.tar.gz) = 82514af28e8d0b64736a5d0ba5b57901aefd8dbc +Size (constant-def-0.01.tar.gz) = 22335 bytes