From 663e24abba8f52aa310cf85fdc5c568284e605f1 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 13 May 2009 00:14:51 +0000 Subject: [PATCH] import p5-File-MMagic-XS 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. --- misc/p5-File-MMagic-XS/Makefile | 18 ++++++++++++++++++ misc/p5-File-MMagic-XS/distinfo | 5 +++++ misc/p5-File-MMagic-XS/pkg/DESCR | 3 +++ misc/p5-File-MMagic-XS/pkg/PLIST | 14 ++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 misc/p5-File-MMagic-XS/Makefile create mode 100644 misc/p5-File-MMagic-XS/distinfo create mode 100644 misc/p5-File-MMagic-XS/pkg/DESCR create mode 100644 misc/p5-File-MMagic-XS/pkg/PLIST diff --git a/misc/p5-File-MMagic-XS/Makefile b/misc/p5-File-MMagic-XS/Makefile new file mode 100644 index 00000000000..dbe40844368 --- /dev/null +++ b/misc/p5-File-MMagic-XS/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/05/13 00:14:51 simon Exp $ + +COMMENT = guess file type with XS (a la mod_mime_magic) +SHARED_ONLY = Yes + +MODULES = cpan +DISTNAME = File-MMagic-XS-0.09002 +CATEGORIES = misc + +# Perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MAKE_ENV += TEST_POD=1 + +.include diff --git a/misc/p5-File-MMagic-XS/distinfo b/misc/p5-File-MMagic-XS/distinfo new file mode 100644 index 00000000000..a408b81a9ac --- /dev/null +++ b/misc/p5-File-MMagic-XS/distinfo @@ -0,0 +1,5 @@ +MD5 (File-MMagic-XS-0.09002.tar.gz) = NgGEWgLRI/6vPRI3B6oQ1w== +RMD160 (File-MMagic-XS-0.09002.tar.gz) = jauEZ9ExcM9PfgBI/N0TrjWNL3s= +SHA1 (File-MMagic-XS-0.09002.tar.gz) = U84YLoj6c27YTYkiYkKvLVf+XWo= +SHA256 (File-MMagic-XS-0.09002.tar.gz) = t8AQFmCqZEKP2mB8PQ5B/PKe0c9c8uYdi/tgHl5y9WM= +SIZE (File-MMagic-XS-0.09002.tar.gz) = 55354 diff --git a/misc/p5-File-MMagic-XS/pkg/DESCR b/misc/p5-File-MMagic-XS/pkg/DESCR new file mode 100644 index 00000000000..d31bb465c31 --- /dev/null +++ b/misc/p5-File-MMagic-XS/pkg/DESCR @@ -0,0 +1,3 @@ +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. diff --git a/misc/p5-File-MMagic-XS/pkg/PLIST b/misc/p5-File-MMagic-XS/pkg/PLIST new file mode 100644 index 00000000000..ff8a5189eb1 --- /dev/null +++ b/misc/p5-File-MMagic-XS/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/13 00:14:51 simon Exp $ +${P5ARCH}/ +${P5ARCH}/File/ +${P5ARCH}/File/MMagic/ +${P5ARCH}/File/MMagic/XS.pm +${P5ARCH}/File/MMagic/benchmark.pl +${P5ARCH}/File/MMagic/magic +${P5ARCH}/auto/ +${P5ARCH}/auto/File/ +${P5ARCH}/auto/File/MMagic/ +${P5ARCH}/auto/File/MMagic/XS/ +${P5ARCH}/auto/File/MMagic/XS/XS.bs +${P5ARCH}/auto/File/MMagic/XS/XS.so +@man man/man3p/File::MMagic::XS.3p