Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 10:31:20 +0200
From:      Johann Visagie <wjv@cityip.co.za>
To:        Trevor Johnson <trevor@jpj.net>
Cc:        James Housley <jim@thehousleys.net>, Carlos A M dos Santos <casantos@cpmet.ufpel.tche.br>, FreeBSD ports mailing list <freebsd-ports@FreeBSD.ORG>
Subject:   Re: Script to genarate PLIST?
Message-ID:  <20001013103120.G89714@fling.sanbi.ac.za>
In-Reply-To: <Pine.BSI.4.21.0010121325390.19642-100000@blues.jpj.net>; from trevor@jpj.net on Thu, Oct 12, 2000 at 02:57:05PM -0400
References:  <20001012120017.A97048@fling.sanbi.ac.za> <Pine.BSI.4.21.0010121325390.19642-100000@blues.jpj.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Trevor Johnson on 2000-10-12 (Thu) at 14:57:05 -0400:
> 
> > and the output of
> > the find that adds the directories to $PLIST through "sort -r" (pretty much
> > ensures the directories are removed in a sane order when deinstalling).
> 
> Instead of sort -r, using the -d option will also work.

Hmm, you're right, so it does.  Cool.  :)

> > Hmm, and add something to remove man pages from $PLIST, I suppose.  :-)
> > Let me see what I can do...
> 
> A pass through "grep -vw man" should give a close approximation.  Then
> you'll want to generate the MAN lines.  Here's what I've come up with
> (contains tabs and a long line):

[ etc. ]

Hrm, this is probably a more general approach than the one I took in my
script, which assumes that the MAN<section> variables in Makefile are already
correctly specified.

Maybe all of this should be consolidated into a single script for
ports/Tools/scripts ?

-- Johann


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?20001013103120.G89714>