[40784] trunk/dports/devel/distract/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Oct 14 16:22:40 PDT 2008


On Oct 14, 2008, at 17:38, tommyd at macports.org wrote:

> Revision: 40784
>           http://trac.macports.org/changeset/40784
> Author:   tommyd at macports.org
> Date:     2008-10-14 15:38:14 -0700 (Tue, 14 Oct 2008)
> Log Message:
> -----------
> * distract: make the port's name lowercase so it matches the  
> directory and makes port lint happy
>
> Modified Paths:
> --------------
>     trunk/dports/devel/distract/Portfile
>
> Modified: trunk/dports/devel/distract/Portfile
> ===================================================================
> --- trunk/dports/devel/distract/Portfile	2008-10-14 22:27:30 UTC  
> (rev 40783)
> +++ trunk/dports/devel/distract/Portfile	2008-10-14 22:38:14 UTC  
> (rev 40784)
> @@ -2,7 +2,7 @@
>
>  PortSystem 1.0
>
> -name		DisTract
> +name		distract
>  version		0.2.5
>  categories	devel
>  maintainers	tommyd

Have you tested what happens if a user has "DisTract" installed and  
then you update the port to a new version when it's called "distract"  
and the user needs to upgrade? Does "port outdated" consider  
"DisTract" and "distract" to be the same thing -- does it properly  
suggest the new version? Does the upgrade work properly?

Probably when the port name and directory name do not match, it's  
better to change the directory name rather than the port name.  
Perhaps the lint message should be changed to suggest that.




More information about the macports-dev mailing list