Date: Thu, 31 May 2001 02:05:01 +0200 From: Anton Berezin <tobez@tobez.org> To: Danny Howard <dannyman@tellme.com> Cc: freebsd-ports@freebsd.org Subject: Re: automated package list creation for perl modules? Message-ID: <20010531020501.B14468@heechee.tobez.org> In-Reply-To: <20010530155215.P79218@tellme.com>; from dannyman@tellme.com on Wed, May 30, 2001 at 03:52:15PM -0700 References: <20010530155215.P79218@tellme.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 30, 2001 at 03:52:15PM -0700, Danny Howard wrote: > I'm running 4-STABLE. > > I'm trying to do > http://www.freebsd.org/porters-handbook/book.html#PORTING-AUTOPLIST > > So, I write a script to do this. The catch is ... > > I'm not installing the perl modules in PREFIX so I can't get any mtree > lovin'. :( > INSTALLSITELIB = /usr/local/lib/perl5/site_perl/5.005 > INSTALLSITEARCH = /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > SITELIBEXP = /usr/local/lib/perl5/site_perl/5.005 > SITEARCHEXP = /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > INSTALLMAN1DIR = /usr/local/man/man1 > INSTALLMAN3DIR = /usr/local/lib/perl5/5.00503/man/man3 > PREFIX = /tmp > > YAGH! Ideas? Yes. Don't bother with that. *None* of the p5-ports are PREFIX-clean in -stable. Supposedly, *all* p5-ports are PREFIX-clean in -current. Eventually, the dirty piece of perl code named BSDPAN will be MFC'ed to -stable, so that p5-ports will become PREFIX-clean in -stable, too. So there is very little point in propagating the value of PREFIX to INSTALLSITELIB, INSTALLSITEARCH, INSTALLBIN, INSTALLSCRIPT, INSTALLMAN1DIR, and INSTALLMAN3DIR for a single port of yours (but this will also solve the problem, if you insist; the actual problem is that MakeMaker.pm has finer granularity of variables to control where various pieces are installed). As for automated plist generation, I would suggest you to use a dedicated porting jail; personally, I find this approach a bit more convenient then the one described in the Porter's Handbook. Request me privately if you want the scripts I use for doing this - they are not polished enough to present them to a wide audience. ;-) Cheers, \Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010531020501.B14468>