Initial import of p5-File-LibMagic 0.96
The File::LibMagic is a simple perl interface to libmagic from the file-4.x or file-5.x package from Christos Zoulas. You can use the simple Interface like MagicBuffer() or MagicFile(), use the functions of libmagic(3) or use the OO-Interface. ok benoit@
This commit is contained in:
parent
6cff525786
commit
bf10af5462
30
misc/p5-File-LibMagic/Makefile
Normal file
30
misc/p5-File-LibMagic/Makefile
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2011/04/11 09:56:20 bluhm Exp $
|
||||||
|
|
||||||
|
SHARED_ONLY = Yes
|
||||||
|
|
||||||
|
COMMENT = perl wrapper for libmagic
|
||||||
|
|
||||||
|
DISTNAME = File-LibMagic-0.96
|
||||||
|
|
||||||
|
CATEGORIES = misc
|
||||||
|
|
||||||
|
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
|
||||||
|
|
||||||
|
# perl
|
||||||
|
PERMIT_PACKAGE_CDROM = Yes
|
||||||
|
PERMIT_PACKAGE_FTP = Yes
|
||||||
|
PERMIT_DISTFILES_CDROM =Yes
|
||||||
|
PERMIT_DISTFILES_FTP = Yes
|
||||||
|
|
||||||
|
WANTLIB += magic
|
||||||
|
|
||||||
|
EXTRACT_SUFX = .tgz
|
||||||
|
|
||||||
|
MODULES = cpan
|
||||||
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||||
|
RUN_DEPENDS = devel/libmagic
|
||||||
|
|
||||||
|
CONFIGURE_ARGS += "INC=-I/usr/local/include"
|
||||||
|
CONFIGURE_ARGS += "LIBS=-L/usr/local/lib -lmagic"
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
5
misc/p5-File-LibMagic/distinfo
Normal file
5
misc/p5-File-LibMagic/distinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
MD5 (File-LibMagic-0.96.tgz) = lF8GPrnNLOVV9FJ5IyD2AQ==
|
||||||
|
RMD160 (File-LibMagic-0.96.tgz) = ffFWoDew6MzyTNFbe/ZesR900rk=
|
||||||
|
SHA1 (File-LibMagic-0.96.tgz) = FiQVC+XgmUlIVW9jSB8nebP/oCQ=
|
||||||
|
SHA256 (File-LibMagic-0.96.tgz) = fbGZhUMXI3xMvmgPqgRdOSGD5x9QszoOkOaiZ85K+rY=
|
||||||
|
SIZE (File-LibMagic-0.96.tgz) = 16942
|
4
misc/p5-File-LibMagic/pkg/DESCR
Normal file
4
misc/p5-File-LibMagic/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
The File::LibMagic is a simple perl interface to libmagic from the
|
||||||
|
file-4.x or file-5.x package from Christos Zoulas. You can use the
|
||||||
|
simple Interface like MagicBuffer() or MagicFile(), use the functions
|
||||||
|
of libmagic(3) or use the OO-Interface.
|
11
misc/p5-File-LibMagic/pkg/PLIST
Normal file
11
misc/p5-File-LibMagic/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/11 09:56:20 bluhm Exp $
|
||||||
|
${P5ARCH}/
|
||||||
|
${P5ARCH}/File/
|
||||||
|
${P5ARCH}/File/LibMagic.pm
|
||||||
|
${P5ARCH}/auto/
|
||||||
|
${P5ARCH}/auto/File/
|
||||||
|
${P5ARCH}/auto/File/LibMagic/
|
||||||
|
${P5ARCH}/auto/File/LibMagic/LibMagic.bs
|
||||||
|
${P5ARCH}/auto/File/LibMagic/LibMagic.so
|
||||||
|
${P5ARCH}/auto/File/LibMagic/autosplit.ix
|
||||||
|
@man man/man3p/File::LibMagic.3p
|
Loading…
x
Reference in New Issue
Block a user