Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2000 17:03:35 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        James Housley <jim@thehousleys.net>
Cc:        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:  <39E47337.A085FD80@FreeBSD.org>
References:  <Pine.BSF.4.21.0010101319480.1220-100000@gate.cpmet.ufpel.tche.br> <39E47200.7125F0BF@thehousleys.net>

next in thread | previous in thread | raw e-mail | index | archive | help
James Housley wrote:

> Carlos A M dos Santos wrote:
> >
> > Hello
> >
> > Have someone written a script to generate a PLIST from an installation
> > directory tree? I'd like to make something like
> >
> >         % make install DESTDIR=/var/tmp/pkg-name
> >         % mk_plist /var/tmp/pkg-name > PLIST
> >
> The porters handbook show how to do this.
>
> http://www.freebsd.org/porters-handbook/porting-autoplist.html
>
> However it could use some improvements.

I usually have the following in my .profile:
alias uplist='find `make -V PREFIX` \( -type f -or -type l \) -cmin -10 | sort
| sed "s|`make -V PREFIX`/||"'
alias duplist='find `make -V PREFIX` -type d -cmin -10 | sort -r | sed "s|`make
-V PREFIX`/|@dirrm |"'

-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?39E47337.A085FD80>