- 论坛徽章:
- 54
|
这个是准确的:
man ports
package Make a binary package for the port. The port will be
installed if it has not already been. The package is a
.tbz file that you can use to install the port on other
machines with pkg_add(1). If the directory specified by
PACKAGES does not exist, the package will be put into
the current directory. See PKGREPOSITORY and PKGFILE.
ENVIRONMENT
You can change all of these.
PORTSDIR Location of the ports tree. This is /usr/ports on FreeBSD
and OpenBSD, and /usr/pkgsrc on NetBSD.
WRKDIRPREFIX Where to create any temporary files. Useful if PORTSDIR is
read-only (perhaps mounted from a CD-ROM).
DISTDIR Where to find/put distfiles, normally distfiles/ in
PORTSDIR.
PACKAGES Used only for the package target; the base directory for
the packages tree, normally packages/ in PORTSDIR. If this
directory exists, the package tree will be (partially) con-
structed. This directory does not have to exist; if it
does not, packages will be placed into the current direc-
tory, or you can define one of
PKGREPOSITORY Directory to put the package in.
PKGFILE The full path to the package.
[ 本帖最后由 lsstarboy 于 2010-1-7 10:34 编辑 ] |
|