Subject: Re: pkgsrc changes.
To: Todd Vierling <tv@pobox.com>
From: Alistair Crooks <azcb0@amdahl.com>
List: current-users
Date: 06/23/1998 03:46:31
[Discussion moved to tech-pkg (Yaay, thanks, Jason) from tech-userlevel]

> On Mon, 22 Jun 1998, Alistair Crooks wrote:
> 
> : I have tested this across a lot of packages, but my test machine is a
> : 486 DX2/66 - not the fastest beast on this Earth, so I could have missed
> : something. If so, please use send-pr in the usual way.
> 
> There is a situation this does not handle:  where ${MAN?PREFIX} is not the
> empty string, as it is for MAN3PREFIX in lang/perl5.  The automatic handling
> cannot cope with a path that isn't of the form man/{man,cat}?/*.? (without
> extra stuff at the front).

Actually, the automatic manual page handling deals with leading
directories fine - the old MANPREFIX or MAN[1-9ln]PREFIX cases - the
egrep gonzo regular expression was carefully constructed to deal with
them, as well as MANLANG intermediate directories. However, what it
couldn't handle was multiple files in ${PLIST_SRC}, and I've just
checked in a fix for that - version 1.105 of bsd.pkg.mk should handle
this fine.

root@pumpy:/u/cvs/pkgsrc/converters/p5-MIME-Base64(2108)# grep man pkg/PLIST*
pkg/PLIST-mi:lib/perl5/man/man3/MIME::Base64.3.gz
pkg/PLIST-mi:lib/perl5/man/man3/MIME::QuotedPrint.3.gz
root@pumpy:/u/cvs/pkgsrc/converters/p5-MIME-Base64(2109)# make install PKG_VERBOSE=1
>> Checksum OK for MIME-Base64-2.05.tar.gz.
===>  Extracting for p5-MIME-Base64-2.05
===>  p5-MIME-Base64-2.05 depends on installed package: perl-5.00404
===>  Patching for p5-MIME-Base64-2.05
===>  Configuring for p5-MIME-Base64-2.05
Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
===>  Building for p5-MIME-Base64-2.05
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/lib/MIME
...
===>   [Automatic manual page handling]
===>   Compressing manual pages for p5-MIME-Base64-2.05
lib/perl5/man/man3/MIME::Base64.3
lib/perl5/man/man3/MIME::QuotedPrint.3
===>  Registering installation for p5-MIME-Base64-2.05
root@pumpy:/u/cvs/pkgsrc/converters/p5-MIME-Base64(2110)#