pkgsrc/textproc/GutenMark-words/patches/patch-aa
wiz 51b2741579 Initial import of packages for GutenMark:
GutenMark is a tool for automatically creating high-quality HTML
or LaTeX markup from Project Gutenberg etexts.  In combination with
other freely-available conversion tools, GutenMark can convert
Project Gutenberg etexts into publication-quality Postscript or
PDF, for print-on-demand applications.  The goal is for this
conversion is completely automatic, without manual markup or editing.
2002-12-05 15:02:24 +00:00

116 lines
4.5 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/12/05 15:02:24 wiz Exp $
--- GutenMark.cfg.in.orig Thu Dec 5 15:36:43 2002
+++ GutenMark.cfg.in
@@ -86,17 +86,17 @@
# but it is important for the labels used to match. Also, if the language
# name is omitted, it will default to either "native" or "foreign".
[english]
-native=special.words.gz English
-native=english.names.gz English
-native=US.places.gz English
-native=french.names.gz French
-native=english.words.gz English
-foreign=german2.words.gz German
-foreign=german.words.gz German
-foreign=french.words.gz French
-foreign=latin.words.gz Latin
-foreign=italian.words.gz Italian
-foreign=spanish.words.gz Spanish
+native=@@PREFIX@@/share/GutenMark/special.words.gz English
+native=@@PREFIX@@/share/GutenMark/english.names.gz English
+native=@@PREFIX@@/share/GutenMark/US.places.gz English
+native=@@PREFIX@@/share/GutenMark/french.names.gz French
+native=@@PREFIX@@/share/GutenMark/english.words.gz English
+foreign=@@PREFIX@@/share/GutenMark/german2.words.gz German
+foreign=@@PREFIX@@/share/GutenMark/german.words.gz German
+foreign=@@PREFIX@@/share/GutenMark/french.words.gz French
+foreign=@@PREFIX@@/share/GutenMark/latin.words.gz Latin
+foreign=@@PREFIX@@/share/GutenMark/italian.words.gz Italian
+foreign=@@PREFIX@@/share/GutenMark/spanish.words.gz Spanish
# A BIG profile if you don't mind spending a little processing
# power to get a better result. The NonUS.places.gz wordlist
@@ -117,47 +117,47 @@ foreign=spanish.words.gz Spanish
# agency who has compiled the wordlist.
[english_all]
-native=special.words.gz English
-native=english.names.gz English
-native=US.places.gz English
-native=french.names.gz French
-native=NonUS.places.gz English
-native=english.words.gz English
-foreign=german2.words.gz German
-foreign=german.words.gz German
-foreign=french.words.gz French
-foreign=latin.words.gz Latin
-foreign=italian.words.gz Italian
-foreign=spanish.words.gz Spanish
-foreign=norwegian.words.gz Norwegian
-foreign=gaelic.words.gz Gaelic
-foreign=danish.words.gz Danish
-foreign=swedish.words.gz Swedish
-foreign=finnish.words.gz Finnish
+native=@@PREFIX@@/share/GutenMark/special.words.gz English
+native=@@PREFIX@@/share/GutenMark/english.names.gz English
+native=@@PREFIX@@/share/GutenMark/US.places.gz English
+native=@@PREFIX@@/share/GutenMark/french.names.gz French
+native=@@PREFIX@@/share/GutenMark/NonUS.places.gz English
+native=@@PREFIX@@/share/GutenMark/english.words.gz English
+foreign=@@PREFIX@@/share/GutenMark/german2.words.gz German
+foreign=@@PREFIX@@/share/GutenMark/german.words.gz German
+foreign=@@PREFIX@@/share/GutenMark/french.words.gz French
+foreign=@@PREFIX@@/share/GutenMark/latin.words.gz Latin
+foreign=@@PREFIX@@/share/GutenMark/italian.words.gz Italian
+foreign=@@PREFIX@@/share/GutenMark/spanish.words.gz Spanish
+foreign=@@PREFIX@@/share/GutenMark/norwegian.words.gz Norwegian
+foreign=@@PREFIX@@/share/GutenMark/gaelic.words.gz Gaelic
+foreign=@@PREFIX@@/share/GutenMark/danish.words.gz Danish
+foreign=@@PREFIX@@/share/GutenMark/swedish.words.gz Swedish
+foreign=@@PREFIX@@/share/GutenMark/finnish.words.gz Finnish
# A profile for testing the performance of uncompressed
# wordlists vs. compressed wordlists.
[test]
-native=special.words
-native=english.names
-native=US.places
-native=*.names
-native=*.places
-native=english.words
-foreign=nonenglish.words
-foreign=german2.words
-foreign=german.words
-foreign=french.words
-foreign=latin.words
-foreign=italian.words
-foreign=*.words
+native=@@PREFIX@@/share/GutenMark/special.words
+native=@@PREFIX@@/share/GutenMark/english.names
+native=@@PREFIX@@/share/GutenMark/US.places
+native=@@PREFIX@@/share/GutenMark/*.names
+native=@@PREFIX@@/share/GutenMark/*.places
+native=@@PREFIX@@/share/GutenMark/english.words
+foreign=@@PREFIX@@/share/GutenMark/nonenglish.words
+foreign=@@PREFIX@@/share/GutenMark/german2.words
+foreign=@@PREFIX@@/share/GutenMark/german.words
+foreign=@@PREFIX@@/share/GutenMark/french.words
+foreign=@@PREFIX@@/share/GutenMark/latin.words
+foreign=@@PREFIX@@/share/GutenMark/italian.words
+foreign=@@PREFIX@@/share/GutenMark/*.words
# Here's a template, to act as a starting point for another profile:
[mylanguage]
-native=mylanguage.names.gz
-native=*.names.gz
-native=*.places.gz
-native=mylanguage.words.gz
-foreign=*.words.gz
+native=@@PREFIX@@/share/GutenMark/mylanguage.names.gz
+native=@@PREFIX@@/share/GutenMark/*.names.gz
+native=@@PREFIX@@/share/GutenMark/*.places.gz
+native=@@PREFIX@@/share/GutenMark/mylanguage.words.gz
+foreign=@@PREFIX@@/share/GutenMark/*.words.gz