cvs commit: ports/textproc Makefile ports/textproc/ack Makefile distinfo pkg-descr pkg-plist

Chris Rees crees at freebsd.org
Thu Aug 11 12:42:26 UTC 2011


On 10 August 2011 15:36, b. f. <bf1783 at googlemail.com> wrote:
> On 8/10/11, b. f. <bf1783 at googlemail.com> wrote:
>> On 8/9/11, Chris Rees <crees at freebsd.org> wrote:
>> ...
>>>>> Would anyone object if I looked at adding danfe's grep suggestion to
>>>>> addport ? We have similar checks in rmport...
>>
>> No, provided that we can tell addport to skip the check -- I prefer to
>> look for matching distfiles and similar portnames or pkg-descr myself,
>> in a separate step, and I don't want to have to do it again.
>
> A separate step, that is, _before_ I've gone to the trouble of
> preparing a new port ...
>

Certainly, so I also put in a new option -y.

Renato, does the patch at [1] look OK?

Sorry if the code is hideous -- if it needs more comments I'm happy to
annotate :P

I'll also mention that it's very generous in its matching;
p5-Mail-SpamAssassin for example would match anything with Mail, mail
spamassassin or SpamAssassin in... Any ideas on how we could make it
less general without detracting from it being useful?

All segments two characters or fewer are ignored (segments are split
by - or _ and short ones are assumed to be country/p5/py etc) and I've
also ignored rubygem. Any I've missed?

Chris

[1] http://people.freebsd.org/~crees/patches/addport-dupecheck.diff


More information about the cvs-ports mailing list