You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@sergeant.org on 2006/08/16 22:44:29 UTC

[SVN] [97] Standard perl makefile gumpf

Revision: 97
Author:   matt
Date:     2006-08-16 20:44:10 +0000 (Wed, 16 Aug 2006)

Log Message:
-----------
Standard perl makefile gumpf

Added Paths:
-----------
    trunk/Changes
    trunk/MANIFEST
    trunk/MANIFEST.SKIP
    trunk/Makefile.PL

Added: trunk/Changes
===================================================================
--- trunk/Changes	2006-08-16 20:40:57 UTC (rev 96)
+++ trunk/Changes	2006-08-16 20:44:10 UTC (rev 97)
@@ -0,0 +1,3 @@
+
+0.01
+    -- Initial release

Added: trunk/MANIFEST
===================================================================
--- trunk/MANIFEST	2006-08-16 20:40:57 UTC (rev 96)
+++ trunk/MANIFEST	2006-08-16 20:44:10 UTC (rev 97)
@@ -0,0 +1,96 @@
+axkit
+Changes
+demo/disabled/docs/index.html
+demo/disabled/gallery/index.html
+demo/disabled/index.html
+demo/disabled/tal/index.html
+demo/disabled/xpathscript/index.html
+demo/disabled/xslt/index.html
+demo/disabled/xsp/index.html
+demo/error.xsl
+demo/gallery/.stylesheets/breadcrumb.xsl
+demo/gallery/.stylesheets/filelist2proofsheet.xsl
+demo/gallery/.stylesheets/identity.xsl
+demo/gallery/.stylesheets/imagesheet2html.xsl
+demo/gallery/.stylesheets/proofsheet2html.xsl
+demo/gallery/.stylesheets/proofsheet2rss.xsl
+demo/gallery/.stylesheets/sortfilelist.xsl
+demo/gallery/Boomerang.jpg
+demo/gallery/DSC_8169.jpg
+demo/gallery/DSC_8177.jpg
+demo/gallery/DSC_8178-2.jpg
+demo/gallery/DSC_8188.jpg
+demo/gallery/DSC_8198.jpg
+demo/icons/folder.gif
+demo/stylesheets/default.css
+demo/tal/index.xml
+demo/tal/tal.html
+demo/xpathscript/demo.xps
+demo/xpathscript/index.xml
+demo/xpathscript/no_wrapper.xps
+demo/xpathscript/non_xml_output.xps
+demo/xpathscript/passthru.xps
+demo/xpathscript/stylesheet.xps
+demo/xpathscript/test.xml
+demo/xslt/01.xml
+demo/xslt/02_include.xml
+demo/xslt/03_document_1arg.xml
+demo/xslt/04_document.xml
+demo/xslt/04_document_2args.xml
+demo/xslt/05_params.xml
+demo/xslt/main.xsl
+demo/xslt/pod.xsl
+demo/xslt/stylesheet.xsl
+demo/xslt/stylesheets/01.xsl
+demo/xslt/stylesheets/02_include.xsl
+demo/xslt/stylesheets/02_include_inc.xsl
+demo/xslt/stylesheets/03_document_1arg.xsl
+demo/xslt/stylesheets/04_document_2args.xsl
+demo/xslt/stylesheets/05_params.xsl
+demo/xslt/stylesheets/identity.xsl
+demo/xsp/test.xsp
+etc/axkit.conf.sample
+lib/AxKit2.pm
+lib/AxKit2/Client.pm
+lib/AxKit2/Config.pm
+lib/AxKit2/Config/Global.pm
+lib/AxKit2/Config/Location.pm
+lib/AxKit2/Config/Server.pm
+lib/AxKit2/Connection.pm
+lib/AxKit2/Console.pm
+lib/AxKit2/Constants.pm
+lib/AxKit2/Docs/WritingPlugins.pod
+lib/AxKit2/HTTPHeaders.pm
+lib/AxKit2/Plugin.pm
+lib/AxKit2/Processor.pm
+lib/AxKit2/Server.pm
+lib/AxKit2/Transformer.pm
+lib/AxKit2/Transformer/TAL.pm
+lib/AxKit2/Transformer/XPathScript.pm
+lib/AxKit2/Transformer/XSLT.pm
+lib/AxKit2/Transformer/XSP.pm
+lib/AxKit2/Utils.pm
+lib/AxKit2/XSP/SimpleTaglib.pm
+lib/AxKit2/XSP/TaglibHelper.pm
+Makefile.PL
+MANIFEST			This list of files
+MANIFEST.SKIP
+plugins/cachecache
+plugins/demo/doc_viewer
+plugins/demo/gallery
+plugins/demo/serve_tal
+plugins/demo/serve_xpathscript
+plugins/demo/serve_xslt
+plugins/demo/serve_xsp
+plugins/demo/wiki
+plugins/dir_to_xml
+plugins/error_xml
+plugins/fast_mime_map
+plugins/logging/warn
+plugins/magic_mime_map
+plugins/request_log
+plugins/serve_cgi
+plugins/serve_file
+plugins/stats
+plugins/uri_to_file
+TODO.txt

