Date: Fri, 21 Feb 2014 15:27:03 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> 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 Message-ID: <201402211527.s1LFR3PK019303@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <filename>.sample</filename> - file. You need to handle this both in the port - <filename>Makefile</filename>, and in the - <filename>pkg-plist</filename> (for installation from the - package).</para> - - <para>Example of the <filename>Makefile</filename> part:</para> - - <programlisting>post-install: - @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ - ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ - fi</programlisting> + file. You need to handle this in the + <filename>pkg-plist</filename>.</para> <para>For each configuration file, create the following three lines in <filename>pkg-plist</filename>:</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402211527.s1LFR3PK019303>