Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2005 15:01:50 -0200 (BRST)
From:      Antonio Carlos Venancio Junior <antonio@php.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77313: Update port: devel/pear-PHP_Beautifier to 0.1.2
Message-ID:  <200502091701.j19H1oGv035236@digitalsign.com>
Resent-Message-ID: <200502091710.j19HANKT014245@freefall.freebsd.org>

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

>Number:         77313
>Category:       ports
>Synopsis:       Update port: devel/pear-PHP_Beautifier to 0.1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 09 17:10:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #4: Mon Jan 10 10:53:56 BRST 2005     root@antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
+ update port: devel/pear-PHP_Beautifier to 0.1.2
  + changelog: http://pear.php.net/package/PHP_Beautifier/download/0.1.2/
+ replace @package_version@ strings
>How-To-Repeat:
>Fix:
diff -ruN pear-PHP_Beautifier.orig/Makefile pear-PHP_Beautifier/Makefile
--- pear-PHP_Beautifier.orig/Makefile	Fri Feb  4 14:54:28 2005
+++ pear-PHP_Beautifier/Makefile	Wed Feb  9 14:52:17 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	PHP_Beautifier
-PORTVERSION=	0.1.1
+PORTVERSION=	0.1.2
 CATEGORIES=	devel www pear
 
 MAINTAINER=	antonio@php.net
@@ -15,44 +15,43 @@
 BUILD_DEPENDS=	${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-USE_PHP=        tokenizer
+USE_PHP=	tokenizer
 USE_REINPLACE=	yes
 DEFAULT_PHP_VER=5
 
 CATEGORY=	PHP
-FILES=		Beautifier.php Beautifier/Filter.php \
-		Beautifier/Decorator.php Beautifier/Batch.php \
-		Beautifier/Common.php Beautifier/Exception.php \
+FILES=		Beautifier.php Beautifier/Filter.php Beautifier/Decorator.php \
+		Beautifier/Batch.php Beautifier/Common.php Beautifier/Exception.php \
 		Beautifier/StreamWrapper.php Beautifier/Tokenizer.php \
 		Beautifier/Filter/ArrayNested.filter.php \
 		Beautifier/Filter/Default.filter.php \
 		Beautifier/Filter/ListClassFunction.filter.php \
 		Beautifier/Filter/Pear.filter.php \
 		Beautifier/Filter/IndentStyles.filter.php \
-		Beautifier/Batch/Output.php \
+		Beautifier/Filter/NewLines.filter.php Beautifier/Batch/Output.php \
 		Beautifier/Batch/Output/Directory.php \
 		Beautifier/Batch/Output/DirectoryBz2.php \
 		Beautifier/Batch/Output/DirectoryGz.php \
-		Beautifier/Batch/Output/DirectoryTar.php \
-		Beautifier/Batch/Output/Files.php \
-		Beautifier/Batch/Output/FilesBz2.php \
-		Beautifier/Batch/Output/FilesGz.php \
-		Beautifier/Batch/Output/FilesTar.php \
-		Beautifier/StreamWrapper/Tarz.php
+		Beautifier/Batch/Output/DirectoryTar.php Beautifier/Batch/Output/Files.php \
+		Beautifier/Batch/Output/FilesBz2.php Beautifier/Batch/Output/FilesGz.php \
+		Beautifier/Batch/Output/FilesTar.php Beautifier/StreamWrapper/Tarz.php
 EXAMPLES=	run_me.php example_main.php example_pear.php example_array.php \
 		example_comments.php example_html.php
 TESTS=		Beautifier.phpt Beautifier_Common.phpt Beautifier_Bugs.phpt \
 		Beautifier_StreamWrapper.phpt
-DATA=		licenses/apache.txt licenses/bsd.txt licenses/lgpl.txt \
-		licenses/php.txt
-_DATADIR=	.
+DATA=		apache.txt bsd.txt lgpl.txt php.txt pear.txt
+_DATADIR=	licenses
 SCRIPTFILES=	php_beautifier
 
-.include <bsd.port.pre.mk>
-
-post-patch:
+post-extract:
 	@${SED} 's|"@php_bin@"|@php_bin@|g' \
 		${WRKSRC}/scripts/${SCRIPTFILES} > ${WRKSRC}/pear-${SCRIPTFILES}
 
+post-patch:
+. for file in ${FILES}
+	@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|g" ${WRKSRC}/${file}
+. endfor
+
+.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 .include <bsd.port.post.mk>
diff -ruN pear-PHP_Beautifier.orig/distinfo pear-PHP_Beautifier/distinfo
--- pear-PHP_Beautifier.orig/distinfo	Fri Feb  4 14:54:28 2005
+++ pear-PHP_Beautifier/distinfo	Wed Feb  9 14:40:03 2005
@@ -1,2 +1,2 @@
-MD5 (PEAR/PHP_Beautifier-0.1.1.tgz) = 31220332edc919bff09cb92914c5e417
-SIZE (PEAR/PHP_Beautifier-0.1.1.tgz) = 38393
+MD5 (PEAR/PHP_Beautifier-0.1.2.tgz) = 5a1651dfef74eb3b74e6d2dc5aa064d1
+SIZE (PEAR/PHP_Beautifier-0.1.2.tgz) = 40424
>Release-Note:
>Audit-Trail:
>Unformatted:



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