#!/usr/bin/perl -w # -*- perl -*- # # $Id: Makefile.PL,v 1.7 2006/09/09 15:30:10 eserte Exp $ # Author: Slaven Rezic # # Copyright (C) 2001 Slaven Rezic. All rights reserved. # This program is free software; you can redistribute it and/or # modify it under the same terms as Perl itself. # # Mail: slaven@rezic.de # WWW: http://www.rezic.de/eserte/ # use ExtUtils::MakeMaker; WriteMakefile ( 'NAME' => 'GD::Convert', 'VERSION_FROM' => 'Convert.pm', 'PREREQ_PM' => { GD => 0 }, 'NO_META' => 1, 'dist' => {'POSTOP'=>'-$(CHMOD) 644 $(DISTVNAME).tar$(SUFFIX)'}, 'ABSTRACT_FROM' => '', 'AUTHOR' => 'Slaven Rezic (slaven@rezic.de)', ); sub MY::postamble { my $postamble = ""; if (defined $ENV{USER} && $ENV{USER} eq 'eserte' && $^O =~ /bsd/i && -f "../../perl.release.mk") { $postamble .= <<'EOF'; .include "../../perl.release.mk" .include "../../perl.cvs.mk" EOF } $postamble; } __END__