Date: Mon, 18 Apr 2005 09:07:29 -0300 (BRT) From: Antonio Carlos Venancio Junior <antonio@php.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80066: New port: mail/pear-MIME_Type PEAR class for dealing with MIME types Message-ID: <200504181207.j3IC7TNI011596@digitalsign.com> Resent-Message-ID: <200504181210.j3ICAMqc009029@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 18 12:10:22 GMT 2005 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504181207.j3IC7TNI011596>