TEXLIVE2PKG(8)

NAME
texlive2pkg - create a pkgsrc package for a texlive package

SYNOPSIS
texlive2pkg [-d] package-tarball [doc-tarball]

DESCRIPTION
texlive2pkg takes a texlive package-tarball and optional doc-tarball that should be turned into pkgsrc(7) packages under the current directory. The generated packages include a Makefile and a mostly complete set of files to get the package going. However, the files should be reviewed and perhaps adjusted manually after texlive2pkg has finished its job.

texlive2pkg is intended to help the process of creating a package but is not intended to fly on autopilot.

OPTIONS
The following command-line options are supported:

-d  Derive the doc-tarball path from the package-tarball by replacing the .tar.xz with .doc.tar.xz.

EXAMPLES
Use the following commands to create a pkgsrc(7) package for the texlive package foo:
    cd pkgsrc/print
    texlive2pkg -d foo.tar.xz
Remember to test the resulting package.

SEE ALSO
pkgsrc(7)

AUTHORS
texlive2pkg was written by Mark Davies <markd@NetBSD.org>.

BUGS
texlive2pkg does not create a finished package; instead, it facilitates the task. However, the resulting files must be reviewed and possibly edited by hand. Although dependencies are included in the generated Makefile, they are only comments; no attempt is made to find corresponding packages within pkgsrc(7). As a consequence, the category of dependencies is also not determined.