Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2007 13:07:08 +1000
From:      freebsd-questions@auscert.org.au
To:        freebsd-questions@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   make install a port, but with a package?
Message-ID:  <200707310307.l6V378Ca028454@app.auscert.org.au>

next in thread | raw e-mail | index | archive | help
Hi,

I have a bad feeling that this has been asked already, and not that long
ago, but I can't find it in my mailbox. Is there a variable I can set so
that running 'make install' in a port directory will cause it to download
the package, if available, and install that instead of building from
source?  In other words, the equivalent of 'portupgrade -NPP'. I have
looked at the .mk files and nothing in there seems to do that.

This is for the situation where portupgrade isn't installed yet, and I'd
like to install it quickly from packages so I don't have to wait for Ruby
to build. Sure, I could do it with pkg_add or sysinstall but it would be
neat to be able to do everything from the ports tree.

thanks,
joel



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