FreeBSD ports中make可带有的参数(转)

简介:
一直以来大家不知道在ports中的make还可以有很多的功能,今天我将它可以带有的参数一个个列出来。
希望做为一个记录,还是比较有用的哟。

fetch 
  - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) into ${DISTDIR} 
    as necessary.
fetch-list 
  - Show list of files that would be retrieved by fetch.
fetch-recursive
  - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and
    dependencies into ${DISTDIR} as necessary.
fetch-recursive-list 
  - Show list of files that would be retrieved by fetch-recursive.
fetch-required-list 
  - Show list of files that would be retrieved by fetch-required.
fetch-required 
  - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and
    dependencies that are not already installed into ${DISTDIR}.
all-depends-list 
  - Show all directories which are dependencies for this port.
build-depends-list 
  - Show all directories which are build-dependencies for this port.
package-depends-list 
  - Show all directories which are package-dependencies for this port.
run-depends-list 
  - Show all directories which are run-dependencies for this port.
extract 
  - Unpacks ${DISTFILES} into ${WRKDIR}.
patch 
  - Apply any provided patches to the source.
configure 
  - Runs either GNU configure, one or more local configure scripts or 
    nothing, depending on what's available.
build 
  - Actually compile the sources.
install 
  - Install the results of a build.
reinstall 
  - Install the results of a build, ignoring "already installed" flag.
deinstall 
  - Remove the installation.
deinstall-all 
  - Remove all installations with the same PKGORIGIN.
package 
  - Create a package from an _installed_ port.
package-recursive 
  - Create a package for a port and _all_ of its dependancies.
describe 
  - Try to generate a one-line description for each port for use in INDEX 
    files and the like.
checkpatch 
  - Do a "patch -C" instead of a "patch". Note that it may give incorrect 
    results if multiple patches deal with the same file.
checksum 
  - Use distinfo to ensure that your distfiles are valid.
checksum-recursive 
  - Run checksum in this port and all dependencies.
makesum 
  - Generate distinfo (only do this for your own ports!).
clean 
  - Remove ${WRKDIR} and other temporary files used for building.
clean-depends 
  - Do a "make clean" for all dependencies.
config 
  - Configure options for this port (using ${DIALOG}). Automatically run 
    prior to extract, patch, configure, build, install, and package.
showconfig 
  - Display options config for this port
rmconfig
  - Remove the options config for this port
--------------------- 
作者:风中飘扬的柳絮 
来源:CSDN 
原文:https://blog.csdn.net/xport/article/details/498287 
版权声明:本文为博主原创文章,转载请附上博文链接!
目录
相关文章
|
Unix
FreeBSd ports 安装软件
1、ports的目录在/usr/ports2、POSTS安装软件有时可能这个包已经安装过了,会有提示,无法 继续安装。能够用提示中的参数:#make install clean FORCE_PKG_REGISTER=yes这样就能够继续安装了,yes不区分大小写。
1130 0
|
Web App开发 Unix Shell
FreeBSD 的 Ports 系统
分享下Freebsd的ports系统 什么是 Ports 系统 简单的讲,一个 port 就是一个被移植到了 FreeBSD 上的软件。所有这些软件的集合,加上 FreeBSD 处理这些软件的各种工具,就是 Ports 系统。
1382 0
|
Unix
使用proz来加速你的Freebsd ports安装
安装 CODE: #cd /usr/ports/ftp/prozilla#make install clean CODE: FETCH_CMD=/usr/local/bin/proz -s ...
759 0
|
7月前
|
Unix Linux
Linux/FreeBSD 安装
在Linux/FreeBSD上安装Julia 1.7.2的步骤:从[官方](https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.2-linux-x86_64.tar.gz)或[Tsinghua镜像](https://mirrors.tuna.tsinghua.edu.cn/julia-releases/bin/linux/x86/1.7/julia-1.7.2-linux-i686.tar.gz)下载二进制包,然后使用`tar`解压。