Update of /cvsroot/fink/web/xml/packaging
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3355

Modified Files:
        packaging.en.xml 
Log Message:
revision to documentation for perl modules


Index: packaging.en.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- packaging.en.xml    19 May 2004 15:04:47 -0000      1.29
+++ packaging.en.xml    22 May 2004 20:41:52 -0000      1.30
@@ -905,15 +905,17 @@
 one exception will be the package <code>storable-pm</code> which needs
 to be in this form for bootstrapping purposes.)
 </p>
-<p>As of fink 0.20.1, the system-perl virtual package automatically
+<p>As of fink 0.20.2, the system-perl virtual package automatically
 "Provides" certain perl modules when the version of Perl present on
 the system is at
 least 5.8.0.  In the case of system-perl-5.8.1-1, these are:
-<em>attribute-handlers-pm, cgi-pm, digest-md5-pm581, file-spec-pm, 
-file-temp-pm, filter-simple-pm581, filter-util-pm581, getopt-long-pm, 
-i18n-langtags-pm, libnet-pm, locale-maketext-pm, memoize-pm, 
-mime-base64-pm581, scalar-list-utils-pm581, test-harness-pm, test-simple-pm, 
-time-hires-pm581.</em>
+<em>attribute-handlers-pm581, cgi-pm581, digest-md5-pm581, file-spec-pm581, 
+file-temp-pm581, filter-simple-pm581, filter-util-pm581, getopt-long-pm581, 
+i18n-langtags-pm581, libnet-pm581, locale-maketext-pm581, memoize-pm581, 
+mime-base64-pm581, scalar-list-utils-pm581, test-harness-pm581, 
+test-simple-pm581, time-hires-pm581.</em>
+(This list was slightly different in fink 0.20.1: package maintainers are
+encouraged to check to be sure that they are assuming the correct list.)
 </p>
 <p>
 Effective with version 0.13.0 of fink, the <code>fink validate</code>
@@ -1959,7 +1961,7 @@
 This is appropriate for packages that use GNU autoconf.
 For packages with of type perl (as specified via the Type field)
 with the perl version not specified,
-the default instead is:
+the default instead (as of fink 0.13.4) is:
 </p>
 <codeblock>perl Makefile.PL PREFIX=%p \
  INSTALLPRIVLIB=%p/lib/perl5 \
@@ -1967,23 +1969,36 @@
  INSTALLSITELIB=%p/lib/perl5 \
  INSTALLSITEARCH=%p/lib/perl5/darwin \
  INSTALLMAN1DIR=%p/share/man/man1 \
- INSTALLMAN3DIR=%p/share/man/man3
+ INSTALLMAN3DIR=%p/share/man/man3 \
+ INSTALLSITEMAN1DIR=%p/share/man/man1 \
+ INSTALLSITEMAN3DIR=%p/share/man/man3 \
+ INSTALLBIN=%p/bin \
+ INSTALLSITEBIN=%p/bin \
+ INSTALLSCRIPT=%p/bin
 make
 make test</codeblock>
 <p>If the type is <code>perl $version</code> with the version specified
-(e.g., $version might be 5.6.0),
+(e.g., <code>$version</code> might be 5.6.0),
 then the default becomes:
 </p>
 <codeblock>perl$version Makefile.PL \
  PERL=perl$version PREFIX=%p \
  INSTALLPRIVLIB=%p/lib/perl5/$version \
- INSTALLARCHLIB=%p/lib/perl5/$version/darwin \
+ INSTALLARCHLIB=%p/lib/perl5/$version/$perlarchdir \
  INSTALLSITELIB=%p/lib/perl5/$version \
- INSTALLSITEARCH=%p/lib/perl5/$version/darwin \
+ INSTALLSITEARCH=%p/lib/perl5/$version/$perlarchdir \
  INSTALLMAN1DIR=%p/share/man/man1 \
- INSTALLMAN3DIR=%p/share/man/man3
+ INSTALLMAN3DIR=%p/share/man/man3 \
+ INSTALLSITEMAN1DIR=%p/share/man/man1 \
+ INSTALLSITEMAN3DIR=%p/share/man/man3 \
+ INSTALLBIN=%p/bin \
+ INSTALLSITEBIN=%p/bin \
+ INSTALLSCRIPT=%p/bin
 make
 make test</codeblock>
+<p>where <code>$perlarchdir</code> is "darwin" for versions 5.8.0 and 
+earlier, and is 
+"darwin-thread-multi-2level" for versions 5.8.1 and later.</p>
 <p>
 Before the commands are executed, percent expansion takes place
 (see previous section).
@@ -2034,24 +2049,39 @@
 The default is appropriate for packages that use GNU autoconf.
 For packages with of type perl (as specified via the Type field)
 with the perl version not specified,
-the default instead is:
+the default instead (as of fink 0.13.4) is:
 </p>
 <codeblock>make install INSTALLPRIVLIB=%i/lib/perl5 \
  INSTALLARCHLIB=%i/lib/perl5/darwin \
  INSTALLSITELIB=%i/lib/perl5 \
  INSTALLSITEARCH=%i/lib/perl5/darwin \
  INSTALLMAN1DIR=%i/share/man/man1 \
- INSTALLMAN3DIR=%i/share/man/man3</codeblock>
+ INSTALLMAN3DIR=%i/share/man/man3 \
+ INSTALLSITEMAN1DIR=%i/share/man/man1 \
+ INSTALLSITEMAN3DIR=%i/share/man/man3 \
+ INSTALLBIN=%i/bin \
+ INSTALLSITEBIN=%i/bin \
+ INSTALLSCRIPT=%i/bin
+</codeblock>
 <p>If the type is <code>perl $version</code> with the version specified
-(e.g., $version might be 5.6.0),
+(e.g., <code>$version</code> might be 5.6.0),
 then the default becomes:
 </p>
 <codeblock>make install INSTALLPRIVLIB=%i/lib/perl5/$version \
- INSTALLARCHLIB=%i/lib/perl5/$version/darwin \
+ INSTALLARCHLIB=%i/lib/perl5/$version/$perlarchdir \
  INSTALLSITELIB=%i/lib/perl5/$version \
- INSTALLSITEARCH=%i/lib/perl5/$version/darwin \
+ INSTALLSITEARCH=%i/lib/perl5/$version/$perlarchdir \
  INSTALLMAN1DIR=%i/share/man/man1 \
- INSTALLMAN3DIR=%i/share/man/man3</codeblock>
+ INSTALLMAN3DIR=%i/share/man/man3 \
+ INSTALLSITEMAN1DIR=%i/share/man/man1 \
+ INSTALLSITEMAN3DIR=%i/share/man/man3 \
+ INSTALLBIN=%i/bin \
+ INSTALLSITEBIN=%i/bin \
+ INSTALLSCRIPT=%i/bin
+</codeblock>
+<p>where <code>$perlarchdir</code> is "darwin" for versions 5.8.0 and 
+earlier, and is 
+"darwin-thread-multi-2level" for versions 5.8.1 and later.</p>
 <p>
 If the package supports it, it is preferably to use <code>make install
 DESTDIR=%d</code> instead. Before the commands are executed, percent



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to