---
title: FreeBSD Porter's Handbook
authors: 
  - author: The FreeBSD Documentation Project
copyright: 2000-2020 The FreeBSD Documentation Project
releaseinfo: "$FreeBSD$" 
trademarks: ["freebsd", "sun", "unix", "general"] 
---

= FreeBSD Porter's Handbook
:doctype: book
:toc: macro
:toclevels: 2
:icons: font
:xrefstyle: basic
:relfileprefix: ../
:outfilesuffix:
:sectnums:
:sectnumlevels: 6
:partnums:
:chapter-signifier: Chapter
:part-signifier: Part
:source-highlighter: rouge
:experimental:
:skip-front-matter:

ifeval::["{backend}" == "html5"]
include::shared/mirrors.adoc[]
include::shared/authors.adoc[]
include::shared/releases.adoc[]
include::shared/en/mailing-lists.adoc[]
include::shared/en/teams.adoc[]
include::shared/en/urls.adoc[]
:chapters-path: content/en/books/porters-handbook/
endif::[]

ifeval::["{backend}" == "pdf"]
include::../../../../shared/mirrors.adoc[]
include::../../../../shared/authors.adoc[]
include::../../../../shared/releases.adoc[]
include::../../../../shared/en/mailing-lists.adoc[]
include::../../../../shared/en/teams.adoc[]
include::../../../../shared/en/urls.adoc[]
:chapters-path:
endif::[]

ifeval::["{backend}" == "epub3"]
include::../../../../shared/mirrors.adoc[]
include::../../../../shared/authors.adoc[]
include::../../../../shared/releases.adoc[]
include::../../../../shared/en/mailing-lists.adoc[]
include::../../../../shared/en/teams.adoc[]
include::../../../../shared/en/urls.adoc[]
:chapters-path:
endif::[]

'''

toc::[]

include::{chapters-path}toc-tables.adoc[]

include::{chapters-path}toc-examples.adoc[]

include::{chapters-path}porting-why/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}new-port/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}quick-porting/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}slow-porting/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}makefiles/chapter.adoc[leveloffset=+1, lines=7..22;33..-1]
include::{chapters-path}special/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}flavors/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}plist/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}pkg-files/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}testing/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}upgrading/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}security/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}porting-dads/chapter.adoc[leveloffset=+1, lines=7..23;34..-1]
include::{chapters-path}porting-samplem/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}order/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}keeping-up/chapter.adoc[leveloffset=+1, lines=7..21;32..-1]
include::{chapters-path}uses/chapter.adoc[leveloffset=+1, lines=7..22;33..-1]
include::{chapters-path}versions/chapter.adoc[leveloffset=+1, lines=6..20;31..-1]
