The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации / Документация по FreeBSD / Руководства по FreeBSD на английском

4.7 Specifying the working directory

Each port is extracted in to a working directory, which must be writeable. The ports system assumes that the DISTFILES unpack in to a directory called ${DISTNAME}. In other words, if you have set:

    PORTNAME=      foo
    PORTVERSION=   1.0

then the port's distribution files contain a top-level directory, foo-1.0, and the rest of the files are located under that directory.

There are a number of variables you can set if that is not the case.

4.7.1 WRKSRC

The variable lists the name of the directory that is created when the application's distfiles are extracted. If our previous example extracted into a directory called foo (and not foo-1.0) you would write:

    WRKSRC=      foo

or possibly

    WRKSRC=      ${PORTNAME}

4.7.2 NO_WRKSUBDIR

If the port does not extract in to a subdirectory at all then you should set NO_WRKSUBDIR to indicate that.

    NO_WRKSUBDIR= yes
For questions about the FreeBSD ports system, e-mail <[email protected]>.
For questions about this documentation, e-mail <[email protected]>.


Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру