projects
/
MARC-Fast
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added resources to META.yml
[MARC-Fast]
/
Makefile.PL
diff --git
a/Makefile.PL
b/Makefile.PL
index
e5b691a
..
7cd00f1
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-3,12
+3,39
@@
use ExtUtils::MakeMaker;
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'MARC::Fast',
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'MARC::Fast',
- VERSION_FROM => 'Fast.pm', # finds $VERSION
+ VERSION_FROM => '
lib/MARC/
Fast.pm', # finds $VERSION
AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
ABSTRACT => '',
PREREQ_PM => {
'Test::Simple' => 0.44,
AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
ABSTRACT => '',
PREREQ_PM => {
'Test::Simple' => 0.44,
- '
Test::Exception
' => 0,
+ '
Data::Dump
' => 0,
'Carp' => 0,
},
'Carp' => 0,
},
+ META_MERGE => {
+ resources => {
+ license => 'http://www.gnu.org/licenses/gpl-2.0.html',
+ bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=MARC-Fast',
+ repository => 'http://github.com/dpavlin/MARC-Fast'
+ },
+ },
);
);
+
+sub MY::postamble {
+ return <<'MAKE_MORE';
+
+changelog:
+ git log > Changes
+
+cpan:
+ make clean
+ rm -f MARC-Fast-*.tar.gz
+ perl Makefile.PL
+ make changelog
+ make dist
+ make disttest
+ @echo
+ @echo -n "Upload" MARC-Fast-*.tar.gz "to CPAN? [y/N]:"
+ @read upload && test "$$upload" == "y" && cpan-upload -verbose MARC-Fast-*.tar.gz
+
+MAKE_MORE
+}