8198c5e7e8
1.23 2020-08-28 - Fixed a bug with the Makefile.PL that caused every call to "make" to recompile the object file for the package's XS code. Reported by Kent Fredric. GH #28.
27 lines
780 B
Makefile
27 lines
780 B
Makefile
# $NetBSD: Makefile,v 1.30 2020/09/06 23:09:44 wiz Exp $
|
|
|
|
DISTNAME= File-LibMagic-1.23
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://metacpan.org/release/File-LibMagic
|
|
COMMENT= Perlwrapper for libmagic
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
BUILDLINK_API_DEPENDS.file+= file>=5.00
|
|
|
|
DEPENDS+= p5-Config-AutoConf-[0-9]*:../../devel/p5-Config-AutoConf
|
|
|
|
TEST_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
|
|
|
|
# cannot open LibMagic.xs: No such file or directory
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
PERL5_PACKLIST= auto/File/LibMagic/.packlist
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../sysutils/file/buildlink3.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|