summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-17 06:12:46 +0000
committerjlam <jlam@pkgsrc.org>2006-04-17 06:12:46 +0000
commitd19161d212f20d397994963259d8fc80bdc5be99 (patch)
treed65d13435e9097692c27b211065932e9cc1990af /doc
parent06aa0a8ac5b2a8d4a0adf0d1436b32fadee1d4ad (diff)
downloadpkgsrc-d19161d212f20d397994963259d8fc80bdc5be99.tar.gz
Modify the plist module to automatically transform "^share/locale" in
PLISTs to "${PKGLOCALEDIR}/locale" for the installed PLIST. This is similar to the work that's already done to automatically handle PKGINFODIR and PKGMANDIR. PLISTs in pkgsrc will be modified so that they would just list the message files to be under "share/locale". USE_PKGLOCALEDIR must continue to be set in package Makefiles so that localedir substitutions happen at post-configure time.
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/files/plist.xml17
1 files changed, 1 insertions, 16 deletions
diff --git a/doc/guide/files/plist.xml b/doc/guide/files/plist.xml
index c397096f493..2567edc15b2 100644
--- a/doc/guide/files/plist.xml
+++ b/doc/guide/files/plist.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: plist.xml,v 1.11 2006/02/12 14:44:59 rillig Exp $ -->
+<!-- $NetBSD: plist.xml,v 1.12 2006/04/17 06:12:46 jlam Exp $ -->
<chapter id="plist">
<title>PLIST issues</title>
@@ -132,21 +132,6 @@
</itemizedlist>
</listitem>
</varlistentry>
-
- <varlistentry>
- <term><varname>${PKGLOCALEDIR}</varname></term>
-
- <listitem>
- <para>Packages that install locale files should list them in
- the PLIST as
- <quote>${PKGLOCALEDIR}/locale/de/LC_MESSAGES/...</quote>
- instead of <quote>share/locale/de/LC_MESSAGES/...</quote>.
- This properly handles the fact that different operating
- systems expect locale files to be either in
- <filename>share</filename> or <filename>lib</filename> by
- default.</para>
- </listitem>
- </varlistentry>
</variablelist>
<para> For a complete list of values which are replaced by