# This is a sample configuration file for a porteur template. To configure a # template `mytemplate` create a file `⟨etc⟩/porteur/tmpl/mytemplate/.config` # and put the configuration values in there. # Without any configuration a single distribution file is created by archiving # the whole source tree. However, to make the distribution more flexible the # following options are available: # # dist.prepare-target # The name of a port's Makefile target, that is executed before the # archiving step. This target will be used to prepare the source tree # for its distribution (e.g. vendoring). When executed, porteur sets # the WRKSRC variable to the path of the port's Git repository. If this # option is absent or empty, no preparation step will be executed. # # dist.archive.root # The root path of the archive file. This path is relative to the source # tree and declares the new root of the distributed files for the archive. # If the root is absent or empty, the source tree is the root of the # archive. # # dist.archive.paths # A space separated list of paths that should be included in the archive # file. The paths are relative to the configured root directory. With this # option it is possible to only distribute specific parts of the source # tree. If no paths are defined, the whole source tree will be archived. # # It is also possible to define a distribution consisting of multiple archives, # where each archive needs to have a unique name. This name can be assigned # using the following format: `dist.archive[⟨name⟩].*`. The corresponding # template variable that references a named archive is `.distname.⟨name⟩`. # There can be up to 16 different archive files. dist.prepare-target = prepare-dist dist.archive.root = . dist.archive.paths = src lib dist.archive[docs].root = docs dist.archive[docs].paths = samples = manpages