Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 13:09:52 +0530
From:      "N. Raghavendra" <raghu@mri.ernet.in>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [RFC] NO_INSTALL in meta-ports considered harmful
Message-ID:  <86tz3sgkaf.fsf@riemann.mri.ernet.in>
In-Reply-To: <gu7gu2$gtl$1@ger.gmane.org> (Marcin Wisnicki's message of "Sun,  10 May 2009 21:28:34 %2B0000 (UTC)")
References:  <gu718o$v5l$1@ger.gmane.org> <4ad871310905101008n73d26145h3d81914925aab965@mail.gmail.com> <gu77mu$lmi$1@ger.gmane.org> <4ad871310905101222g63867982p6161ff0ddd1b6850@mail.gmail.com> <gu7gu2$gtl$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

Raghavendra.

-- 
N. Raghavendra <raghu@mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tz3sgkaf.fsf>