[75554] trunk/dports/tex/latexmk/Portfile

Joshua Root jmr at macports.org
Sat Jan 29 18:25:23 PST 2011


> Revision: 75554
>           http://trac.macports.org/changeset/75554
> Author:   vinc17 at macports.org
> Date:     2011-01-29 17:21:10 -0800 (Sat, 29 Jan 2011)
> Log Message:
> -----------
> latexmk: bump to version 4.22d (no longer use CTAN).
> 
> Modified Paths:
> --------------
>     trunk/dports/tex/latexmk/Portfile
> 
> Modified: trunk/dports/tex/latexmk/Portfile
> ===================================================================
> --- trunk/dports/tex/latexmk/Portfile	2011-01-30 01:16:31 UTC (rev 75553)
> +++ trunk/dports/tex/latexmk/Portfile	2011-01-30 01:21:10 UTC (rev 75554)
> @@ -3,7 +3,7 @@
>  PortSystem          1.0
>  
>  name                latexmk
> -version             4.22c
> +version             4.22d
>  categories          tex print
>  platforms           darwin
>  maintainers         vinc17 openmaintainer
> @@ -18,15 +18,16 @@
>      continuously with a previewer\; the latex program, etc, are rerun        \
>      whenever one of the source files is modified.
>  
> -homepage            http://www.ctan.org/tex-archive/support/latexmk/
> -master_sites        http://www.ctan.org/get/support
> -distname            latexmk
> +homepage            http://www.phys.psu.edu/~collins/software/latexmk-jcc/
> +master_sites        ${homepage}
> +distfiles           latexmk-422d.zip
> +distname            .

While I'm sure this works, setting distname to "." doesn't really make
sense. If anything you'd want to set worksrcdir, but really you probably
want to set 'extract.mkdir yes' instead.

Also, instead of setting distfiles with a hardcoded version, consider
doing something like 'distname ${name}-[string map {. ""} $version]'.

- Josh


More information about the macports-dev mailing list