svn commit: r318021 - head/devel/pear-PHP_Beautifier
Martin Wilke
miwi at FreeBSD.org
Mon May 13 09:07:50 UTC 2013
Author: miwi
Date: Mon May 13 09:07:49 2013
New Revision: 318021
URL: http://svnweb.freebsd.org/changeset/ports/318021
Log:
- Convert to PEAR_AUTOINSTALL
- Trim header
Modified:
head/devel/pear-PHP_Beautifier/Makefile (contents, props changed)
Modified: head/devel/pear-PHP_Beautifier/Makefile
==============================================================================
--- head/devel/pear-PHP_Beautifier/Makefile Mon May 13 09:06:43 2013 (r318020)
+++ head/devel/pear-PHP_Beautifier/Makefile Mon May 13 09:07:49 2013 (r318021)
@@ -1,64 +1,20 @@
-# Ports collection makefile for: pear-PHP_Beautifier
-# Date created: 13 January 2005
-# Whom: Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
-#
+# Created by: Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
# $FreeBSD$
-#
PORTNAME= PHP_Beautifier
PORTVERSION= 0.1.15
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR beautifier for PHP
BUILD_DEPENDS= ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
USE_PHP= tokenizer bz2
-
+PEAR_AUTOINSTALL= yes
DEFAULT_PHP_VER=5
-IGNORE_WITH_PHP=4
-
-CATEGORY= 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/IndentStyles.filter.php \
- Beautifier/Filter/ListClassFunction.filter.php \
- Beautifier/Filter/Lowercase.filter.php \
- Beautifier/Filter/Pear.filter.php \
- Beautifier/Filter/phpBB.filter.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
-EXAMPLES= run_me.php example_main.php example_pear.php example_array.php \
- example_comments.php example_html.php \
- example_lowercase.php
-DATA= apache.txt bsd.txt lgpl.txt php.txt pear.txt
-_DATADIR= licenses
-SCRIPTFILES= php_beautifier
-
-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
-. for file in ${TESTS}
- @${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|g" ${WRKSRC}/tests/${file}
-. endfor
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
More information about the svn-ports-head
mailing list