make install a port, but with a package?



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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • port behaves strangely: looks pkg_delete could not remove a package?
    ... Yesterday I tried to use portupgrade to upgrade my KDE from 2.1.4 ... I removed both package and I'm working on pkgdb -F. ... Here is the error message and description of first openldap failure I ... openldap-client-2.1.x.x before it tries to install 2.2. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: New to stable!
    ... > or should I do it through package from releg4.freebsd.org?? ... Next, use portupgrade to install and update you packages, eg. ... enables you to do detailed ports configuration and leave make.conf for ...
    (freebsd-stable)
  • Re: a binary package update
    ... using package-2.0.tbz package file. ... - databases/postgresql83-server (port directory error) ... If you want to use portupgrade - yes, ... to install. ...
    (freebsd-questions)
  • Re: portupgrade question
    ... Install a new port/package when a specified package is not ... Since the dependant package *is* installed. ... portupgrade -N, everything that kdeadmin requires will be upgraded i.e. ...
    (freebsd-questions)
  • RE: Building Packages - Links to Tutorials?
    ... you can do make package, this should in my opinion make the package ... you can install everywhere you wish. ... >>familiar with using portupgrade to build and install ports. ... To unsubscribe, ...
    (freebsd-questions)