distfiles download

Scot Hetzel swhetzel at gmail.com
Tue Oct 4 08:38:58 PDT 2005


On 10/4/05, Scot Hetzel <swhetzel at gmail.com> wrote:
> Save the attached patch to a disk that you can access from FreeBSD,
> then do the following to apply it:
>
> cd /usr/ports
> gunzip /location/of/patch/bsd_mk.diff.gz
> patch < /location/of/patch/bsd_mk.diff
>
> This adds a patch to /usr/ports/Mk/bsd.port.mk and creates a new file
> called bsd.getright.mk.  The bsd.getright.mk adds two new targets:
>
I just noticed that I had hard coded the save directory that GetRight
will save the file to (E:\distfiles), in the bsd.getright.mk file. 
This will need to be replaced with the location that you want GetRight
to use to save the distfiles to.

Since some files are in sub-directories, the list created by the
bsd.getright.mk targets include this information.  This will then
cause GetRight to create these sub-directories, before saving the
files.

After you have the files downloaded by GetRight, you have two choices
on how to handle the distfiles on the DOS partition under FreeBSD.

1. Move the files to /usr/ports/distfiles (make sure you keep the
files in the sub-directories in their sub-directories in
/usr/ports/distfiles).
2. Mount the DOS partition on /usr/ports/distfiles.  This requires a
dedicated DOS partition for the distfiles, and to change
"E:\\distfiles" to the drive letter of the dedicated DOS partiton
(i.e. "E:\\").

NOTE: If you replace "E:\\distfiles" in bsd.getright.mk, the double
slashes are required.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list