15 Nov
2006
15 Nov
'06
7:38 p.m.
Of course it doesn't work at all like that. But the idea is nice. And the solution is not too hard I think. create a macro in pkgmk, it looks like this: Configure() { ./configure \ --prefix=/usr \ --mandir=/usr/man \ --infodir=/usr/info \ --disable-dns } Or something like that. Now that we're creating macro's... remove_perlcrap() { # Remove perlcrap find $PKG \ -name .packlist -or \ -name '*.bs' -or \ -name autosplit.ix -or \ -name perllocal.pod | xargs rm # Remove empty directories, ignore returncode find $PKG -depth -type d -print0| xargs -0 rmdir > /dev/null 2>&1 || : } # Han -- http://www.xs4all.nl/~hanb/software/crux/