File: Makefile.PL

package info (click to toggle)
libtk-codetext-perl 0.3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 296 kB
  • sloc: perl: 1,787; sh: 51; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use strict;
use ExtUtils::MakeMaker;

my $pm = 'CodeText';
my $ld = '$(INST_LIBDIR)';

WriteMakefile(
	NAME => "Tk::$pm",
	PREREQ_PM => {
		'Tk' => '800.024',
		'Syntax::Highlight::Perl' => 0,
	},
#	PMLIBDIRS => ['Tk'],
	PM => {
		"$pm.pm" => "$ld/$pm.pm",
		"$pm/Bash.pm" => "$ld/$pm/Bash.pm",
		"$pm/HTML.pm" => "$ld/$pm/HTML.pm",
		"$pm/None.pm" => "$ld/$pm/None.pm",
		"$pm/Perl.pm" => "$ld/$pm/Perl.pm",
		"$pm/Pod.pm" => "$ld/$pm/Pod.pm",
		"$pm/Template.pm" => "$ld/$pm/Template.pm",
		"$pm/Xresources.pm" => "$ld/$pm/Xresources.pm",
		"$pm.pod" => "$ld/$pm.pod",
		"RulesEditor.pm" => "$ld/RulesEditor.pm",
	},
	VERSION_FROM => "$pm.pm",
	'dist'	=> {COMPRESS => 'gzip', SUFFIX => 'gz'},
	($] >= 5.005 ?
		(ABSTRACT => "a TextUndo widget with syntax highlight capabilities",
		AUTHOR	=> 'Hans Jeuken (haje@toneel.demon.nl)') : ()),
);