From antonio@digitalsign.com  Mon Apr 18 12:07:35 2005
Return-Path: <antonio@digitalsign.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D9A4616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Apr 2005 12:07:34 +0000 (GMT)
Received: from digitalsign.com (cm-virtua-fln-C8B08F9E.brdterra.com.br [200.176.143.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9A48443D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Apr 2005 12:07:33 +0000 (GMT)
	(envelope-from antonio@digitalsign.com)
Received: from digitalsign.com (localhost [127.0.0.1])
	by digitalsign.com (8.12.6/8.12.6) with ESMTP id j3IC7UBb011597
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Apr 2005 09:07:30 -0300 (BRT)
	(envelope-from antonio@digitalsign.com)
Received: (from antonio@localhost)
	by digitalsign.com (8.12.6/8.12.6/Submit) id j3IC7TNI011596;
	Mon, 18 Apr 2005 09:07:29 -0300 (BRT)
Message-Id: <200504181207.j3IC7TNI011596@digitalsign.com>
Date: Mon, 18 Apr 2005 09:07:29 -0300 (BRT)
From: Antonio Carlos Venancio Junior <antonio@php.net>
Reply-To: Antonio Carlos Venancio Junior <antonio@php.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: mail/pear-MIME_Type PEAR class for dealing with MIME types
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80066
>Category:       ports
>Synopsis:       New port: mail/pear-MIME_Type PEAR class for dealing with MIME types
>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:   Mon Apr 18 12:10:22 GMT 2005
>Closed-Date:    Wed Apr 20 15:09:18 GMT 2005
>Last-Modified:  Wed Apr 20 15:09:18 GMT 2005
>Originator:     Antonio Carlos Venancio Junior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #12: Mon Apr  4 08:35:27 BRT 2005     root@antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO  i386
>Description:
>How-To-Repeat:
New port: mail/pear-MIME_Type PEAR class for dealing with MIME types

PEAR::MIME_Type provides functionality for dealing with MIME types.

* Parse MIME type.
* Supports full RFC2045 specification.
* Many utility functions for working with and determining info about types.
* Most functions can be called statically.
* Autodetect a file's mime-type, either with mime_content_type() or the 'file'
command.
>Fix:
# 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:
#
#	pear-MIME_Type
#	pear-MIME_Type/Makefile
#	pear-MIME_Type/distinfo
#	pear-MIME_Type/pkg-descr
#
echo c - pear-MIME_Type
mkdir -p pear-MIME_Type > /dev/null 2>&1
echo x - pear-MIME_Type/Makefile
sed 's/^X//' >pear-MIME_Type/Makefile << 'END-of-pear-MIME_Type/Makefile'
X# Ports collection makefile for:  pear-MIME_Type
X# Date created:			  18 April 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	MIME_Type
XPORTVERSION=	1.0.0
XCATEGORIES=	mail www pear
X
XMAINTAINER=	antonio@php.net
XCOMMENT=	PEAR class for dealing with MIME types
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XLATEST_LINK=	pear-${PORTNAME}
XOPTIONS=	PEAR_SYSTEM_COMMAND "PEAR::System_Command support" off
X
XUSE_REINPLACE=	yes
X
XCATEGORY=	MIME
XFILES=		Type.php Type/Parameter.php
XEXAMPLES=	example.php
X_EXAMPLESDIR=	.
X
Xpost-extract:
X	@${MKDIR} ${WRKSRC}/Type
X	@${MV} ${WRKSRC}/Parameter.php ${WRKSRC}/Type
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_PEAR_SYSTEM_COMMAND)
XRUN_DEPENDS+=	${PEARDIR}/System/Command.php:${PORTSDIR}/devel/pear-System_Command
X.endif
X
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X
Xpost-patch:
X.for file in ${FILES}
X	@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/${file}
X	@${REINPLACE_CMD} -e "s|@package@|${PORTNAME}|" ${WRKSRC}/${file}
X.endfor
X	@${REINPLACE_CMD} -e "s|@doc_dir@|${EXAMPLESDIR}|" ${WRKSRC}/${EXAMPLES}
X
X.include <bsd.port.post.mk>
END-of-pear-MIME_Type/Makefile
echo x - pear-MIME_Type/distinfo
sed 's/^X//' >pear-MIME_Type/distinfo << 'END-of-pear-MIME_Type/distinfo'
XMD5 (PEAR/MIME_Type-1.0.0.tgz) = dc2d377a121c6410d5f5c46e8ec32c03
XSIZE (PEAR/MIME_Type-1.0.0.tgz) = 4404
END-of-pear-MIME_Type/distinfo
echo x - pear-MIME_Type/pkg-descr
sed 's/^X//' >pear-MIME_Type/pkg-descr << 'END-of-pear-MIME_Type/pkg-descr'
XPEAR::MIME_Type provides functionality for dealing with MIME types.
X
X* Parse MIME type.
X* Supports full RFC2045 specification.
X* Many utility functions for working with and determining info about types.
X* Most functions can be called statically.
X* Autodetect a file's mime-type, either with mime_content_type() or the 'file'
Xcommand.
X
XWWW: http://pear.php.net/package/MIME_Type/
END-of-pear-MIME_Type/pkg-descr
exit
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Wed Apr 20 15:09:07 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

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