mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Adding file devel/p5-File-MMagic-XS, Guess File Type With XS (a la
mod_mime_magic). Approved by: tobez (implicit)
This commit is contained in:
parent
a80a5566ac
commit
aabd7239f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165691
@ -993,6 +993,7 @@
|
|||||||
SUBDIR += p5-File-HomeDir
|
SUBDIR += p5-File-HomeDir
|
||||||
SUBDIR += p5-File-Lock
|
SUBDIR += p5-File-Lock
|
||||||
SUBDIR += p5-File-MMagic
|
SUBDIR += p5-File-MMagic
|
||||||
|
SUBDIR += p5-File-MMagic-XS
|
||||||
SUBDIR += p5-File-MimeInfo
|
SUBDIR += p5-File-MimeInfo
|
||||||
SUBDIR += p5-File-Modified
|
SUBDIR += p5-File-Modified
|
||||||
SUBDIR += p5-File-NCopy
|
SUBDIR += p5-File-NCopy
|
||||||
|
28
devel/p5-File-MMagic-XS/Makefile
Normal file
28
devel/p5-File-MMagic-XS/Makefile
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# New ports collection makefile for: p5-File-MMagic-XS
|
||||||
|
# Date created: 18 Jun 2006
|
||||||
|
# Whom: Aaron Dalton <aaron@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= File-MMagic-XS
|
||||||
|
PORTVERSION= 0.08
|
||||||
|
CATEGORIES= devel perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= File
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= aaron@FreeBSD.org
|
||||||
|
COMMENT= Guess File Type With XS (a la mod_mime_magic)
|
||||||
|
|
||||||
|
MAN3= File::MMagic::XS.3
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${PERL_LEVEL} < 500600
|
||||||
|
IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
3
devel/p5-File-MMagic-XS/distinfo
Normal file
3
devel/p5-File-MMagic-XS/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 (File-MMagic-XS-0.08.tar.gz) = b8ce9617527a999c85d54fc8a4e88ebc
|
||||||
|
SHA256 (File-MMagic-XS-0.08.tar.gz) = 40ce6a8a6229e861fb8deefe2f82a3a529968c75e58b04d7388fe7a2d6c92bc2
|
||||||
|
SIZE (File-MMagic-XS-0.08.tar.gz) = 54434
|
23
devel/p5-File-MMagic-XS/pkg-descr
Normal file
23
devel/p5-File-MMagic-XS/pkg-descr
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
This is a port of Apache2 mod_mime_magic.c in Perl, written in XS with the
|
||||||
|
aim of being efficient and fast especially for applications that need to
|
||||||
|
be run for an extended amount of time.
|
||||||
|
|
||||||
|
There is a compatibility layer for File::MMagic. you can specify :compat
|
||||||
|
when importing the module
|
||||||
|
|
||||||
|
use File::MMagic::XS qw(:compat);
|
||||||
|
|
||||||
|
And then the following methods are going to be available from
|
||||||
|
File::MMagic::XS:
|
||||||
|
|
||||||
|
checktype_filename
|
||||||
|
checktype_filehandle
|
||||||
|
checktype_contents
|
||||||
|
addMagicEntry
|
||||||
|
|
||||||
|
Currently this software is in beta. If you have
|
||||||
|
suggestions/recommendations about the interface or anything else, now is
|
||||||
|
your chance to send them!
|
||||||
|
|
||||||
|
WWW: http://search.cpan.org/dist/File-MMagic-XS
|
||||||
|
Author: Daisuke Maki <dmaki@cpan.org>
|
12
devel/p5-File-MMagic-XS/pkg-plist
Normal file
12
devel/p5-File-MMagic-XS/pkg-plist
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/File/MMagic/XS.pm
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/File/MMagic/benchmark.pl
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/File/MMagic/compat.pm
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/File/MMagic/magic
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MMagic/XS/.packlist
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MMagic/XS/XS.bs
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MMagic/XS/XS.so
|
||||||
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MMagic/XS
|
||||||
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MMagic
|
||||||
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
|
||||||
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/File/MMagic
|
||||||
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/File
|
Loading…
Reference in New Issue
Block a user