Sat Jan 18 20:18:50 2014 UTC ()
Fix typo.


(wiz)
diff -r1.15 -r1.16 pkgsrc/doc/guide/files/creating.xml

cvs diff -r1.15 -r1.16 pkgsrc/doc/guide/files/creating.xml (expand / switch to unified diff)

--- pkgsrc/doc/guide/files/creating.xml 2014/01/18 20:17:10 1.15
+++ pkgsrc/doc/guide/files/creating.xml 2014/01/18 20:18:50 1.16
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1<!-- $NetBSD: creating.xml,v 1.15 2014/01/18 20:17:10 wiz Exp $ --> 1<!-- $NetBSD: creating.xml,v 1.16 2014/01/18 20:18:50 wiz Exp $ -->
2 2
3<chapter id="creating"> 3<chapter id="creating">
4<title>Creating a new pkgsrc package from scratch</title> 4<title>Creating a new pkgsrc package from scratch</title>
5 5
6<para>When you find a package that is not yet in pkgsrc, you 6<para>When you find a package that is not yet in pkgsrc, you
7most likely have a URL from where you can download the source 7most likely have a URL from where you can download the source
8code. Starting with this URL, creating a package involves only a 8code. Starting with this URL, creating a package involves only a
9few steps.</para> 9few steps.</para>
10 10
11<procedure> 11<procedure>
12 12
13<step><para>First, install the packages <filename 13<step><para>First, install the packages <filename
14role="pkg">pkgtools/url2pkg</filename> and <filename 14role="pkg">pkgtools/url2pkg</filename> and <filename
@@ -131,27 +131,27 @@ settings that are typical of KDE package @@ -131,27 +131,27 @@ settings that are typical of KDE package
131</sect2> 131</sect2>
132 132
133<sect2 id="creating.python-module"> 133<sect2 id="creating.python-module">
134<title>Python modules and programs</title> 134<title>Python modules and programs</title>
135 135
136<para>Python modules and programs packages are easily created using a 136<para>Python modules and programs packages are easily created using a
137set of predefined variables.</para> 137set of predefined variables.</para>
138 138
139<para> 139<para>
140If some Python versions are not supported by the software, set the 140If some Python versions are not supported by the software, set the
141<varname>PYTHON_VERSIONS_INCOMPATIBLE</varname> variable to the Python versions 141<varname>PYTHON_VERSIONS_INCOMPATIBLE</varname> variable to the Python versions
142that are not supported, e.g. 142that are not supported, e.g.
143<programlisting> 143<programlisting>
144PYTHON_VERSIONS_ACCEPTED= 26 144PYTHON_VERSIONS_INCOMPATIBLE= 26
145</programlisting></para> 145</programlisting></para>
146 146
147<para> 147<para>
148If the packaged software is a Python module, include 148If the packaged software is a Python module, include
149<quote><filename>../../lang/python/extension.mk</filename></quote>. 149<quote><filename>../../lang/python/extension.mk</filename></quote>.
150In this case, the package directory should be called 150In this case, the package directory should be called
151<quote>py-software</quote> and <varname>PKGNAME</varname> should be set to 151<quote>py-software</quote> and <varname>PKGNAME</varname> should be set to
152<quote>${PYPKGPREFIX}-${DISTNAME}</quote>, e.g. 152<quote>${PYPKGPREFIX}-${DISTNAME}</quote>, e.g.
153<programlisting> 153<programlisting>
154DISTNAME= foopymodule-1.2.10 154DISTNAME= foopymodule-1.2.10
155PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 155PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
156</programlisting></para> 156</programlisting></para>
157 157