Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 17:43:58 +0300
From:      Maxim Sobolev <sobomax@freebsd.org>
To:        Will Andrews <andrews@technologist.com>
Cc:        Satoshi - Ports Wraith - Asami <asami@freebsd.org>, ports@freebsd.org
Subject:   Re: cvs commit: ports/x11-wm/afterstep/pkg PLIST
Message-ID:  <3935252E.B095850A@freebsd.org>
References:  <200005310650.XAA07743@freefall.freebsd.org> <vqcbt1nqiq0.fsf@silvia.hip.berkeley.edu> <20000531103520.F22499@argon.gryphonsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Will Andrews wrote:

> On Wed, May 31, 2000 at 12:31:03AM -0700, Satoshi - Ports Wraith - Asami wrote:
> > Not to rake on my old violin, but things like this are exactly why I
> > added the pkg_delete check.
> >
> > People, please check the logs and fix up the PLISTs!  It's really not
> > that hard!  (Usually.... ;)
>
> Maxim suggested a surefure EASY way to help update PLISTs faster (and I
> improved on it myself):
>
> make install
> make deinstall
> find $PREFIX -cmin -15 | awk -F$PREFIX '{print $2}' >> pkg/PLIST
> edit pkg/PLIST manually
>
> i.e.
>
> find /usr/X11R6 -cmin -15 | awk -F\/usr\/X11R6\/ '{print $2}' >> pkg/PLIST
>
> This method could be noted in the Porters' Handbook...

I'm usually using sed "s|$PREFIX||" instead of awk and adding sort to the end of
the pipe (or "sort -r" if I hunting for dirs), but it basically the same ;).

-Maxim



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?3935252E.B095850A>