aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-File-LibMagic/Makefile17
-rw-r--r--devel/p5-File-LibMagic/distinfo2
-rw-r--r--devel/p5-File-LibMagic/pkg-descr3
-rw-r--r--devel/p5-File-LibMagic/pkg-plist8
5 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d2e3e3b6b3c4..74df64597f22 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1850,6 +1850,7 @@
SUBDIR += p5-File-HomeDir
SUBDIR += p5-File-HomeDir-PathClass
SUBDIR += p5-File-Iterator
+ SUBDIR += p5-File-LibMagic
SUBDIR += p5-File-Lock
SUBDIR += p5-File-MMagic
SUBDIR += p5-File-MMagic-XS
diff --git a/devel/p5-File-LibMagic/Makefile b/devel/p5-File-LibMagic/Makefile
new file mode 100644
index 000000000000..72d05696f457
--- /dev/null
+++ b/devel/p5-File-LibMagic/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= File-LibMagic
+PORTVERSION= 0.96
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tj@FreeBSD.org
+COMMENT= Nice wrapper for libmagic
+
+PERL_CONFIGURE= yes
+
+MAN3= File::LibMagic.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-File-LibMagic/distinfo b/devel/p5-File-LibMagic/distinfo
new file mode 100644
index 000000000000..d8b23f904783
--- /dev/null
+++ b/devel/p5-File-LibMagic/distinfo
@@ -0,0 +1,2 @@
+SHA256 (File-LibMagic-0.96.tgz) = 7db199854317237c4cbe680faa045d392183e71f50b33a0e90e6a267ce4afab6
+SIZE (File-LibMagic-0.96.tgz) = 16942
diff --git a/devel/p5-File-LibMagic/pkg-descr b/devel/p5-File-LibMagic/pkg-descr
new file mode 100644
index 000000000000..6aa55c9dfdf8
--- /dev/null
+++ b/devel/p5-File-LibMagic/pkg-descr
@@ -0,0 +1,3 @@
+A small wrapper for libmagic.
+
+WWW: http://search.cpan.org/dist/File-LibMagic/
diff --git a/devel/p5-File-LibMagic/pkg-plist b/devel/p5-File-LibMagic/pkg-plist
new file mode 100644
index 000000000000..0e7e6ce3fee2
--- /dev/null
+++ b/devel/p5-File-LibMagic/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/File/LibMagic.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/LibMagic/LibMagic.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/LibMagic/LibMagic.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/LibMagic/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/LibMagic/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/LibMagic
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/File