Skip to content

Commit

Permalink
convert to Makefile.PL
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed May 31, 2011
1 parent f54b8eb commit b1f45ad
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 46 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Makefile
blib
pm_to_blib
34 changes: 0 additions & 34 deletions Build.PL

This file was deleted.

3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.78.5
* convert from Build.PL to Makefile.PL

1.78 2009-01-16

* Fix up the license list some more.
Expand Down
3 changes: 2 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Build.PL
cpanget
cpanspec
MANIFEST This list of files
Expand All @@ -8,3 +7,5 @@ Artistic
BUGS
TODO
Changes
Makefile.PL
lib/Intrusive.pm
17 changes: 8 additions & 9 deletions META.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: cpanspec
version: 1.78
abstract: 'Generate a spec file for a CPAN module'
author:
- 'Steven Pritchard <steve@cpan.org>'
abstract: Generate a spec file for a CPAN module
license: perl
resources:
license: http://dev.perl.org/licenses/
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: cpanspec
requires:
Archive::Tar: 0
Archive::Zip: 0
Expand All @@ -22,7 +22,6 @@ requires:
Text::Autoformat: 0
YAML: 0
locale: 0
generated_by: Module::Build version 0.280801
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
resources:
license: http://dev.perl.org/licenses/
version: 1.78.05
30 changes: 30 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Note: this file was auto-generated by Module::Build::Compat version 0.3603
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'NAME' => 'cpanspec',
'EXE_FILES' => [
'cpanget',
'cpanspec'
],
'VERSION_FROM' => 'cpanspec',
'PREREQ_PM' => {
'Parse::CPAN::Packages' => 0,
'Getopt::Long' => 0,
'YAML' => 0,
'Pod::Usage' => 0,
'Archive::Zip' => 0,
'locale' => 0,
'FileHandle' => 0,
'Text::Autoformat' => 0,
'LWP::UserAgent' => 0,
'POSIX' => 0,
'Pod::Simple::TextContent' => 0,
'File::Basename' => 0,
'Archive::Tar' => 0,
'IO::Uncompress::Bunzip2' => 0
}
)
;
6 changes: 4 additions & 2 deletions cpanspec
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ use strict;
use warnings;

our $NAME="cpanspec";
our $VERSION='1.78.04';
our $VERSION='1.78.05';

use Cwd;
BEGIN {
Expand Down Expand Up @@ -792,7 +792,7 @@ for my $ofile (@args) {
push(@files, $entry);

if (-x "$basedir$path/$entry" && -f "$basedir$path/$entry") {
if ($entry !~ m/.pl$/) {
if ($entry !~ m/.pl$/ && $entry !~ m,^bin/,) {
verbose("disable executables because of $entry");
$execs=1;
}
Expand Down Expand Up @@ -858,6 +858,8 @@ for my $ofile (@args) {
# special subdir
push(@doc, "examples") if grep(/^examples\//, @files);
push(@doc, "doc") if grep(/^doc\//, @files);
push(@doc, "util") if grep(/^util\//, @files);
push(@doc, "example") if grep(/^example\//, @files);

my $date=strftime("%a %b %d %Y", localtime);

Expand Down
File renamed without changes.

0 comments on commit b1f45ad

Please sign in to comment.