/usr/local/CPAN/Getopt-Mixed/Makefile.PL


#! /usr/bin/perl
#---------------------------------------------------------------------
# $Id: Makefile.PL 1712 2007-03-22 00:13:26Z cjm $
# Copyright 2007 Christopher J. Madsen
#
# Makefile.PL for Getopt::Mixed
#---------------------------------------------------------------------

use ExtUtils::MakeMaker;

my @PREOP;

my $fixup = ($^O =~ /Win32/ ? 'cjm_fixup.bat' : './cjm_fixup.sh');

if (-e $fixup) {
  @PREOP = (PREOP => "$fixup \$(DISTVNAME)");
}

WriteMakefile(
    NAME                => 'Getopt::Mixed',
    AUTHOR              => 'Christopher J. Madsen <perl@cjmweb.net>',
    VERSION_FROM        => 'lib/Getopt/Mixed.pm',
    ABSTRACT_FROM       => 'lib/Getopt/Mixed.pm',
    LICENSE             => 'perl',
    PL_FILES            => {},
    PREREQ_PM => {
        'Test::More' => 0,
    },
    dist     => {COMPRESS => 'gzip -9f', SUFFIX => 'gz',
                 @PREOP },
);