move man1/ -> doc/, style changes to Makefile.PL
[umph.git] / Makefile.PL
blob6f5ac0f7c2dd74fb2ccb41e07c5e2e1b7397df20
1 #!/usr/bin/env perl
3 use warnings;
4 use strict;
6 use 5.008009;
7 use ExtUtils::MakeMaker;
9 WriteMakefile(
10 'NAME' => 'umph',
11 VERSION_FROM => 'bin/umph',
12 ($[ >= 5.8)
13 ? (
14 AUTHOR => 'Toni Gundogdu <legatvs at sign gmail com>',
15 'ABSTRACT' =>
16 'Command line tool for parsing video links from YouTube feeds'
18 : (),
19 'VERSION_FROM' => 'bin/umph',
20 'EXE_FILES' => ['bin/umph'],
21 'PREREQ_PM' => {
23 # Earlier versions may work. The module has been confirmed to work with:
24 'Getopt::ArgvFile' =>
25 1.11, # <http://search.cpan.org/perldoc?Getopt::ArgvFile>
26 'XML::DOM' => 1.44, # <http://search.cpan.org/perldoc?XML::DOM>
27 'version' => 0.77, # <http://search.cpan.org/perldoc?version>
29 'LICENSE' => 'gpl',
30 'MAN1PODS' =>
31 {'doc/man1/umph.1.pod' => '$(INST_MAN1DIR)/umph.$(MAN1EXT)'},
32 dist => {
33 PREOP => '@if test -f .git/HEAD; then \
34 git log --stat --after="Thu Feb 24 22:09:34 2011" >ChangeLog; \
35 fi',
36 POSTOP => '@if test -f .git/HEAD; then \
37 git checkout ChangeLog; \
38 fi',