| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: texlive2pkg.8,v 1.1 2016/01/24 19:34:44 markd Exp $ | | 1 | .\" $NetBSD: texlive2pkg.8,v 1.2 2016/01/24 19:45:30 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2016 | | 3 | .\" Copyright (c) 2016 |
4 | .\" Mark Davies. All rights reserved. | | 4 | .\" Mark Davies. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the author nor the names of any contributors | | 14 | .\" 3. Neither the name of the author nor the names of any contributors |
| @@ -19,63 +19,66 @@ | | | @@ -19,63 +19,66 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" | | 30 | .\" |
31 | .Dd January 24, 2016 | | 31 | .Dd January 24, 2016 |
32 | .Dt texlive2pkg 8 | | 32 | .Dt TEXLIVE2PKG 8 |
33 | .Os | | 33 | .Os |
34 | .Sh NAME | | 34 | .Sh NAME |
35 | .Nm texlive2pkg | | 35 | .Nm texlive2pkg |
36 | .Nd create a pkgsrc package for a texlive package | | 36 | .Nd create a pkgsrc package for a texlive package |
37 | .Sh SYNOPSIS | | 37 | .Sh SYNOPSIS |
38 | .Nm | | 38 | .Nm |
39 | .Ar package-tarball | | 39 | .Ar package-tarball |
40 | .Op Ar doc-tarball | | 40 | .Op Ar doc-tarball |
41 | .Sh DESCRIPTION | | 41 | .Sh DESCRIPTION |
42 | .Nm | | 42 | .Nm |
43 | takes a texlive | | 43 | takes a texlive |
44 | .Ar package-tarball | | 44 | .Ar package-tarball |
45 | and optional | | 45 | and optional |
46 | .Ar doc-tarball | | 46 | .Ar doc-tarball |
47 | that should be turned into | | 47 | that should be turned into |
48 | .Xr pkgsrc 7 | | 48 | .Xr pkgsrc 7 |
49 | packages under the current directory. The generated packages include a | | 49 | packages under the current directory. |
| | | 50 | The generated packages include a |
50 | .Pa Makefile | | 51 | .Pa Makefile |
51 | and a mostly complete set of files to get the package going. However, the files should be reviewed and perhaps adjusted manually after | | 52 | and a mostly complete set of files to get the package going. |
| | | 53 | However, the files should be reviewed and perhaps adjusted manually after |
52 | .Nm | | 54 | .Nm |
53 | has finished its job. | | 55 | has finished its job. |
54 | .Pp | | 56 | .Pp |
55 | .Nm | | 57 | .Nm |
56 | is intended to help the process of creating a package but is not | | 58 | is intended to help the process of creating a package but is not |
57 | intended to fly on autopilot. | | 59 | intended to fly on autopilot. |
58 | .Sh EXAMPLES | | 60 | .Sh EXAMPLES |
59 | Use the following commands to create a | | 61 | Use the following commands to create a |
60 | .Xr pkgsrc 7 | | 62 | .Xr pkgsrc 7 |
61 | package for the texlive package | | 63 | package for the texlive package |
62 | .Ar foo : | | 64 | .Ar foo : |
63 | .Dl cd pkgsrc/print | | 65 | .Dl cd pkgsrc/print |
64 | .Dl texlive2pkg foo.tar.xz foo.doc.tar.xz | | 66 | .Dl texlive2pkg foo.tar.xz foo.doc.tar.xz |
65 | Remember to test the resulting package. | | 67 | Remember to test the resulting package. |
| | | 68 | .Sh SEE ALSO |
| | | 69 | .Xr pkgsrc 7 |
| | | 70 | .Sh AUTHORS |
| | | 71 | .Nm |
| | | 72 | was written by |
| | | 73 | .An Mark Davies Aq Mt markd@NetBSD.org . |
66 | .Sh BUGS | | 74 | .Sh BUGS |
67 | .Nm | | 75 | .Nm |
68 | does not create a finished package; instead, it facilitates the task. | | 76 | does not create a finished package; instead, it facilitates the task. |
69 | However, the resulting files must be reviewed and possibly edited by | | 77 | However, the resulting files must be reviewed and possibly edited by |
70 | hand. Although dependencies are included in the generated | | 78 | hand. |
| | | 79 | Although dependencies are included in the generated |
71 | .Pa Makefile , | | 80 | .Pa Makefile , |
72 | they are only comments; no attempt is made to find corresponding | | 81 | they are only comments; no attempt is made to find corresponding |
73 | packages within | | 82 | packages within |
74 | .Xr pkgsrc 7 . | | 83 | .Xr pkgsrc 7 . |
75 | As a consequence, the category of dependencies is also not determined. | | 84 | As a consequence, the category of dependencies is also not determined. |
76 | .Sh SEE ALSO | | | |
77 | .Xr pkgsrc 7 | | | |
78 | .Sh AUTHORS | | | |
79 | .Nm | | | |
80 | was written by | | | |
81 | .An Mark Davies Aq Mt markd@NetBSD.org . | | | |