From owner-svn-doc-head@FreeBSD.ORG Tue Sep 23 14:43:15 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B50DC95; Tue, 23 Sep 2014 14:43:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 35FE187C; Tue, 23 Sep 2014 14:43:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8NEhF5h024269; Tue, 23 Sep 2014 14:43:15 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8NEhEoo024267; Tue, 23 Sep 2014 14:43:14 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201409231443.s8NEhEoo024267@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 23 Sep 2014 14:43:14 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r45661 - in head/en_US.ISO8859-1/books/porters-handbook: special uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 14:43:15 -0000 Author: mat (ports committer) Date: Tue Sep 23 14:43:14 2014 New Revision: 45661 URL: http://svnweb.freebsd.org/changeset/doc/45661 Log: Document USES=pear. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Sep 23 14:42:34 2014 (r45660) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Sep 23 14:43:14 2014 (r45661) @@ -2655,18 +2655,11 @@ do-install: Porting PEAR modules is a very simple process. - Use the variables FILES, - TESTS, DATA, - SQLS, SCRIPTFILES, - DOCS and EXAMPLES to - list the files to install. All listed files will - be automatically installed into the appropriate locations - and added to pkg-plist. - - Include - ${PORTSDIR}/devel/pear/bsd.pear.mk - on the last line of the - Makefile. + Add USES=pear to the port's + Makefile. The framework will then + automatically install the relevant files at the right place, + it will also automatically generate the plist at install + time. Example Makefile for PEAR Class @@ -2678,23 +2671,9 @@ CATEGORIES= devel www pear MAINTAINER= example@domain.com COMMENT= PEAR Date and Time Zone Classes -BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR -RUN_DEPENDS:= ${BUILD_DEPENDS} +USES= pear -FILES= Date.php Date/Calc.php Date/Human.php Date/Span.php \ - Date/TimeZone.php -TESTS= test_calc.php test_date_methods_span.php testunit.php \ - testunit_date.php testunit_date_span.php wknotest.txt \ - bug674.php bug727_1.php bug727_2.php bug727_3.php \ - bug727_4.php bug967.php weeksinmonth_4_monday.txt \ - weeksinmonth_4_sunday.txt weeksinmonth_rdm_monday.txt \ - weeksinmonth_rdm_sunday.txt -DOCS= TODO -_DOCSDIR= . - -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/devel/pear/bsd.pear.mk" -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Tue Sep 23 14:42:34 2014 (r45660) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Tue Sep 23 14:43:14 2014 (r45661) @@ -810,6 +810,19 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssa Makefile.am if needed. + + pear + + (none) + + Adds a dependency on devel/pear. It will setup default + behavior for software using the + PHP Extension and Application + Repository. See for more + informations. + + perl5