pkgsrc/devel/p5-Devel-Declare/Makefile

30 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2011/10/18 09:45:29 hiramatsu Exp $
DISTNAME= Devel-Declare-0.006007
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Devel/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Devel-Declare/
COMMENT= Declarator magic for perl
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-B-Hooks-EndOfScope>0.05:../../devel/p5-B-Hooks-EndOfScope
DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
BUILD_DEPENDS+= p5-ExtUtils-Depends>=0.302:../../devel/p5-ExtUtils-Depends
BUILD_DEPENDS+= p5-B-Compiling-[0-9]*:../../devel/p5-B-Compiling # t/lines.t
BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple
USE_LANGUAGES= c
PERL5_PACKLIST= auto/Devel/Declare/.packlist
PERL5_MODULE_TYPE= Module::Install
BUILDLINK_DEPMETHOD.p5-B-Hooks-OP-Check= full
BUILDLINK_API_DEPENDS.p5-B-Hooks-OP-Check+= p5-B-Hooks-OP-Check>=0.18
Update from version 0.001011nb1 to 0.003003. Pkgsrc changes: o Adjust/update dependency lists Upstream changes: 0.003003 - Devel::Declare::MethodInstaller::Simple now has code_for() which the subclass can override to monkey with the magic shadowed subroutine. This is handy if you want to employ Devel::BeginLift. 0.003002 - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and Context::Simple use them. 0.003001 - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep the debugger happy. 0.003000 - Add Devel::Declare::Context::Simple and Devel::Declare::MethodInstaller::Simple as an experimental way to make creating block- and sub-like keywords easier (Rhesa Rozendaal). 0.002999_01 - Use B::Hooks::OP::Check to register PL_check callbacks. - Use B::Hooks::EndOfScope instead of %^H and Scope::Guard. - Don't segfault if HvNAME(PL_curstash) == NULL. - Don't segfault on 5.9.5+, where PL_parser is a symbol, not a define. - Don't delete the previous symbol table entry when shadowing subs. This makes us work within the debugger. - Don't mix declarations and code. 0.002002 - switch done_declare call from call_argv to call_pv. - Make get_linestr{,_offset} return sensible values when called while the parser isn't running. - Remove several compile time warnings. - Allow enabling of debug mode using $ENV{DD_DEBUG}. 0.002001 - clean up checks for whether we're lexing and whether lex_stuff exists to handle the PL_parser factor-out in 5.10 - check if reallocation of PL_linestr is necessary before doing it. this way we can bail out properly instead of corrupting memory in some cases - don't call strlen twice on the same sting - try to be more portable - stop using Nullsv - don't use Perl_* functions directly. - don't define PERL_CORE - use NEWSV from handy.h instead of defining our own - don't define PERL_NO_GET_CONTEXT - don't support preprocessors (perl -P) 0.002000 - rewrite guts into perl, add tests for new declaration style
2008-11-03 00:34:14 +01:00
.include "../../devel/p5-B-Hooks-OP-Check/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"