summaryrefslogtreecommitdiff
path: root/ext/IPC/SysV/Makefile.PL
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-06 23:04:29 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-06 23:04:29 +0000
commitd2a6e61ca10408703f6a8faa72cb1843e0f9b361 (patch)
tree96dda3638f64ffde0480ccc520be7e91978612e0 /ext/IPC/SysV/Makefile.PL
parent18bdacd6ec50ce381ac2bc69ff4bb5e36d019e94 (diff)
downloadperl-d2a6e61ca10408703f6a8faa72cb1843e0f9b361.tar.gz
Rename ext/Sys/Syslog to ext/Sys-Syslog and ext/IPC/SysV to ext/IPC-SysV
(the missed parts)
Diffstat (limited to 'ext/IPC/SysV/Makefile.PL')
-rw-r--r--ext/IPC/SysV/Makefile.PL108
1 files changed, 0 insertions, 108 deletions
diff --git a/ext/IPC/SysV/Makefile.PL b/ext/IPC/SysV/Makefile.PL
deleted file mode 100644
index 1cd276c2db..0000000000
--- a/ext/IPC/SysV/Makefile.PL
+++ /dev/null
@@ -1,108 +0,0 @@
-################################################################################
-#
-# $Revision: 18 $
-# $Author: mhx $
-# $Date: 2008/11/26 23:12:58 +0100 $
-#
-################################################################################
-#
-# Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
-# Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the same terms as Perl itself.
-#
-################################################################################
-
-require 5.004_05;
-
-use strict;
-use ExtUtils::MakeMaker;
-
-unless ($ENV{'PERL_CORE'}) {
- $ENV{'PERL_CORE'} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV;
-}
-
-if ($^O eq 'MSWin32') {
- die "OS unsupported\n";
-}
-
-WriteMakefile(
- NAME => 'IPC::SysV',
- VERSION_FROM => 'lib/IPC/SysV.pm',
- PREREQ_PM => {
- 'Test::More' => 0.45,
- },
- CONFIGURE => \&configure,
-);
-
-sub configure
-{
- my @moreopts;
- my %depend;
-
- if (eval $ExtUtils::MakeMaker::VERSION >= 6) {
- push @moreopts, AUTHOR => 'Marcus Holland-Moritz <mhx@cpan.org>',
- ABSTRACT_FROM => 'lib/IPC/SysV.pm';
- }
-
- if (eval $ExtUtils::MakeMaker::VERSION >= 6.30_01) {
- print "Setting license tag...\n";
- push @moreopts, LICENSE => 'perl';
- }
-
- if ($ENV{'PERL_CORE'}) {
- # Pods will be built by installman.
- push @moreopts, MAN3PODS => {},
- realclean => { FILES => "const-c.inc const-xs.inc" };
- }
- else {
- # IPC::SysV is in the core since 5.005
- push @moreopts, INSTALLDIRS => ($] >= 5.005 ? 'perl' : 'site');
- }
-
- $depend{'SysV.xs'} = 'const-c.inc const-xs.inc';
-
- return {
- depend => \%depend,
- @moreopts
- };
-}
-
-
-#--- MY package
-
-sub MY::libscan
-{
- package MY;
- my($self, $path) = @_;
- return $path if $self->SUPER::libscan($path) and
- $path !~ m! [~%]$
- | \.(cache\.cm|swp|orig|rej)$
- | regen\.pl$
- !x;
- return '';
-}
-
-sub MY::postamble
-{
- package MY;
- my $post = shift->SUPER::postamble(@_);
- $post .= <<'POSTAMBLE';
-
-purge_all: realclean
- @$(RM_F) const-c.inc const-xs.inc
-
-regen:
- $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) regen.pl
-
-const-c.inc: lib/IPC/SysV.pm regen.pl
- @$(MAKE) regen
-
-const-xs.inc: lib/IPC/SysV.pm regen.pl
- @$(MAKE) regen
-
-POSTAMBLE
- return $post;
-}
-