1# -*- Perl -*- 2# $Id: var.pl.in,v 1.12.8.4 2009-01-29 02:29:00 opengl2772 Exp $ 3# Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. 4# Copyright (C) 2000-2009 Namazu Project All rights reserved. 5# This is free software with ABSOLUTELY NO WARRANTY. 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by 9# the Free Software Foundation; either versions 2, or (at your option) 10# any later version. 11# 12# This program is distributed in the hope that it will be useful 13# but WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15# GNU General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License 18# along with this program; if not, write to the Free Software 19# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 20# 02111-1307, USA 21# 22# This file must be encoded in EUC-JP encoding 23# 24 25package var; 26 27#----------------------------------------------------------- 28# 29# Software information. 30# 31 32$VERSION = "@VERSION@"; 33$COPYRIGHT = "@COPYRIGHT@"; # should be doublequote 34$MAILING_ADDRESS = '@MAILING_ADDRESS@'; 35$TRAC_URI = '@TRAC_URI@'; 36 37#----------------------------------------------------------- 38# 39# File names of index files. 40# 41 42my $base = "NMZ"; 43 44%NMZ = (); 45$NMZ{'i'} = "$base.i"; 46$NMZ{'ii'} = "$base.ii"; 47$NMZ{'r'} = "$base.r"; 48$NMZ{'head'} = "$base.head"; 49$NMZ{'foot'} = "$base.foot"; 50$NMZ{'log'} = "$base.log"; 51$NMZ{'slog'} = "$base.slog"; 52$NMZ{'lock'} = "$base.lock"; 53$NMZ{'lock2'} = "$base.lock2"; 54$NMZ{'msg'} = "$base.msg"; 55$NMZ{'body'} = "$base.body"; 56$NMZ{'err'} = "$base.err"; 57$NMZ{'w'} = "$base.w"; 58$NMZ{'wi'} = "$base.wi"; 59$NMZ{'p'} = "$base.p"; 60$NMZ{'pi'} = "$base.pi"; 61$NMZ{'field'} = "$base.field"; 62$NMZ{'result'} = "$base.result"; 63 64$NMZ{'t'} = "$base.t"; 65$NMZ{'status'} = "$base.status"; 66$NMZ{'tips'} = "$base.tips"; 67$NMZ{'version'}= "$base.version"; 68 69$NMZ{'_t'} = $NMZ{'t'}; 70$NMZ{'_i'} = $NMZ{'i'}; 71$NMZ{'_p'} = $NMZ{'p'}; 72$NMZ{'_pi'} = $NMZ{'pi'}; 73$NMZ{'_r'} = $NMZ{'r'}; 74$NMZ{'_ii'} = $NMZ{'ii'}; 75$NMZ{'_w'} = $NMZ{'w'}; 76$NMZ{'_wi'} = $NMZ{'wi'}; 77 78$NMZ{'_flist'} = "$base.flist"; 79$NMZ{'_checkpoint'} = "$base.checkpoint"; 80 81$NMZ{'__i'} = "$base.tmp_i"; 82$NMZ{'__w'} = "$base.tmp_w"; 83$NMZ{'__p'} = "$base.tmp_p"; 84$NMZ{'__pi'} = "$base.tmp_pi"; 85 86#----------------------------------------------------------- 87# 88# Options 89# 90 91$Opt{'debug'} = 0; 92$Opt{'quiet'} = 0; 93$Opt{'verbose'} = 0; 94 95$Opt{'robotexclude'} = 0; 96$Opt{'htaccessexclude'} = 0; 97$Opt{'htmlsplit'} = 0; 98 99$Opt{'uuencode'} = 0; 100$Opt{'noheadabst'} = 0; 101$Opt{'hiragana'} = 0; 102$Opt{'okurigana'} = 0; 103$Opt{'noedgesymbol'} = 0; 104$Opt{'nosymbol'} = 0; 105$Opt{'noencodeuri'} = 0; 106 107$Opt{'nodelete'} = 0; 108$Opt{'noupdate'} = 0; 109 110$Opt{'checkfilesize'} = 0; 111 112$Opt{'decodebase64'} = 0; 113 114#----------------------------------------------------------- 115# 116# Size of `int' 117# 118 119{ 120 my $tmp = 0; 121 $tmp = pack("i", $tmp); 122 $INTSIZE = length($tmp); 123} 124 125 126#----------------------------------------------------------- 127# 128# Misc 129# 130 131$OUTPUT_DIR = undef; 132$NO_TITLE = N_("No title in original"); 133$USE_NKF_MODULE = 0; 134 135%REQUIRE_ACTIONS = (); 136%RECURSIVE_ACTIONS = (); 137%REQUIRE_PRE_CODECONV = 138 ( 139 'text/plain' => 1, 140 ); 141%REQUIRE_POST_CODECONV = 142 ( 143 'text/plain' => 0, 144 ); 145%Supported = 146 ( 147 'text/plain' => "yes", 148 ); 149 150# Dummy function for gettextization. 151sub N_ {}; 152 1531; 154