Added: trunk/MANIFEST.SKIP
===================================================================
--- trunk/MANIFEST.SKIP	2006-08-16 20:40:57 UTC (rev 96)
+++ trunk/MANIFEST.SKIP	2006-08-16 20:44:10 UTC (rev 97)
@@ -0,0 +1,30 @@
+CVS/.*
+\.cvsignore$
+\.bak$
+\.sw[a-z]$
+\.tar$
+\.tgz$
+\.tar\.gz$
+\.o$
+\.xsi$
+\.bs$
+output/.*
+\.#
+^mess/
+^sqlite/
+^output/
+^tmp/
+^blib/
+^blibdirs$
+^Makefile$
+^Makefile\.[a-z]+$
+^pm_to_blib$
+~$
+^MANIFEST\.bak
+^tv\.log$
+^MakeMaker-\d
+\#$
+\B\.svn\b
+etc/axkit.conf$
+access_log$
+myfirstplugin

Added: trunk/Makefile.PL
===================================================================
--- trunk/Makefile.PL	2006-08-16 20:40:57 UTC (rev 96)
+++ trunk/Makefile.PL	2006-08-16 20:44:10 UTC (rev 97)
@@ -0,0 +1,47 @@
+#!/usr/bin/perl -w
+
+use ExtUtils::MakeMaker;
+
+use strict;
+use warnings;
+
+BEGIN {
+
+my @optionals;
+push @optionals, 'Cache::Cache' unless eval { require Cache::Cache };
+push @optionals, 'Pod::SAX' unless eval { require Pod::SAX };
+push @optionals, 'File::MMagic' unless eval { require File::MMagic };
+push @optionals, 'RDF::Core' unless eval { require RDF::Core };
+push @optionals, 'XML::XPathScript' unless eval { require XML::XPathScript };
+
+if (@optionals) {
+    print <<EOT;
+The following optional modules are not available. They are required to make some
+of the demos works so you may wish to install them:
+
+EOT
+    print "$_\n" for @optionals;
+    print "\n";
+}
+
+}
+
+WriteMakefile(
+    NAME           => 'AxKit2',
+    VERSION_FROM   => 'lib/AxKit2.pm',
+    PREREQ_PM      => {
+        'Danga::Socket' => 1.52,
+        'XML::LibXML'   => 1.59,
+        'XML::LibXSLT'  => 1.59,
+        'XML::LibXML::XPathContext' => 0.07,
+    },
+    ABSTRACT_FROM  => 'lib/AxKit2.pm',
+    AUTHOR         => 'Apache Software Foundation <ax...@axkit.org>',
+    EXE_FILES      => [qw(axkit)],
+);
+
+sub MY::libscan {
+    my $path = $_[1];
+    return '' if $path =~ /\B\.svn\b/;
+    return $path;
+}