On 2020/01/09 23:34, Bryan Linton wrote:
> Hello ports@
>
> I was attempting to make some changes to inputmethods/anthy for
> another purpose when I noticed it was woefully out of date.
>
> Version 9100h was released in 2009. Version 0.4 was released six
> months ago (in 2019).
>
>
> Notable changes to the port:
>
> * Old upstream is dead (no updates to website since 2004). Switch
> to the Debian Anthy team since they have become the new upstream.
>
> * Update licence marker to show it's now a mix of GPLv3, LGPLv3,
> and LGPLv2.
>
> * Remove unneeded patch.
>
> * All internal functions and dictionaries have been switched to
> use UTF-8 by default (instead of EUC-JP). Users must switch their
> IMs to use the UTF-8 version of Anthy or they will produce only
> gibberish on output.
>
>
> Questions:
I've not otherwise looked at it, but answering questions:
> * Is setting "DISTFILES = anthy_$V.orig.tar.gz" the best way to cope
> with the naming of the tarball?
This is better:
V = 0.4
DISTNAME = anthy_$V.orig
WRKDIST = ${WRKDIR}/anthy-$V
> * Does the version changing from 9100h to 0.4 require setting EPOCH?
> It seems to have updated fine on my system, but I don't know the
> details of when EPOCH is needed.
Yes. EPOCH is needed whenever the version number goes "backwards"
according to packages-specs(7) format.