From owner-svn-doc-all@FreeBSD.ORG Fri Feb 21 15:27:03 2014 Return-Path: Delivered-To: svn-doc-all@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 B6F4ED60; Fri, 21 Feb 2014 15:27:03 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A17541A51; Fri, 21 Feb 2014 15:27:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1LFR3Kj019304; Fri, 21 Feb 2014 15:27:03 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1LFR3PK019303; Fri, 21 Feb 2014 15:27:03 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201402211527.s1LFR3PK019303@svn.freebsd.org> From: Mathieu Arnold Date: Fri, 21 Feb 2014 15:27:03 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44015 - head/en_US.ISO8859-1/books/porters-handbook/plist X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2014 15:27:03 -0000 Author: mat (ports committer) Date: Fri Feb 21 15:27:03 2014 New Revision: 44015 URL: http://svnweb.freebsd.org/changeset/doc/44015 Log: Remove some obsolete bits. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Fri Feb 21 15:23:53 2014 (r44014) +++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Fri Feb 21 15:27:03 2014 (r44015) @@ -173,17 +173,8 @@ lib/X11/oneko/sounds/cat.au sample file to the real configuration file name, if it does not already exist. On deinstall delete the configuration file, but only if it is identical to the .sample - file. You need to handle this both in the port - Makefile, and in the - pkg-plist (for installation from the - package). - - Example of the Makefile part: - - post-install: - @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ - ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ - fi + file. You need to handle this in the + pkg-plist. For each configuration file, create the following three lines in pkg-plist: