From rafan@infor.org  Sat Aug 21 19:15:18 2004
Return-Path: <rafan@infor.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BBACB16A4D0
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 19:15:18 +0000 (GMT)
Received: from muse.csie.ntu.edu.tw (muse.csie.ntu.edu.tw [140.112.28.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2C40743D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 19:15:18 +0000 (GMT)
	(envelope-from rafan@infor.org)
Received: from localhost (localhost.csie.ntu.edu.tw [127.0.0.1])
	by muse.csie.ntu.edu.tw (Postfix) with ESMTP id 9DF9C52EE3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2004 03:15:14 +0800 (CST)
Received: from rafan.csie.org (220-135-116-9.HINET-IP.hinet.net [220.135.116.9])
	by muse.csie.ntu.edu.tw (Postfix) with ESMTP id C6F2652ED5
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Aug 2004 03:15:12 +0800 (CST)
Received: (from rafan@localhost)
	by rafan.csie.org (8.13.1/8.12.10/Submit) id i7LJCatp055133;
	Sun, 22 Aug 2004 03:12:36 +0800 (CST)
	(envelope-from rafan)
Message-Id: <200408211912.i7LJCatp055133@rafan.csie.org>
Date: Sun, 22 Aug 2004 03:12:36 +0800 (CST)
From: Rong-En Fan <rafan@infor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/p5-File-MimeInfo: Determine file type
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70797
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-File-MimeInfo: Determine file type
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 19:20:22 GMT 2004
>Closed-Date:    Sun Aug 22 12:38:11 GMT 2004
>Last-Modified:  Sun Aug 22 12:38:11 GMT 2004
>Originator:     Rong-En Fan
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD rafan.csie.org 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #2: Mon Jul 19 03:22:42 CST 2004
>Description:
From CPAN:

This module can be used to determine the mime type of a file. It
tries to implement the freedesktop specification for a shared
MIME database.

For this module shared-mime-info-spec 0.12 was used.

This package only uses the globs file. No real magic checking is
used. The File::MimeInfo::Magic package is provided for magic typing.

If you want to detemine the mimetype of data in a memory buffer
you should use File::MimeInfo::Magic in combination with IO::Scalar.

==
This module is required by devel/svk 0.19.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-File-MimeInfo-0.10.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-File-MimeInfo
#	p5-File-MimeInfo/Makefile
#	p5-File-MimeInfo/distinfo
#	p5-File-MimeInfo/pkg-descr
#	p5-File-MimeInfo/pkg-plist
#
echo c - p5-File-MimeInfo
mkdir -p p5-File-MimeInfo > /dev/null 2>&1
echo x - p5-File-MimeInfo/Makefile
sed 's/^X//' >p5-File-MimeInfo/Makefile << 'END-of-p5-File-MimeInfo/Makefile'
X# New ports collection makefile for:	devel/p5-File-MimeInfo
X# Date created:				Aug 21 2004
X# Whom:					Rong-En Fan <rafan@infor.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	File-MimeInfo
XPORTVERSION=	0.10
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/P/PA/PARDUS/${PORTNAME}
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	rafan@infor.org
XCOMMENT=	Determine file type
X
XBUILD_DEPENDS=	${SITE_PERL}/File/BaseDir.pm:${PORTSDIR}/devel/p5-File-BaseDir
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN1=		mimetype.1
XMAN3=		File::MimeInfo::Magic.3 \
X		File::MimeInfo::Rox.3 \
X		File::MimeInfo.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XBUILD_DEPENDS+=	${SITE_PREL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
XRUN_DEPENDS+=	${SITE_PREL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-File-MimeInfo/Makefile
echo x - p5-File-MimeInfo/distinfo
sed 's/^X//' >p5-File-MimeInfo/distinfo << 'END-of-p5-File-MimeInfo/distinfo'
XMD5 (File-MimeInfo-0.10.tar.gz) = 79c8d21705ce9d86a415275b8b2e6c52
XSIZE (File-MimeInfo-0.10.tar.gz) = 16498
END-of-p5-File-MimeInfo/distinfo
echo x - p5-File-MimeInfo/pkg-descr
sed 's/^X//' >p5-File-MimeInfo/pkg-descr << 'END-of-p5-File-MimeInfo/pkg-descr'
XThis module can be used to determine the mime type of a file. It
Xtries to implement the freedesktop specification for a shared
XMIME database.
X
XFor this module shared-mime-info-spec 0.12 was used.
X
XThis package only uses the globs file. No real magic checking is
Xused. The File::MimeInfo::Magic package is provided for magic typing.
X
XIf you want to detemine the mimetype of data in a memory buffer
Xyou should use File::MimeInfo::Magic in combination with IO::Scalar.
END-of-p5-File-MimeInfo/pkg-descr
echo x - p5-File-MimeInfo/pkg-plist
sed 's/^X//' >p5-File-MimeInfo/pkg-plist << 'END-of-p5-File-MimeInfo/pkg-plist'
Xbin/mimetype
X%%SITE_PERL%%/File/MimeInfo.pm
X%%SITE_PERL%%/File/MimeInfo/Rox.pm
X%%SITE_PERL%%/File/MimeInfo/Magic.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MimeInfo/.packlist
X@unexec rmdir %D/%%SITE_PERL%%/File/MimeInfo 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/File 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/MimeInfo 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
END-of-p5-File-MimeInfo/pkg-plist
exit
--- p5-File-MimeInfo-0.10.shar ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lth 
State-Changed-When: Sun Aug 22 12:36:03 GMT 2004 
State-Changed-Why:  
New port added, thanks! 
There were too many 5.005_03 incompatabilities, so I added an IGNORE 
line for older perls.  I also added a WWW:-line to pkg-descr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70797 
>Unformatted:
