From owner-freebsd-ports@FreeBSD.ORG Mon May 11 08:14:58 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 DC830106566B for ; Mon, 11 May 2009 08:14:58 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from hrimail.hri.res.in (hrimail.hri.res.in [210.212.50.7]) by mx1.freebsd.org (Postfix) with ESMTP id 002648FC17 for ; Mon, 11 May 2009 08:14:57 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from ipc2.mri.ernet.in (unknown [192.168.3.2]) by hrimail.hri.res.in (Postfix) with ESMTP id 38C9697E4A; Mon, 11 May 2009 13:24:29 +0530 (IST) Received: from riemann.mri.ernet.in (riemann.mri.ernet.in [192.168.3.122]) by ipc2.mri.ernet.in (Postfix) with ESMTP id E979C76254; Mon, 11 May 2009 13:12:05 +0530 (IST) Received: from riemann.mri.ernet.in (localhost [127.0.0.1]) by riemann.mri.ernet.in (8.13.6/8.13.6) with ESMTP id n4B7dux1094391; Mon, 11 May 2009 13:09:56 +0530 (IST) (envelope-from raghu@riemann.mri.ernet.in) Received: (from raghu@localhost) by riemann.mri.ernet.in (8.13.6/8.13.6/Submit) id n4B7dqYv094390; Mon, 11 May 2009 13:09:52 +0530 (IST) (envelope-from raghu) From: "N. Raghavendra" To: Marcin Wisnicki In-Reply-To: (Marcin Wisnicki's message of "Sun, 10 May 2009 21:28:34 +0000 (UTC)") References: <4ad871310905101008n73d26145h3d81914925aab965@mail.gmail.com> <4ad871310905101222g63867982p6161ff0ddd1b6850@mail.gmail.com> X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ and http://www.retrotexts.net/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ Date: Mon, 11 May 2009 13:09:52 +0530 Message-ID: <86tz3sgkaf.fsf@riemann.mri.ernet.in> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: [RFC] NO_INSTALL in meta-ports considered harmful X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "N. Raghavendra" List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2009 08:14:59 -0000 At 2009-05-10T21:28:34Z, Marcin Wisnicki wrote: > 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 In my personal metaports, I follow exactly the above prescription. For example, I have a port opt/metalisp with the following Makefile fragment: RUN_DEPENDS= \ ${OPTBASE}/share/lisp/asdf/alexandria.asd:${PORTSDIR}/opt/alexandria \ ${OPTBASE}/share/doc/cltl/cltl2.html:${PORTSDIR}/opt/cltl \ ${OPTBASE}/share/lisp/asdf/trivial-gray-streams.asd:${PORTSDIR}/opt/tgstreams NO_BUILD= yes do-install: @${DO_NADA} .include Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.