[78019] trunk/dports/tex/tex-gantt/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Apr 19 19:07:21 PDT 2011


On Apr 19, 2011, at 12:38, phw at macports.org wrote:

> Revision: 78019
>          http://trac.macports.org/changeset/78019
> Author:   phw at macports.org
> Date:     2011-04-19 10:38:28 -0700 (Tue, 19 Apr 2011)
> Log Message:
> -----------
> Added livecheck to port

You also updated the version, without updating the checksums:

> name			tex-gantt
> -version			1
> +version			1.3
> categories		tex
> platforms		darwin
> maintainers		phw openmaintainer
> @@ -27,8 +27,6 @@
>                     sha1    48b9e1aa40621d108ecc8ca8e384865f93eea119 \
>                     rmd160  2320d4e95f7b237ea5cd183beaf6eaf591b9316f

The distfile name doesn't contain the version number, so this port should follow the recipe for unversioned distfiles:

https://trac.macports.org/wiki/PortfileRecipes#unversioned-distfiles

This caused a checksum mismatch for some users, presumably those who happened to receive the distfile from the main mirror, which still had the old distfile of this name:

https://lists.macosforge.org/pipermail/macports-dev/2011-April/014632.html


> post-extract {
> 	file rename ${distpath}/${distname}.sty ${workpath}/${distname}.sty
> }

You probably didn't see the problem because you actually installed the port before, and here in post-extract, you're actually moving the distfile, which is another thing we don't really do. You should copy the distfile instead.

Finally I noticed that the port installs only a single text file, therefore the port should indicate it doesn't install any architecture-specific files by setting "supported_archs noarch".

I've fixed all of the above:

https://trac.macports.org/changeset/78024





More information about the macports-dev mailing list