From owner-freebsd-ports Thu Apr 13 17:29:37 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id D73A037BDF8 for ; Thu, 13 Apr 2000 17:29:34 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.9.3/8.9.3) with SMTP id TAA00126; Thu, 13 Apr 2000 19:29:27 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <007501bfa5a8$7e58c9a0$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: "James B. Wilkinson" Cc: References: Subject: Re: Making a package from a port Date: Thu, 13 Apr 2000 19:29:27 -0500 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.3825.400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: "James B. Wilkinson" > >You hit the nail on the head. "make package" is using the PLIST to > >determine what goes in that package. You're going to need to edit the > >PLIST, then make your package. You'll only have to do this once, of course, > >not on each machine. > > A question for the ports list: > > Would it be a good idea if the port facility were able to accommodate > lines in the PLIST that were equivalent to > > #if (WITH_TK? == yes) include PLIST.tk > > and then put the names of all the tk-specific files in PLIST.tk? > That would make it a lot easier on people who are building > packages from ports with a different configuration. It seems clear > that the ports are designed to be built that way if one wants to. > > Might make maintenance of a port easier, too? > There are three ways to include/exclude a file from a PLIST. 1. Using a grep command to remove the entry from the PLIST (see www/apache13-fp) 2. Using an echo command to add a file to a PLIST (see mail/cyrus) 3. Use a different PLIST depending on if a variable is defined or a specific condition (i.e. PLIST, PLIST.notk) (see x11-clocks/emiclock). Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message