[78043] trunk/dports/tex

Ryan Schmidt ryandesign at macports.org
Wed Apr 20 14:56:18 PDT 2011


On Apr 20, 2011, at 08:50, phw at macports.org wrote:

> Revision: 78043
>          http://trac.macports.org/changeset/78043
> Author:   phw at macports.org
> Date:     2011-04-20 06:50:17 -0700 (Wed, 20 Apr 2011)
> Log Message:
> -----------
> New port: tex-f7u12, a latex package to generate rage-faces
> 
> Added Paths:
> -----------
>    trunk/dports/tex/tex-f7u12/
>    trunk/dports/tex/tex-f7u12/Portfile
> 
> Added: trunk/dports/tex/tex-f7u12/Portfile
> ===================================================================
> --- trunk/dports/tex/tex-f7u12/Portfile	                        (rev 0)
> +++ trunk/dports/tex/tex-f7u12/Portfile	2011-04-20 13:50:17 UTC (rev 78043)
> @@ -0,0 +1,43 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem 1.0
> +
> +name			tex-f7u12
> +version			dev

"dev" is not a valid version number. Use an actual version number, or perhaps a date.

> +fetch.type	   git
> +git.url 	   https://github.com/jesusabdullah/latex-f7u12.git
> +git.branch     origin/master

Don't fetch from master. Fetch from as specific version or commit.

> +checksums           md5     7a5ac28f0267e419b8d79d049cfca652 \
> +                    sha1    6896f5e689a5927b7fb71387e82ccad27e27cdff \
> +                    rmd160  bd3da9417d7cd0244f519d98b9c16d73ab9d8887

If you're fetching from git, checksums aren't used.

> +post-activate		{ system "mktexlsr" }

What does this do? The manpage says it's used to "generate the ls-R databases". Presumably this means that, post-activate, this port tex-f7u12 will be added to that database? If so, shouldn't there be a similar (or identical?) post-deactivate phase to remove it from the database again?

> +livecheck.type		none

Once you fix the above to fetch from an actual version or date, you'll want to fix the livecheck.




More information about the macports-dev mailing list