Update of 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/libs/perlmods
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15242/10.4-transitional/unstable/main/finkinfo/libs/perlmods

Modified Files:
        xml-sax-expat-pm.info xml-sax-pm.info 
Log Message:
New revision of xml-sax-pm that validates, and that allows purging more
than one perl version at the same time.


Index: xml-sax-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/libs/perlmods/xml-sax-pm.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- xml-sax-pm.info     19 Dec 2005 15:38:21 -0000      1.4
+++ xml-sax-pm.info     20 Dec 2005 07:31:04 -0000      1.5
@@ -1,7 +1,7 @@
 Info2: <<
 Package: xml-sax-pm%type_pkg[perl]
 Version: 0.13
-Revision: 1
+Revision: 2
 Replaces: xml-sax-pm (<= 0.12-16), %{Ni}560, %{Ni}580, %{Ni}581, %{Ni}584, 
%{Ni}586
 Source: mirror:cpan:authors/id/M/MS/MSERGEANT/XML-SAX-%v.tar.gz
 Source-MD5: e8b1ce0a954888bcd3aa2ed8621774ef
@@ -19,6 +19,9 @@
 
 #  mv %i/lib/perl5/XML %i/lib/perl5/%type_raw[perl]
   mv %i/share/man %i/lib/perl5/%type_raw[perl]
+  install -d -m 755 %i/sbin
+  mv %i/bin/update-perl-sax-parsers 
%i/sbin/update-perl%type_pkg[perl]-sax-parsers
+  rmdir %i/bin
 <<
 PreInstScript: <<
 if [ "$1" = install ]
@@ -42,15 +45,18 @@
 PostInstScript: <<
 if [ "$1" = configure ]
 then
-        update-perl-sax-parsers --add XML::SAX::PurePerl
-        update-perl-sax-parsers --update
+        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --add XML::SAX::PurePerl
+        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
 fi
 <<
 PreRmScript: <<
 if [ "$1" = remove ]
 then
-        update-perl-sax-parsers --remove XML::SAX::PurePerl
-        update-perl-sax-parsers --update
+        install -d -m 755 %p/etc/perl/XML/SAX
+        install -d -m 755 %p/etc/perl/XML/SAX/ParserDetails.d
+        touch %p/etc/perl/XML/SAX/ParserDetails.ini
+        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --remove 
XML::SAX::PurePerl
+        %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
 fi
 <<
 PostRmScript: <<

Index: xml-sax-expat-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/libs/perlmods/xml-sax-expat-pm.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xml-sax-expat-pm.info       9 Nov 2005 19:49:25 -0000       1.2
+++ xml-sax-expat-pm.info       20 Dec 2005 07:31:04 -0000      1.3
@@ -1,14 +1,16 @@
 Info2: <<
 Package: xml-sax-expat-pm%type_pkg[perl]
 Version: 0.37
-Revision: 1
-Type: perl(5.8.1 5.8.6)
+Revision: 2
+Type: perl (5.8.1 5.8.4 5.8.6)
 Description: Perl module, SAX2 Driver for Expat
 License: Artistic
 Maintainer: Koen van der Drift <[EMAIL PROTECTED]>
 
 # Dependencies:
-Depends: xml-parser-pm%type_pkg[perl], xml-sax-pm%type_pkg[perl]
+Depends: xml-parser-pm%type_pkg[perl], xml-sax-pm%type_pkg[perl] (>= 0.13-2)
+Conflicts: %{Ni}581-doc, %{Ni}584-doc, %{Ni}586-doc
+Replaces: %{Ni}581-doc, %{Ni}584-doc, %{Ni}586-doc
 
 # Unpack Phase:
 Source: mirror:cpan:authors/id/R/RB/RBERJON/XML-SAX-Expat-%v.tar.gz
@@ -20,21 +22,20 @@
 # Install Phase:
 UpdatePOD: True
 DocFiles: Changes MANIFEST
+InstallScript: <<
+  %{default_script}
+  mv %i/share/man %i/lib/perl5/%type_raw[perl]
+<<
 PostInstScript: <<
- %p/sbin/update-perl-sax-parsers --add XML::SAX::Expat
- %p/sbin/update-perl-sax-parsers --update
+ %p/sbin/update-perl%type_pkg[perl]-sax-parsers --add XML::SAX::Expat
+ %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
 <<
 PreRmScript: <<
  if [ "$1" != "remove" -a "$1" != "purge" ]; then
   exit 0
  fi
- %p/sbin/update-perl-sax-parsers --remove XML::SAX::Expat
- %p/sbin/update-perl-sax-parsers --update
-<<
-SplitOff: <<
- Package: %N-doc
- Depends: %N (= %v-%r)
- Files: share/man
+ %p/sbin/update-perl%type_pkg[perl]-sax-parsers --remove XML::SAX::Expat
+ %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
 <<
 
 # Additional Data:



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to