pkgsrc/devel/p5-File-LibMagic/Makefile
mef 7b90f103dc Update 1.10 to 1.12
-------------------
1.12     2015-03-07
- The constructor now accepts named params. In addition to a magic_file param,
  it now accepts follow_symlinks and uncompress params. These do what you'd
  expect, tell the object to follow symlinks and/or uncompress files when
  getting info from them. The old single parameter constructor is still
  supported, but is no longer documented.

- The old APIs are now called "discouraged" rather than "deprecated" in the
  documentation. I have no plan to remove these APIs any time soon or to make
  them warn, so "deprecated" was too strong a word.

- Changed a test to hopefully skip rather than fail on OpenBSD systems.


1.11     2015-03-01
- The info_from_handle() method did not handle binary data correctly, which
  could lead to incorrect results.

- The info_from_*() methods returned a full mime type with encoding in the
  "mime_type" key rather than just the mime type alone.

- Allow File::LibMagic->new() to accept an array reference containing multiple
  magic file paths.
2015-03-15 14:08:05 +00:00

24 lines
667 B
Makefile

# $NetBSD: Makefile,v 1.15 2015/03/15 14:08:05 mef Exp $
DISTNAME= File-LibMagic-1.12
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/File-LibMagic/
COMMENT= Perlwrapper for libmagic
LICENSE= ${PERL5_LICENSE}
BUILDLINK_API_DEPENDS.file+= file>=5.00
# cannot open LibMagic.xs: No such file or directory
MAKE_JOBS_SAFE= no
USE_LANGUAGES= c
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"