PR: ports/16962

Submitted by:	knu@idaemons.org
Perl5 module to guess file type like file(1)
This commit is contained in:
Seiichirou Hiraoka 2000-03-01 20:29:09 +00:00
parent f40341271a
commit 08d2daad8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26475
5 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# New ports collection makefile for: p5-File-MMagic
# Version required: 0.20
# Date created: 25 February 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
DISTNAME= File-MMagic-0.20
PKGNAME= p5-File-MMagic-0.20
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/K/KN/KNOK
MAINTAINER= knu@idaemons.org
USE_PERL5= YES
MAN3= File::MMagic.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (File-MMagic-0.20.tar.gz) = e7e221e00edd9a3a79bd25f8726d1c01

View file

@ -0,0 +1 @@
Perl5 module to guess file type like file(1)

View file

@ -0,0 +1,2 @@
This module is to guess file type from its contents like file(1)
command.

View file

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/File/MMagic.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/MMagic/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/MMagic
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true