[收藏] FreeBSD ports中make可带有的参数

news/2024/7/1 22:21:20

出自: http://blog.yarshure.com/archives/000072.html

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





http://www.niftyadmin.cn/n/3652958.html

相关文章

今天终于知道了什么是X-window中字体hinting的含义了!

字型描繪演算法往往相當複雜,因為他必須去決定哪一個字元組基於在.ttf檔內的演算法去使其顯眼。當你把字型大小決定在60~80的時候,這種字元演算法的一個或兩個位元”忘了”去放亮看起來是不會有太大差別,但如果你的字型大小在8到11位元組的時…

单链表反转的三种方法

Talk is cheap, show your code! struct Node { int data; Node* m_pNext; Node(int d):data(d){m_pNext NULL;} }; 1. 从前遍历到尾,依次反转指针的指向,原来的头指针的下一结点设置为空,原来的尾结点变成头结点返回。 Node* Reverse(Nod…

使用libevent编写Linux服务

本文转自:http://blog.chinaunix.net/uid-25885064-id-3399488.html 我在此代表广大网友对原作者表示感谢。 -------------------下面是正文--------------------------- 一、初始化事件 首先完成对libenvent的事件初始化和事件驱动模型的选择。在使用多线程的情…

[收藏] Linux中系统服务/守护进程 (daemon) 的详细说明

.mytd {font:Verdana; font-size:9pt;}acpidacpid(Advanced Configuration and Power Interface)是为替代传统的APM电源管理标准而推出的新型电源管理标准。通常笔记本电脑需要启动电源进行管理。alsasoundAlsa声卡驱动守护程序。Alsa声卡驱动程序本来是…

用Google的gflags优雅的解析命令行参数

写了这么多年的Linux下C/C代码,一直使用getopt_long来解析命令行参数,同时定义一个全局的struct来保存各个命令行参数的值。虽然用得比较“繁琐”,但也安于现状。最近突然发现了Google早在多年前就开源了一个解析命令行参数的“神器”gflags。…

Apache的ANT Project的主页访问的时候总是出现问题,还是把它的镜像站点记下来的好!

输入http://ant.apache.org,99.99999...%会看到下面这个东西,郁闷ing... - -|||原本的官方下载地址:http://ant.apache.org/bindownload.cgi,也不是100%能够正常访问!还是用下面几个镜像网站吧,也是官方推荐…

打造Windows环境中的VI编辑器环境!

有句话说得好:曲不离口,拳不离手!!! 要想用好VI,还是从平时积累开始吧!可是在公司上班,在家里的时候,大部分还是在Windows平台上,得找些对应的工具...去了趟 …