$NetBSD: patch-ag,v 1.1 2012/03/19 19:44:03 markd Exp $

--- khelpcenter/searchhandlers/khc_htdig.pl.cmake.orig	2008-01-31 12:51:37.000000000 +1300
+++ khelpcenter/searchhandlers/khc_htdig.pl.cmake
@@ -26,8 +26,8 @@ use strict;
 
 use Getopt::Long;
 
-my $htdigdata = "/srv/www/htdig/common/";
-my $htdigbin = "/usr/bin";
+my $htdigdata = "@CMAKE_INSTALL_PREFIX@/share/htdig/common/";
+my $htdigbin = "@CMAKE_INSTALL_PREFIX@/bin";
 my $kdeprefix = "@CMAKE_INSTALL_PREFIX@";
 chomp $kdeprefix;
 
@@ -93,7 +93,7 @@ ignore_noindex:		true
 max_hop_count:		4
 robotstxt_name:         kdedig
 compression_level:	6
-template_map:           Long long $kdeprefix/share/apps/khelpcenter/searchhandlers/htdig/htdig_long.html \\
+template_map:           Long long $kdeprefix/share/kde/apps/khelpcenter/searchhandlers/htdig/htdig_long.html \\
                         Short short $htdigdata/short.html
 search_algorithm:       exact:1 prefix:0.8
 maximum_pages:          1
