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 lines
627 B
Makefile
19 lines
627 B
Makefile
# $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"
|