pkgsrc/devel/p5-constant/Makefile
sno 9496bc3c17 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.
2009-10-18 09:16:48 +00:00

20 lines
559 B
Makefile

# $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
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"