make install a port, but with a package?

Heino Tiedemann rotkaps_spam_trap at gmx.de
Tue Jul 31 06:56:59 UTC 2007


Kris Kennaway <kris at obsecurity.org> wrote:

> On Tue, Jul 31, 2007 at 08:32:58AM +0200, Heino Tiedemann wrote:
>> Manolis Kiagias <sonicy at otenet.gr> wrote:
>> 
>> > Make install will always compile from source. You could however use:
>> >
>> > setenv PACKAGESITE 
>> > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/
>> >
>> > or
>> >
>> > export
>> > PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/  
>> > (if you use bash)
>> >
>> > and then do pkg_add, will get you latest packages build from the -STABLE
>> > ports. You don't even have to worry about specific version numbers (i.e.
>> > pkg_add -r bash instead of pkg_add -r bash-3.2.17_1) so this is a close
>> > to a "port tree simulation" as possible. The package may still be
>> > lagging a few versions behind the port however (or in some cases may not
>> > even exist).
>> 
>> What about the variable PKG_SITES?
>> 
>> Once I found (in sime wiki or howto) this entry:
>> 
>> 
>> export
>> PACKAGESITE=ftp://ftp7.de.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/
>> export PKG_SITES=ftp://ftp7.de.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/
>> 
>> 
>> what about that variable PKG_SITES? what is it for?
>
> See pkg_add(1)

PACKAGESITE ist explanied in that manpage, PKG_SITES not.

Heino




More information about the freebsd-ports mailing list