use ExtUtils::MakeMaker; WriteMakefile ( NAME => 'vshnu', VERSION => '1.0302', # package version; also ../*.html, # mailing list?, freshmeat?, pause? ABSTRACT => 'a visual shell supplement', AUTHOR => 'Steve Kinzler ', # DATE => 'Nov 2000', # URL => 'http://www.cs.indiana.edu/~kinzler/vshnu/', LICENSE => 'GPL', EXE_FILES => ['vshnu'], PM => {'vshnucfg.pl' => '$(INST_LIBDIR)/vshnucfg.pl'}, PREREQ_PM => {'Term::Screen' => '0', 'Term::ANSIColor' => '0'}, dist => {COMPRESS => 'gzip -9f', SUFFIX => '.gz', POSTOP => 'rename s/tar.gz/tgz/ $(DISTVNAME)*;' . ' mv $(DISTVNAME)* ..;' . ' (cd ..; make colorize)'}, ); # 1.0000 07 Nov 2000 Initial public release # 1.0001 15 Nov 2000 Color text pager defaults to `less -r` if PAGER=less # 1.0002 05 Dec 2000 Add 'sleep 1' to backgrounded commands; *bz2 support # 1.0003 13 Dec 2000 Version format x.y.z -> x.0y0z; s/.pm// in libperl # 1.0004 25 Jan 2001 Add ReadLine package to ^V command output # 1.0005 26 Jan 2001 Use most specific LS_COLORS match and "--color=yes" # 1.0006 27 Apr 2001 Improve Slashdot interface in vshnurc # 1.0007 29 May 2001 Recognize .\d\w exts as man pages; "go perl:" support # 1.0008 06 Jun 2001 Add `rpm -Fhv` freshen option for rpm files # 1.0009 15 Jun 2001 Add loading of .vshnu* files via typemap # 1.0010 02 Jul 2001 Improve function key support and definitions # 1.0011 19 Oct 2001 Add `md5sum` long listing # 1.0012 01 Feb 2002 Add viewing actions for SSL files # 1.0013 27 Mar 2002 Use VSHNUTMP to enable tmp files and specify location # 1.0100 29 Mar 2002 Use VSHNUCWD and VSHNUENV; Add bash integration # 1.0101 01 Apr 2002 Enhance directory actions; Add ifopt and unlessopt # 1.0102 03 Apr 2002 Fix bug in ifopt and unlessopt for older perls # 1.0103 18 Apr 2002 Add ^_ command for variable listing # 1.0105 14 Jun 2002 Report $! from &sh and &shell; Add $stty_{cooked,raw} # 1.0106 25 Nov 2002 Support non-ANSI non-color terminals # 1.0107 23 Jan 2003 Fix readline for prompts w/ non-visible characters # 1.0108 04 Jun 2003 Include ~/perl in @INC; Use HOSTNAME; Support .tnef # 1.0111 18 Jun 2003 Fixes for signals and readlines; Full versions support # 1.0115 3 Jul 2003 Use Sys::Hostname; Add insert-vshnu-chosen for RL # 1.0119 11 Jul 2003 Add df, -V, separate RL hists, /`p, /`d, misc fixes # 1.0120 4 Dec 2003 Add PGP/GPG actions and LS_COLORS2 support # 1.0121 3 Jun 2004 Improve default apps; Add ^Z alias, &diskdevs, /`v # 1.0122 4 Jun 2004 Add `stat` special file action, /A and + commands # 1.0123 8 Jun 2004 Add &pwd, &diskspace, ^G cmd, .csv and .tsv actions # 1.0124 29 Jun 2004 Enhance RL M-v for configurable/selectable insertions # 1.0126 26 Nov 2004 Add Q cmd; Add X cut buffer integration # 1.0128 31 Jan 2005 Buildin Y/U commands; Improve default apps # 1.0129 1 Feb 2005 Workaround Term::Screen 1.03 "fixes"; Use English # 1.0136 18 Apr 2005 Add built-in df and altls coloring; Fix bugs, pagers # 1.0200 1 May 2005 Add MIME type and mailcap/vshnucap support # 1.0211 5 Jul 2005 Fix bugs; Recognize mouse events; Search histories # 1.0300 8 Jul 2007 Add mouse support, new config facilities, ordered help # 1.0302 22 Mar 2008 Add help listing titles and coloring/sorting options sub MY::postamble { q~ import: $(CP) $(HOME)/binp/vshnu . $(CP) $(HOME)/etc/vshnucfg vshnucfg.pl $(CP) $(HOME)/etc/vshnurc vshnurc.pl @$(MKPATH) libperl/Term $(CP) $(HOME)/libp/perl/Term/ANSIColor.pm libperl/Term/ANSIColor $(CP) $(HOME)/libp/perl/Term/Screen.pm libperl/Term/Screen @$(MKPATH) tcsh $(CP) $(HOME)/binp/penv tcsh $(PERL) -pi -e '$$. == 2 && s:local/::' tcsh/penv $(CP) $(HOME)/etc/lo $(HOME)/etc/precmd tcsh $(PERL) -pi -e 's,^#!\s*/\S+/perl\S*(\s|$$),#!/usr/bin/perl$$1,' \ `cat MANIFEST` ~; }