[csw-devel] SF.net SVN: gar:[20847] csw/mgar/pkg/cpan

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Apr 23 13:58:07 CEST 2013


Revision: 20847
          http://gar.svn.sourceforge.net/gar/?rev=20847&view=rev
Author:   dmichelsen
Date:     2013-04-23 11:58:06 +0000 (Tue, 23 Apr 2013)
Log Message:
-----------
cpan/XML-SAX-ExpatXS/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/branches/
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/tags/
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/Makefile
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/checksums
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/0001-Do-not-install-parser.patch
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.postinstall
    csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.preremove


Property changes on: csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk
___________________________________________________________________
Added: svn:ignore
   + work



Added: csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/Makefile	2013-04-23 11:58:06 UTC (rev 20847)
@@ -0,0 +1,26 @@
+NAME = XML-SAX-ExpatXS
+VERSION = 1.33
+CATEGORIES = cpan
+GARTYPE = v2
+AUTHOR = PCIMPRICH
+
+DESCRIPTION = Perl SAX parser using Expat
+define BLURB
+endef
+
+DISTFILES += CSWpm-xml-sax-expatxs.postinstall
+DISTFILES += CSWpm-xml-sax-expatxs.preremove
+
+PATCHFILES += 0001-Do-not-install-parser.patch
+
+CATALOG_RELEASE = unstable
+
+LICENSE_TEXT = This module is licensed under the unknown license
+
+PACKAGES += CSWpm-xml-sax-expatxs
+CATALOGNAME_CSWpm-xml-sax-expatxs = pm_xml_sax_expatxs
+SPKG_DESC_CSWpm-xml-sax-expatxs = Perl SAX parser using Expat
+RUNTIME_DEP_PKGS_CSWpm-xml-sax-expatxs += CSWpm-xml-sax
+RUNTIME_DEP_PKGS_CSWpm-xml-sax-expatxs += CSWlibexpat1
+
+include gar/category.mk

Added: csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/checksums	2013-04-23 11:58:06 UTC (rev 20847)
@@ -0,0 +1 @@
+3d69bb642ea275871a2f91a08a51cd8c  XML-SAX-ExpatXS-1.33.tar.gz

Added: csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/0001-Do-not-install-parser.patch
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/0001-Do-not-install-parser.patch	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/0001-Do-not-install-parser.patch	2013-04-23 11:58:06 UTC (rev 20847)
@@ -0,0 +1,41 @@
+From 92f27570fb9f0465a1176d21ff75ae6e89501ae3 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 23 Apr 2013 13:53:55 +0200
+Subject: [PATCH] Do not install parser
+
+---
+ Makefile.PL | 18 ------------------
+ 1 file changed, 18 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 0f23847..240f4f4 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -100,24 +100,6 @@ WriteMakefile(
+ );
+ 
+ 
+-sub MY::install {
+-    package MY;
+-    my $script = shift->SUPER::install(@_);
+-    if (ExtUtils::MakeMaker::prompt("Do you want to alter ParserDetails.ini?", "Y") =~ /^y/i) {
+-        $script =~ s/install :: (.*)$/install :: $1 install_expat_xs/m;
+-        $script .= <<"INSTALL";
+-
+-install_expat_xs :
+-\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()"
+-
+-INSTALL
+-
+-    }
+-
+-    return $script;
+-}
+-
+-
+ sub build_xml_sax_expatxs_preload {
+     
+     print "Writing XML::SAX::ExpatXS::Preload\n";
+-- 
+1.8.1.4
+

Copied: csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.postinstall (from rev 20846, csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.postinstall)
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.postinstall	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.postinstall	2013-04-23 11:58:06 UTC (rev 20847)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+CHROOTDIR=${BASEDIR:-/}
+
+echo
+echo Registering XML parser XML::SAX::ExpatXS
+echo 
+
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()"
+
+exit 0

Copied: csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.preremove (from rev 20846, csw/mgar/pkg/cpan/XML-SAX/trunk/files/CSWpm-xml-sax.preremove)
===================================================================
--- csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.preremove	                        (rev 0)
+++ csw/mgar/pkg/cpan/XML-SAX-ExpatXS/trunk/files/CSWpm-xml-sax-expatxs.preremove	2013-04-23 11:58:06 UTC (rev 20847)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+CHROOTDIR=${BASEDIR:-/}
+
+echo
+echo Unregistering XML parser XML::SAX::ExpatXS
+echo 
+
+${BASEDIR}/usr/sbin/chroot ${CHROOTDIR} /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::ExpatXS))->save_parsers()"
+
+exit 0

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list