Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2008 01:00:16 GMT
From:      Wen heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125942: [Update]mail/pear-MIME_Type:update to 1.1.1
Message-ID:  <200807250100.m6P10GJc087022@www.freebsd.org>
Resent-Message-ID: <200807250110.m6P1A1Lf099454@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125942
>Category:       ports
>Synopsis:       [Update]mail/pear-MIME_Type:update to 1.1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 25 01:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen heping
>Release:        FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update to 1.1.1 from 1.0.0
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-07-25 15:45:17.000000000 +0800
+++ Makefile	2008-07-25 16:14:36.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	MIME_Type
-PORTVERSION=	1.0.0
+PORTVERSION=	1.1.1
 CATEGORIES=	mail www pear
 
 MAINTAINER=	ports@FreeBSD.org
@@ -19,13 +19,14 @@
 OPTIONS=	PEAR_SYSTEM_COMMAND "PEAR::System_Command support" off
 
 CATEGORY=	MIME
-FILES=		Type.php Type/Parameter.php
+FILES=		MIME/Type.php MIME/Type/Parameter.php
 EXAMPLES=	example.php
-_EXAMPLESDIR=	.
+_EXAMPLESDIR=	docs/examples/
+TESTS=		TypeTest.php
 
-post-extract:
-	@${MKDIR} ${WRKSRC}/Type
-	@${MV} ${WRKSRC}/Parameter.php ${WRKSRC}/Type
+#post-extract:
+#	@${MKDIR} ${WRKSRC}/Type
+#	@${MV} ${WRKSRC}/Parameter.php ${WRKSRC}/Type
 
 .include <bsd.port.pre.mk>
 
@@ -34,12 +35,4 @@
 .endif
 
 .include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-
-post-patch:
-.for file in ${FILES}
-	@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/${file}
-	@${REINPLACE_CMD} -e "s|@package@|${PORTNAME}|" ${WRKSRC}/${file}
-.endfor
-	@${REINPLACE_CMD} -e "s|@doc_dir@|${EXAMPLESDIR}|" ${WRKSRC}/${EXAMPLES}
-
 .include <bsd.port.post.mk>
--- distinfo.orig	2006-01-22 20:50:41.000000000 +0800
+++ distinfo	2008-07-25 16:14:23.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (PEAR/MIME_Type-1.0.0.tgz) = dc2d377a121c6410d5f5c46e8ec32c03
-SHA256 (PEAR/MIME_Type-1.0.0.tgz) = 1eb67b8e46992f72f312113787dd99c5ebe6d9eacc7641c6983fc82ac108f229
-SIZE (PEAR/MIME_Type-1.0.0.tgz) = 4404
+MD5 (PEAR/MIME_Type-1.1.1.tgz) = d42d13f514f6e1daf148703540fc3bec
+SHA256 (PEAR/MIME_Type-1.1.1.tgz) = be8b6516635ad38667b5e91fb79c8a232d061fb4505980cd22d3594d6eb1e860
+SIZE (PEAR/MIME_Type-1.1.1.tgz) = 6631


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807250100.m6P10GJc087022>