New installable binary package for FreeBSD

I am new to FreeBSD, please point me to a document to create a new installable binary package for FreeBSD. The new installer must deploy the files and start the service and during uninstall stop the service and remove the files from target system. I have created an RPM for RHEL/SLES and a package for Solaris, similarly I wanted to have an installer for FreeBSD.

Point me to location/steps to start with the FreeBSD installer.
 
Requirement is to create a binary package and release it to a customer, later we may need to release newer versions for upgrade with some changes in binaries. Which method is suitable for a binary package? As per my understanding there are two options:
  1. Create a port and then create a package for the port.
  2. Create a package.
Which option is more suitable for a binary package?
 
I will go with the pkg-create option as in pkg-create(8). My requirement is to create a binary package which has 10-20 binary files in it and deliver the package for customers to install and use it on their system.
 
Back
Top