aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-PHP_Beautifier
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-10 07:44:06 +0800
committerpav <pav@FreeBSD.org>2005-02-10 07:44:06 +0800
commit28c063d89d2e5de880dd8d97157bb5a3b0a0785e (patch)
tree8966a17de6c202488baea50424b4cc85af4fc4bf /devel/pear-PHP_Beautifier
parent20cdfaf36d30dbeddd23de32164ec0815fd43c0d (diff)
downloadfreebsd-ports-gnome-28c063d89d2e5de880dd8d97157bb5a3b0a0785e.tar.gz
freebsd-ports-gnome-28c063d89d2e5de880dd8d97157bb5a3b0a0785e.tar.zst
freebsd-ports-gnome-28c063d89d2e5de880dd8d97157bb5a3b0a0785e.zip
- Update to 0.1.2
PR: ports/77313 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net> (maintainer)
Diffstat (limited to 'devel/pear-PHP_Beautifier')
-rw-r--r--devel/pear-PHP_Beautifier/Makefile35
-rw-r--r--devel/pear-PHP_Beautifier/distinfo4
2 files changed, 19 insertions, 20 deletions
diff --git a/devel/pear-PHP_Beautifier/Makefile b/devel/pear-PHP_Beautifier/Makefile
index 86d0799a6241..9a1101c81b9b 100644
--- a/devel/pear-PHP_Beautifier/Makefile
+++ b/devel/pear-PHP_Beautifier/Makefile
@@ -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 @@ COMMENT= PEAR beautifier for PHP
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 --git a/devel/pear-PHP_Beautifier/distinfo b/devel/pear-PHP_Beautifier/distinfo
index bc5e913bda79..32eb71e9e6aa 100644
--- a/devel/pear-PHP_Beautifier/distinfo
+++ b/devel/pear-PHP_Beautifier/distinfo
@@ -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