Subject: Re: creating a pkg...?
To: Chief Anarchic Officer <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 03/05/1999 12:30:09
On Thu, 4 Mar 1999, Chief Anarchic Officer wrote:
> I'm going through the man page on pkg_create, and I'm not grokking it
> as far as package creation goes.  Is there a tool for creating a source
> pkg, or is pkg_create it, and you do it the "hard" way?
> ...or is pkg_create for binaries only, and you create patches against
> the original source (to put in the pkgsrc/$package/patches directory),
> and hand-craft a top-level Makefile and the pkg/{DESCR,COMMENT,PLIST}
> files and the /files/md5 signature file in order to make a source package?

The latter, mostly. pkg_create is used internally by the build system when
installing packages (from source), and to generate binar packages. 
For some docs on how to make a (source-)package, see pkgsrc/Packages.txt.

 - Hubert

Hubert Feyrer <>