Import p5-constant-def-0.01 as devel/p5-constant-def.
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.
This commit is contained in:
parent
53780ab7ea
commit
1cba9e5c88
4 changed files with 33 additions and 0 deletions
3
devel/p5-constant-def/DESCR
Normal file
3
devel/p5-constant-def/DESCR
Normal file
|
@ -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.
|
19
devel/p5-constant-def/Makefile
Normal file
19
devel/p5-constant-def/Makefile
Normal file
|
@ -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"
|
6
devel/p5-constant-def/PLIST
Normal file
6
devel/p5-constant-def/PLIST
Normal file
|
@ -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
|
5
devel/p5-constant-def/distinfo
Normal file
5
devel/p5-constant-def/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue