[32596] trunk/dports/print/libpaper/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Jan 8 14:15:22 PST 2008


On Jan 8, 2008, at 15:51, ricci at macports.org wrote:

> Modified: trunk/dports/print/libpaper/Portfile
> ===================================================================
> --- trunk/dports/print/libpaper/Portfile	2008-01-08 21:48:43 UTC  
> (rev 32595)
> +++ trunk/dports/print/libpaper/Portfile	2008-01-08 21:51:10 UTC  
> (rev 32596)
> @@ -2,8 +2,8 @@
>
>  PortSystem	1.0
>  name		libpaper
> -version		1.1.14-3
> -set base_version	1.1.14
> +version		1.1.21
> +set base_version	1.1.21
>  revision	1

FYI: Instead of listing the version number twice, you could list it  
just once in ${version} and compute it for ${base_version}, like this:

version 1.1.21
set base_version [lindex [split ${version} -] 0]


Also, when you increase the port's version, don't forget to drop the  
revision down to 0 (or remove the revision line entirely which does  
the same thing).



More information about the macports-dev mailing list