Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sc8-pr-cvs17:/tmp/cvs-serv24423

Modified Files:
        encode-pm.info 
Log Message:
New upstream version (2.23)

Incorporated the -bin split offs back into the main package, using
update-alternatives


Index: encode-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/encode-pm.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- encode-pm.info      16 Jun 2007 22:45:13 -0000      1.6
+++ encode-pm.info      3 Nov 2007 18:56:30 -0000       1.7
@@ -1,6 +1,6 @@
 Info2: <<
 Package: encode-pm%type_pkg[perl]
-Version: 2.18
+Version: 2.23
 Revision: 1
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Distribution: (%type_pkg[perl] = 581) 10.3, (%type_pkg[perl] = 581) 10.4, 
(%type_pkg[perl] = 584) 10.3, (%type_pkg[perl] = 584) 10.4
@@ -12,22 +12,33 @@
 # Dependencies:
 Depends: perl%type_pkg[perl]-core
 BuildDepends: fink (>= 0.20.6-1)
-Conflicts: %N-man
-Replaces: %N-man
+Conflicts: %N-man, %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin
+Replaces: %N-man, %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin, %{Ni}588-bin
 
 # Unpack Phase:
 Source: mirror:cpan:authors/id/D/DA/DANKOGAI/Encode-%v.tar.gz
-Source-MD5: b16ee372b5289303c1863c0371e4d3d9
+Source-MD5: 0b96a73d0bf7586946b651a0e30cfe17
 
 # Install Phase:
 UpdatePOD: true
 DocFiles: AUTHORS Changes MANIFEST README
-SplitOff2: <<
- Package: %N-bin
- Depends: %N (= %v-%r)
- Conflicts: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin
- Replaces: %{Ni}581-bin, %{Ni}584-bin, %{Ni}586-bin
- Files: bin
+InstallScript: <<
+       %{default_script}
+       mv %i/share/man %i/lib/perl5/%type_raw[perl]
+       mv %i/bin/enc2xs %i/bin/enc2xs-%type_raw[perl]
+       mv %i/bin/piconv %i/bin/piconv-%type_raw[perl]
+<<
+PostInstScript: <<
+if [ "$1" = configure ]; then
+       update-alternatives \
+       --install %p/bin/enc2xs enc2xs %p/bin/enc2xs-%type_raw[perl] 
%type_pkg[perl] \
+  --slave   %p/bin/piconv piconv %p/bin/piconv-%type_pkg[perl]
+fi
+<<
+PreRmScript: <<
+if [ "$1" = remove ]; then
+       update-alternatives --remove enc2xs %p/bin/enc2xs-%type_raw[perl]
+fi
 <<
 
 # Additional Data:
@@ -39,7 +50,8 @@
  See "perldoc Encode" for the rest of the story
 <<
 DescPackaging: <<
- No moving of man pages needed, since there are none as of version 2.18
+ The old archive-zip-pmXXX-bin packages are re-incorporated
+ into the archive-zip-pmXXX packages as of 2.23-1.
 <<
 Homepage: http://search.cpan.org/dist/Encode/
 <<


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to