msgstr ""
"Project-Id-Version: pci-nopaste #0\n"
"Report-Msgid-Bugs-To: phonohawk <phonohawk@ps.sakura.ne.jp>\n"
-"POT-Creation-Date: 2012-11-06 14:27+0900\n"
+"POT-Creation-Date: 2012-11-16 15:01+0900\n"
"PO-Revision-Date: 2005-09-24 17:57+0900\n"
"Last-Translator: phonohawk <phonohawk@ps.sakura.ne.jp>\n"
"Language-Team: Japanese <phonohawk@ps.sakura.ne.jp>\n"
--- /dev/null
+use strict;
+use warnings;
+use Config qw(%Config);
+use ExtUtils::MakeMaker;
+use File::Slurp qw(read_file write_file);
+
+# FIXME: Stop hard-coding these variables.
+my %vars = (
+ DAEMON => '/usr/local/sbin/daemon',
+ bindir => $Config{installbin},
+ localstatedir => '/usr/local/var',
+ sysconfdir => '/usr/local/etc'
+ );
+
+my $script = read_file('pci-nopaste.in');
+
+while (my ($var, $subst) = each %vars) {
+ $script =~ s/\@\Q$var\E\@/$subst/g;
+}
+
+print "Writing pci-nopaste\n";
+write_file('pci-nopaste', $script);
+chmod 0755, 'pci-nopaste';
+
+WriteMakefile(
+ NAME => 'linux'
+ );