File: Makefile.PL

package info (click to toggle)
libnet-daemon-perl 0.36-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 176 kB
  • ctags: 38
  • sloc: perl: 731; makefile: 48
file content (42 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (7)
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
33
34
35
36
37
38
39
40
41
42
# -*- perl -*-
#
# $Id: Makefile.PL,v 1.2 1999/08/12 14:28:53 joe Exp $
#

use ExtUtils::MakeMaker;

my %opts = (
    'NAME'	=> 'Net::Daemon',
    'VERSION_FROM' => 'lib/Net/Daemon.pm', # finds $VERSION
    'dist' => { 'DIST_DEFAULT' => q[all tardist],
	        'COMPRESS' => q[gzip -9vf],
	        'SUFFIX' => q[.gz]
	    },
    'realclean' => { 'FILES' => 't/config ndtest.prt' }
);

if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
    $opts{ABSTRACT_FROM} = 'lib/Net/Daemon.pm';
    $opts{AUTHOR} = 'Jochen Wiedmann (joe@ispsoft.de)';
}

WriteMakefile(%opts);


package MY;

sub libscan {
    my ($self, $path) = @_;
    ($path =~ /\~$/) ? undef : $path;
}

sub postamble {
    qq{

pm_to_blib: README

README: lib/Net/Daemon.pm
\tpod2text lib/Net/Daemon.pm >README

}
}