# 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 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 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 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