From owner-freebsd-ports@FreeBSD.ORG Mon Mar 2 14:02:35 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D1EF1065680 for ; Mon, 2 Mar 2009 14:02:35 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp110.prem.mail.ac4.yahoo.com (smtp110.prem.mail.ac4.yahoo.com [76.13.13.93]) by mx1.freebsd.org (Postfix) with SMTP id 98B0A8FC2A for ; Mon, 2 Mar 2009 14:02:34 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 46533 invoked from network); 2 Mar 2009 14:02:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=pScELkv6X5bYKamx/996+HKMiidaC1fSDfjLcXLm8HRm7pjQTzPEFB4AEqKtI9S+CMMOrSdQb2phmRG9zwtC9bqLMxESjEAUdmtO4M2VgJw3bViWXEeqYKpSivhhysDZVc4CDJ34x6mhG2hKXG2UPNPLhELyq93bR5jRlQizcO8= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp110.prem.mail.ac4.yahoo.com with SMTP; 2 Mar 2009 14:02:33 -0000 X-YMail-OSG: KfTjP2sVM1nMnugHp5dRtTVkjvJ9tTWBUABiQWNaaS1tG.GfId.9a7B5x00R.X0tAngVltaAQn2ONbNjBPc9iZAZ5gqh_EeDtfAv6BWhtt00Xo5xZjOuzI_pely0g13ElMRgduZuDtRrVT73pvx0g6qyveURvsc9p9qZ9ZG5KCh3c3livYgYfWcIQ9b4T4dGGpppNZWP_dks6ANMKrIOm2ASbTXH X-Yahoo-Newman-Property: ymail-3 Date: Mon, 2 Mar 2009 09:02:21 -0500 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20090302090221.7948106f@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/lNH0ueUZBSum+Z_5P7.yuwz"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Installing 'config' file with port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 14:02:35 -0000 --Sig_/lNH0ueUZBSum+Z_5P7.yuwz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I know that is is probably obviously; however, I still can not get it to work. This is the first time I have tried to do this, so bear with me. I am creating a port that will install a 'config' file in the "/usr/local/etc" directory. Reading through the 'Porters Handbook", I cam across this example. post-install: @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ;= \ fi First, when I write the 'config' file, do I place it under the ports 'files' directory and give it a ".in". Second, what do I have to do to get the file installed in the config directory? The program does not come with a config file by default. If that should change, how would I go about using it instead of the one I created? --=20 Jerry gesbbb@yahoo.com Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record. --Sig_/lNH0ueUZBSum+Z_5P7.yuwz Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmr5vcACgkQBvaKIJWWCO0+HQCeKqanuCSGHytmmIhvly24sq8K 4GEAn1nh62v2WOju43dcB45jVtDiXdO9 =xugR -----END PGP SIGNATURE----- --Sig_/lNH0ueUZBSum+Z_5P7.yuwz--