forked from dkogan/feedgnuplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
32 lines (30 loc) · 1.07 KB
/
Makefile.PL
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
32
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile
(
NAME => 'feedGnuplot',
AUTHOR => q{Dima Kogan <[email protected]>},
VERSION_FROM => 'bin/feedGnuplot',
ABSTRACT_FROM => 'bin/feedGnuplot',
($ExtUtils::MakeMaker::VERSION >= 6.3002
? ('LICENSE' => 'perl')
: ()),
PL_FILES => {},
EXE_FILES => [ 'bin/feedGnuplot' ],
PREREQ_PM => { 'Test::Script::Run' => 0},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'feedGnuplot-*' },
);
# reroute the main POD into a separate README.pod if requested. This is here
# purely to generate a README.pod for the github front page
if(exists $ARGV[0] && $ARGV[0] eq 'README.pod')
{
open SCRIPT, 'bin/feedGnuplot' or die "Couldn't open main script";
open README, '>README.pod' or die "Couldn't open README.pod";
while (<SCRIPT>)
{
if (/^=/../^=cut/)
{ print README; }
}
}