[42678] trunk/dports/devel/automoc/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Nov 29 19:57:35 PST 2008


On Nov 29, 2008, at 04:18, illogic-al at macports.org wrote:

> Revision: 42678
>           http://trac.macports.org/changeset/42678
> Author:   illogic-al at macports.org
> Date:     2008-11-29 02:18:19 -0800 (Sat, 29 Nov 2008)
> Log Message:
> -----------
> Overlooked this while updating the other kde4 portfiles.
> With this all kde4 Portfiles should use distfiles and ${prefix}.
>
> Modified Paths:
> --------------
>     trunk/dports/devel/automoc/Portfile
>
> Modified: trunk/dports/devel/automoc/Portfile
> ===================================================================
> --- trunk/dports/devel/automoc/Portfile	2008-11-29 09:02:30 UTC  
> (rev 42677)
> +++ trunk/dports/devel/automoc/Portfile	2008-11-29 10:18:19 UTC  
> (rev 42678)
> @@ -3,39 +3,37 @@
>  PortSystem          1.0
>
>  name                automoc
> -version             0.9.87
> +version             0.9.84

If you really want to downgrade the version from 0.9.87 to 0.9.84,  
you need to increase the epoch. Since the port doesn't have an epoch  
line yet, its epoch is 0, so you should set it to at least 1 by  
writing "epoch 1". Note that that line can then never be removed from  
the portfile.


>  revision            1

Note that the first revision of a particular version of a port should  
be 0, not 1, and that you can achieve this by simply removing the  
revision line.


> +distname            ${name}-${version}
> +distfiles           ${distname}.tar.bz2

Note that there's no reason to write these two lines; those are the  
default already.



More information about the macports-dev mailing list