[RFC] NO_INSTALL in meta-ports considered harmful
N. Raghavendra
raghu at mri.ernet.in
Mon May 11 08:14:59 UTC 2009
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 at mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.
More information about the freebsd-ports
mailing list