aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortj <tj@FreeBSD.org>2012-09-09 02:56:20 +0800
committertj <tj@FreeBSD.org>2012-09-09 02:56:20 +0800
commit6f8b3f337de790bdaac5aef60868f18fa5b265b8 (patch)
treeb71d6907b8eb1665b208c7778f362131c5f1f630
parentbc3e0efeeb4398d5ecea20cf5dd2aea909dac3a9 (diff)
downloadfreebsd-ports-gnome-6f8b3f337de790bdaac5aef60868f18fa5b265b8.tar.gz
freebsd-ports-gnome-6f8b3f337de790bdaac5aef60868f18fa5b265b8.tar.zst
freebsd-ports-gnome-6f8b3f337de790bdaac5aef60868f18fa5b265b8.zip
New port devel/p5-File-LibMagic.
A small wrapper for libmagic. WWW: http://search.cpan.org/dist/File-LibMagic/ Approved by: db (mentor)
-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