Home arrow Journal arrow Create a FreeBSD Package from Ports
Create a FreeBSD Package from Ports PDF
Friday, 18 October 2013
The simplest way to create a package from FreeBSD's ports is by running make package command.

Let's say we want to create a package for nload port.

  whereis nload
/usr/ports/net/nload

  cd /usr/ports/net/nload
  make package


The source code for nload will be downloaded, it will be compiled and a package will be created. You can find the package in:
/usr/ports/packages/All

  ls /usr/ports/packages/All
nload-0.7.4.txz

You might notice .txz extension which is specific to FreeBSD's 10.x pkgng package system. For more info on pkgng run:

man pkg

Last Updated ( Friday, 25 October 2013 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?