{"version":1,"pages":[{"id":"wz5xXIC782NYQrIkMUdP","title":"FreeBSD Port 开发者手册翻译项目","pathname":"/","siteSpaceId":"sitesp_0opGH","description":""},{"id":"1zqD4MTvkno913ys9z43","title":"编辑日志","pathname":"/bian-ji-ri-zhi","siteSpaceId":"sitesp_0opGH","description":""},{"id":"BWMY6QGfbnYPdl66hhnX","title":"译者说明","pathname":"/yi-zhe-shuo-ming","siteSpaceId":"sitesp_0opGH","description":""},{"id":"rF9gzx2rc247oVI222DU","title":"FreeBSD Port 开发者手册","pathname":"/freebsd-kai-fa-zhe-shou-ce","siteSpaceId":"sitesp_0opGH","description":""},{"id":"nWxw3Jn17fYfkI4mAiyP","title":"目录","pathname":"/mu-lu","siteSpaceId":"sitesp_0opGH","description":""},{"id":"0srd2gjAb2QqqfMv99R8","title":"1.1.简介","pathname":"/di-1-zhang-jian-jie/di-1-zhang-jian-jie","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 1 章 简介"}]},{"id":"i2GR8tOcb4rwotRL4lCD","title":"2.1.制作新的 port","pathname":"/di-2-zhang-zhi-zuo-xin-de-port/di-2-zhang-zhi-zuo-xin-de-port","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 2 章 制作新的 port"}]},{"id":"obYhabdxhP4WuMbDzKzW","title":"3.1.编写 Makefile","pathname":"/di-3-zhang-jian-dan-de-port/3.1.-bian-xie-makefile","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 3 章 简单的 port"}]},{"id":"dlIklAYa9FyeY1eKCfh2","title":"3.2.编写描述文件","pathname":"/di-3-zhang-jian-dan-de-port/3.2.-bian-xie-miao-shu-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 3 章 简单的 port"}]},{"id":"xbtLjJ6gK8koCkMw1GJ2","title":"3.3.创建校验和文件","pathname":"/di-3-zhang-jian-dan-de-port/3.3.-chuang-jian-xiao-yan-he-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 3 章 简单的 port"}]},{"id":"N9xkbbeY80r6RmCBgZwU","title":"3.4.测试 port","pathname":"/di-3-zhang-jian-dan-de-port/3.4.-ce-shi-port","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 3 章 简单的 port"}]},{"id":"UFdkah0gvwfJTJ0VBLJj","title":"3.5.用 portlint 来检查 port","pathname":"/di-3-zhang-jian-dan-de-port/3.5.-yong-portlint-lai-jian-cha-port","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 3 章 简单的 port"}]},{"id":"lSWyfc17wLACbrp8bUx4","title":"3.6.提交新的 port","pathname":"/di-3-zhang-jian-dan-de-port/3.6.-ti-jiao-xin-de-port","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 3 章 简单的 port"}]},{"id":"Kq4FVCWmFj4xYkYjvvOB","title":"4.1 Port 工作原理","pathname":"/di-4-zhang-fu-za-de-port/4.1.-ta-shi-zen-mo-yun-zuo-de","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 4 章 复杂的 Port"}]},{"id":"LNCLD3GFwnSpQYqbwqCI","title":"4.2.获取源代码","pathname":"/di-4-zhang-fu-za-de-port/4.2.-huo-qu-yuan-dai-ma","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 4 章 复杂的 Port"}]},{"id":"OOHUudzP9oxD5E0ID0Oq","title":"4.3.修改 port","pathname":"/di-4-zhang-fu-za-de-port/4.3.-xiu-gai-port","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 4 章 复杂的 Port"}]},{"id":"oHJCC6hoKb2a51yPzC7u","title":"4.4.打补丁","pathname":"/di-4-zhang-fu-za-de-port/4.4.-da-bu-ding","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 4 章 复杂的 Port"}]},{"id":"0KfddNKskKAkVOPBTW98","title":"4.5.配置","pathname":"/di-4-zhang-fu-za-de-port/4.5.-pei-zhi","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 4 章 复杂的 Port"}]},{"id":"H6tiYFcZULyKInpeWeWO","title":"4.6.处理用户输入","pathname":"/di-4-zhang-fu-za-de-port/4.6.-chu-li-yong-hu-shu-ru","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 4 章 复杂的 Port"}]},{"id":"5FJGXtYgK9xou4qPwvWG","title":"5.1.原始来源","pathname":"/di-5-zhang-pei-zhi-makefile/5.1.-zuo-zhe-fa-bu-de-dai-ma","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"3TFIPQkvxvuercFAAbo0","title":"5.2.命名","pathname":"/di-5-zhang-pei-zhi-makefile/5.2.-ming-ming","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"s22JepIF5awW8peQfQ4R","title":"5.3.归类","pathname":"/di-5-zhang-pei-zhi-makefile/5.3.-gui-lei","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"W85ibUSaUj76jHxylsuI","title":"5.4.源代码包文件","pathname":"/di-5-zhang-pei-zhi-makefile/5.4.-yuan-dai-ma-bao-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"tQyTTGkTHYaRCclvAppx","title":"5.5.维护者（MAINTAINER）","pathname":"/di-5-zhang-pei-zhi-makefile/5.5.-wei-hu-zhe-maintainer","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"JG26nF5Hjjw9RkbIZ1SF","title":"5.6.一句话说明（COMMENT）","pathname":"/di-5-zhang-pei-zhi-makefile/5.6.-yi-ju-hua-shuo-ming-comment","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"D89Mlw036OvD1DssA6qD","title":"5.7.项目网站","pathname":"/di-5-zhang-pei-zhi-makefile/5.7.-xiang-mu-wang-zhan","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"KvnNgW8kzL3f3yu54ZRX","title":"5.8.许可证","pathname":"/di-5-zhang-pei-zhi-makefile/5.8.-xu-ke-zheng","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"tDtJreQawxi0zntGaJ8O","title":"5.9.PORTSCOUT","pathname":"/di-5-zhang-pei-zhi-makefile/5.9.portscout","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"LG17MdGXRz23859caIUZ","title":"5.10.依赖","pathname":"/di-5-zhang-pei-zhi-makefile/5.10.-yi-lai","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"n1ow0jc5oNKNRQRGtLcz","title":"5.11.从属 port 和 MASTERDIR","pathname":"/di-5-zhang-pei-zhi-makefile/5.11.-cong-shu-port-he-masterdir","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"jTuDLWUWO1wPu6Y2iIkH","title":"5.12.man 手册","pathname":"/di-5-zhang-pei-zhi-makefile/5.12.man-shou-ce","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"sZRwvslxfiV4FPEpz2vd","title":"5.13.info 文件","pathname":"/di-5-zhang-pei-zhi-makefile/5.13.info-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"WXDOY033iQ6jg5kTyfyF","title":"5.14.Makefile 参数","pathname":"/di-5-zhang-pei-zhi-makefile/5.14.makefile-can-shu","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"QowKa97KffqPvcUvYub8","title":"5.15.特殊的工作目录","pathname":"/di-5-zhang-pei-zhi-makefile/5.15.-te-shu-de-gong-zuo-mu-lu","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"HphyJaW5Puvrou1qgJ33","title":"5.16.解决冲突","pathname":"/di-5-zhang-pei-zhi-makefile/5.16.-jie-jue-chong-tu","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"iVszl9S9NAvzeIj9YOwa","title":"5.17.安装文件","pathname":"/di-5-zhang-pei-zhi-makefile/5.17.-an-zhuang-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"28mCtG5Fyr1cO43w68AZ","title":"5.18. 使用 BINARY_ALIAS 来重命名命令，而不是在编译中打补丁","pathname":"/di-5-zhang-pei-zhi-makefile/5.18.-shi-yong-binaryalias-lai-zhong-ming-ming-ming-ling-er-bu-shi-zai-bian-yi-zhong-da-bu-ding","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 5 章 配置 Makefile"}]},{"id":"1nOxfZSVXufMWLOW3e1T","title":"第 6 章 特殊情况","pathname":"/di-6-zhang-te-shu-qing-kuang/di-liu-zhang","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 6 章 特殊情况"}]},{"id":"aSYC8rAJY3DJzXYaHdmn","title":"7.1.Flavors 简介","pathname":"/di-7-zhang-flavors/7.1.-flavors-jian-jie","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 7 章 Flavors"}]},{"id":"zwAWsdFkPKIeAsETMUqo","title":"7.2.使用 FLAVORS","pathname":"/di-7-zhang-flavors/7.2.-shi-yong-flavors","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 7 章 Flavors"}]},{"id":"iHpNIlMQSiiFA8uGxMKi","title":"7.3.USES=php 和 Flavors","pathname":"/di-7-zhang-flavors/7.3.usesphp-he-flavors","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 7 章 Flavors"}]},{"id":"NR2kHO6vOlOKTfAVLtnA","title":"7.4.USES=python 和 Flavors","pathname":"/di-7-zhang-flavors/7.4.usespython-he-flavors","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 7 章 Flavors"}]},{"id":"kTLYt9VDad8sdoKroEmr","title":"7.5.USES=lua 和 Flavors","pathname":"/di-7-zhang-flavors/7.5.useslua-he-flavors","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 7 章 Flavors"}]},{"id":"DnkR9Tv0fjSCJhgGCoRs","title":"8.1.根据 make 变量对 pkg-plist 进行修改","pathname":"/di-8-zhang-gao-ji-pkgplist-shi-jian/8.1.-gen-ju-make-bian-liang-dui-pkgplist-jin-hang-xiu-gai","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 8 章 高级 pkg-plist 实践"}]},{"id":"m73QUAKhIc7swx8oHIkl","title":"8.2.空目录","pathname":"/di-8-zhang-gao-ji-pkgplist-shi-jian/8.2.-kong-mu-lu","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 8 章 高级 pkg-plist 实践"}]},{"id":"y5qi0JPdeqFstiBGalv7","title":"8.3.配置文件","pathname":"/di-8-zhang-gao-ji-pkgplist-shi-jian/8.3.-pei-zhi-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 8 章 高级 pkg-plist 实践"}]},{"id":"jQdxfK9k4a9HJU9l2wi6","title":"8.4.动态与静态软件包列表","pathname":"/di-8-zhang-gao-ji-pkgplist-shi-jian/8.4.-dong-tai-yu-jing-tai-ruan-jian-bao-lie-biao","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 8 章 高级 pkg-plist 实践"}]},{"id":"6Bqe66C0eYNbl600H6IE","title":"8.5.自动创建软件包列表","pathname":"/di-8-zhang-gao-ji-pkgplist-shi-jian/8.5.-zi-dong-chuang-jian-ruan-jian-bao-lie-biao","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 8 章 高级 pkg-plist 实践"}]},{"id":"GFEr9IFGKoXIWL7CLVML","title":"8.6.用关键词扩展软件包列表","pathname":"/di-8-zhang-gao-ji-pkgplist-shi-jian/8.6.-yong-guan-jian-ci-kuo-zhan-ruan-jian-bao-lie-biao","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 8 章 高级 pkg-plist 实践"}]},{"id":"jltivbLviike95AV8KOh","title":"9.1.pkg-message（安装二进制包时显示的消息文件）","pathname":"/di-9-zhang-pkg/9.1.pkgmessage-an-zhuang-er-jin-zhi-bao-shi-xian-shi-de-xiao-xi-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 9 章 pkg-*"}]},{"id":"A9kRShXhMGwzleKcVGbG","title":"9.2.pkg-install、pkg-pre-install 和 pkg-post-install（安装二进制包时执行的脚本文件）","pathname":"/di-9-zhang-pkg/9.2.-pkginstall-an-zhuang-er-jin-zhi-bao-shi-zhi-hang-de-jiao-ben-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 9 章 pkg-*"}]},{"id":"3v4S6mtvu0pRwh1nUtJK","title":"9.3.pkg-deinstall、pkg-pre-deinstall 和 pkg-post-deinstall（卸载时执行的脚本文件）","pathname":"/di-9-zhang-pkg/9.3.pkgdeinstall-xie-zai-shi-zhi-hang-de-jiao-ben-wen-jian","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 9 章 pkg-*"}]},{"id":"WhDVYU32truFGYa4EGmf","title":"9.4.修改 pkg-* 文件的名字","pathname":"/di-9-zhang-pkg/9.4.-xiu-gai-pkg-wen-jian-de-ming-zi","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 9 章 pkg-*"}]},{"id":"XUoRJEJQSMPJLspXhw0r","title":"9.5.使用 SUB_FILES 和 SUB_LIST","pathname":"/di-9-zhang-pkg/9.5.-shi-yong-subfiles-he-sublist","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 9 章 pkg-*"}]},{"id":"mTE9ndKaofFijaalOe0j","title":"10.1.运行 make describe","pathname":"/di-10-zhang-ce-shi-port/10.1.-yun-hang-make-describe","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"5kH6R7FrpaUGIhBqn7Da","title":"10.2.运行 make test","pathname":"/di-10-zhang-ce-shi-port/10.2-yun-hang-make-test","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"phFr7o88EJ0Z3xHQjGyc","title":"10.3.Portclippy / Portfmt","pathname":"/di-10-zhang-ce-shi-port/10.3.portclippy-portfmt","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"i1JwqschFP9wWGUXZsbf","title":"10.4.Portlint","pathname":"/di-10-zhang-ce-shi-port/10.4.portlint","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"dBGZk0uH0w0JqLZOsSDC","title":"10.5.Port 工具","pathname":"/di-10-zhang-ce-shi-port/10.5.porttools","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"qgqjX5ucPxoqqGI22jMJ","title":"10.6.PREFIX 和 DESTDIR","pathname":"/di-10-zhang-ce-shi-port/10.6.prefix-he-destdir","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"LGr83EFHwar7a5mwA2tm","title":"10.7.Poudriere","pathname":"/di-10-zhang-ce-shi-port/10.7.poudriere","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"c250IzqSOvFRvL093FPh","title":"10.8.调试 port","pathname":"/di-10-zhang-ce-shi-port/10.8.tiao-shi-port","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 10 章 测试 port"}]},{"id":"Fq4tGBTC19ak7Zqn4kaX","title":"11.1.使用 Git 制作补丁","pathname":"/di-11-zhang-sheng-ji-port/11.1.-shi-yong-git-zhi-zuo-bu-ding","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 11 章 升级 port"}]},{"id":"qEzzAROt9MyOhIn2TZNQ","title":"11.2.UPDATING 和 MOVED","pathname":"/di-11-zhang-sheng-ji-port/11.2.updating-he-moved","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 11 章 升级 port"}]},{"id":"jfWZeM27zFfmjFoiRHOY","title":"12.1.安全为何如此重要","pathname":"/di-12-zhang-an-quan/12.1.-wei-he-an-quan-ru-ci-zhong-yao","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 12 章 安全"}]},{"id":"ObCDVpGoeYktlqbAksFJ","title":"12.2.修复安全漏洞","pathname":"/di-12-zhang-an-quan/12.2.-xiu-fu-an-quan-lou-dong","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 12 章 安全"}]},{"id":"BwtHewWQ2X7DwHthqfQ1","title":"12.3.向社区通报情况","pathname":"/di-12-zhang-an-quan/12.3.-rang-she-qu-le-jie-qing-kuang","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 12 章 安全"}]},{"id":"I16v9ULF5vJ2felJp2Rt","title":"第 13 章 该做什么和不该做什么","pathname":"/di-13-zhang-gai-zuo-shen-me-he-bu-gai-zuo-shen-me/di-13-zhang","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 13 章 该做什么和不该做什么"}]},{"id":"cwnsxstxf84yPs2PRoxd","title":"第 14 章 一个简单的 port","pathname":"/di-14-zhang-yi-ge-jian-dan-de-port/di-14-zhang-makefile-shi-li","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第14章 一个简单的 port"}]},{"id":"8OiWsDvTFhvf3uogahkn","title":"第 15 章 在 Port Makefile 中变量的顺序","pathname":"/di-15-zhang-zai-port-makefile-zhong-bian-liang-de-shun-xu/di-15-zhang","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 15 章 在 Port Makefile 中变量的顺序"}]},{"id":"K5P2PcDr5XGbe3aWj8BZ","title":"第 16 章 保持更新","pathname":"/di-16-zhang-bao-chi-geng-xin/di-16-zhang","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 16 章 保持更新"}]},{"id":"brEAVxQg1RPSIZeB35x4","title":"第 17 章 使用 USES 宏","pathname":"/di-17-zhang-shi-yong-uses-hong/di-17-zhang","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 17 章 使用 USES 宏"}]},{"id":"pIr6Eyti4jy0zFocwHDB","title":"第 18 章 __FreeBSD_version 的值","pathname":"/di-18-zhang-freebsdversion-de-zhi/18","siteSpaceId":"sitesp_0opGH","description":"","breadcrumbs":[{"label":"第 18 章 __FreeBSD_version 的值"}]}]}