From owner-freebsd-ports@FreeBSD.ORG Sun May 10 21:28:49 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 1BFD4106566C for ; Sun, 10 May 2009 21:28:49 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C886E8FC21 for ; Sun, 10 May 2009 21:28:48 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M3GZh-0001TE-P2 for freebsd-ports@freebsd.org; Sun, 10 May 2009 21:28:46 +0000 Received: from static-78-8-147-77.ssp.dialog.net.pl ([78.8.147.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 May 2009 21:28:45 +0000 Received: from mwisnicki+freebsd by static-78-8-147-77.ssp.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 May 2009 21:28:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Marcin Wisnicki Date: Sun, 10 May 2009 21:28:34 +0000 (UTC) Lines: 30 Message-ID: References: <4ad871310905101008n73d26145h3d81914925aab965@mail.gmail.com> <4ad871310905101222g63867982p6161ff0ddd1b6850@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: static-78-8-147-77.ssp.dialog.net.pl User-Agent: Pan/0.132 (Waxed in Black) Sender: news Subject: Re: [RFC] NO_INSTALL in meta-ports considered harmful X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2009 21:28:49 -0000 On Sun, 10 May 2009 15:22:04 -0400, Glen Barber wrote: > On Sun, May 10, 2009 at 2:51 PM, Marcin Wisnicki > wrote: >> They will be installed since they are run dependencies. >> >>From what I can tell (from several metaports) -- they, themselves, are > not installed. The ports defined in the metaport are installed. That's the point. The metaports should be installed as well (reasons given in my original mail). > There is no source code for, using your example, CUPS[1]. CUPS (in the > FreeBSD ports tree) is, for lack of a better explanation, a pointer to > which specific ports you need to have in order to get a fully operation > CUPS system running. Looking at the Makefile for print/cups [2] you can > see the dependencies and that CUPS is not actually built (which in > definition is what makes this a metaport). I know this. The proper way to make a metaport is to: 1. use only RUN_DEPENDS 2. set NO_BUILD 3. do *NOT* set NO_INSTALL 4. provide empty do-install target There are several metaports that get it right, like for example x11/gnome2: http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/gnome2/Makefile?rev=1.155