$OpenBSD: patch-docs_man_pkexec_xml,v 1.4 2012/11/20 14:11:48 ajacoutot Exp $
--- docs/man/pkexec.xml.orig	Fri Aug 17 09:27:56 2012
+++ docs/man/pkexec.xml	Fri Aug 17 09:29:50 2012
@@ -155,7 +155,7 @@
       like this:
     </para>
     <programlisting><![CDATA[
-#!/usr/bin/pkexec /usr/bin/python
+#!${PREFIX}/bin/pkexec ${MODPY_BIN}
 
 import os
 import sys
@@ -166,20 +166,20 @@ for n in range(len(sys.argv)):
     print "arg[%d]=`%s'"%(n, sys.argv[n])
 ]]></programlisting>
     <para>
-      If this script is installed into <filename>/usr/bin/my-pk-test</filename>,
+      If this script is installed into <filename>${PREFIX}/bin/my-pk-test</filename>,
       then the following annotations
     </para>
     <programlisting><![CDATA[
   [...]
-  <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python</annotate>
-  <annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/my-pk-test</annotate>
+  <annotate key="org.freedesktop.policykit.exec.path">${MODPY_BIN}</annotate>
+  <annotate key="org.freedesktop.policykit.exec.argv1">${PREFIX}/bin/my-pk-test</annotate>
   [...]
 ]]></programlisting>
     <para>
       can be used to select the appropriate polkit action. Be careful
       to get the latter annotation right, otherwise it will match any
       <command>pkexec</command> invocation of
-      <filename>/usr/bin/python</filename> scripts.
+      <filename>${MODPY_BIN}</filename> scripts.
     </para>
   </refsect1>
 
