79f72b5624
[ENHANCEMENTS] * Now ignores minified Javascript files. Anything matching -min.js or .min.js is ignored. * Added Groovy support (--groovy). * Added .pm6 as a --perl extension. * Lua can now get detected from the shebang line. Thanks, Matthew Wild. * Added support for version numbers in executables in shebang detection. Now if your Perl program's shebang refers to /usr/local/bin/perl-5.14.1, ack will find it.
30 lines
831 B
Makefile
30 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.11 2011/10/09 12:52:23 schmonz Exp $
|
|
|
|
DISTNAME= ack-1.96
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=App/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/ack/
|
|
COMMENT= Grep-like text finder
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= perl
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/ack/.packlist
|
|
REPLACE_PERL+= ack
|
|
|
|
# Avoid ack regenerating itself and frustrating REPLACE_PERL setting
|
|
post-configure:
|
|
${TOUCH} ${WRKSRC}/ack
|
|
|
|
DEPENDS+= p5-File-Next>=0.4:../../devel/p5-File-Next
|
|
DEPENDS+= p5-Term-ANSIColor-[0-9]*:../../devel/p5-Term-ANSIColor
|
|
BUILD_DEPENDS+= {perl>=5.8.8,p5-Test-Harness>=2.5}:../../devel/p5-Test-Harness
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|