From owner-svn-ports-head@freebsd.org Sat Feb 25 14:26:41 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D30B0CED4C4; Sat, 25 Feb 2017 14:26:41 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92B22951; Sat, 25 Feb 2017 14:26:41 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1PEQe3G080513; Sat, 25 Feb 2017 14:26:40 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1PEQecm080510; Sat, 25 Feb 2017 14:26:40 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201702251426.v1PEQecm080510@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 25 Feb 2017 14:26:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434812 - in head/devel/beautifyphp: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 14:26:41 -0000 Author: amdmi3 Date: Sat Feb 25 14:26:40 2017 New Revision: 434812 URL: https://svnweb.freebsd.org/changeset/ports/434812 Log: - Add LICENSE - Fix shebangs - Add NO_ARCH - Regenerate patches - Fix pkg-descr Modified: head/devel/beautifyphp/Makefile head/devel/beautifyphp/files/patch-beautify_php head/devel/beautifyphp/pkg-descr Modified: head/devel/beautifyphp/Makefile ============================================================================== --- head/devel/beautifyphp/Makefile Sat Feb 25 14:10:08 2017 (r434811) +++ head/devel/beautifyphp/Makefile Sat Feb 25 14:26:40 2017 (r434812) @@ -3,6 +3,7 @@ PORTNAME= beautifyphp PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= devel www pear MASTER_SITES= SF DISTNAME= beautify_php_${PORTVERSION} @@ -10,17 +11,23 @@ DISTNAME= beautify_php_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= PEAR beautifier for PHP4 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE + RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear +USES= shebangfix +SHEBANG_FILES= beautify_php NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME} -PLIST_FILES= bin/beautify_php share/${PORTNAME}/beautify_php.php \ +PLIST_FILES= bin/beautify_php \ + share/${PORTNAME}/beautify_php.php \ share/pear/beautify_php.class.inc post-patch: - @${REINPLACE_CMD} 's,/usr/bin/php,${LOCALBASE}/bin/php,g' ${WRKSRC}/beautify_php - @${FIND} ${WRKSRC} -name "*.bak" -or -name "*.orig" -delete + @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/beautify_php do-install: ${INSTALL_SCRIPT} ${WRKSRC}/beautify_php ${STAGEDIR}${PREFIX}/bin Modified: head/devel/beautifyphp/files/patch-beautify_php ============================================================================== --- head/devel/beautifyphp/files/patch-beautify_php Sat Feb 25 14:10:08 2017 (r434811) +++ head/devel/beautifyphp/files/patch-beautify_php Sat Feb 25 14:26:40 2017 (r434812) @@ -1,5 +1,5 @@ ---- beautify_php.orig Thu Aug 4 02:28:56 2005 -+++ beautify_php Thu Aug 4 02:29:09 2005 +--- beautify_php.orig 2003-05-07 19:56:23 UTC ++++ beautify_php @@ -3,6 +3,7 @@ /** * Console script to use Beautify PHP from the command line Modified: head/devel/beautifyphp/pkg-descr ============================================================================== --- head/devel/beautifyphp/pkg-descr Sat Feb 25 14:10:08 2017 (r434811) +++ head/devel/beautifyphp/pkg-descr Sat Feb 25 14:26:40 2017 (r434812) @@ -1,7 +1,5 @@ Beautify PHP -WWW: http://www.bierkandt.org/beautify/index.php -What it does: This program tries to reformat and beautify PHP source code files automatically. The program is Open Source and distributed under the terms of GNU GPL. It is written in PHP and has a web frontend. @@ -22,3 +20,5 @@ Basic features: be executed anymore, it is only useful for printout.) - turn off and on beautifying by inserting "// NO_BEAUTIFY" or "// BEAUTIFY" in source code + +WWW: http://www.bierkandt.org/beautify/index.php