[39440] trunk/dports/sysutils

Ryan Schmidt ryandesign at macports.org
Tue Aug 19 20:42:25 PDT 2008


On Aug 19, 2008, at 19:43, ricci at macports.org wrote:

> Revision: 39440
>           http://trac.macosforge.org/projects/macports/changeset/39440
> Author:   ricci at macports.org
> Date:     2008-08-19 17:43:24 -0700 (Tue, 19 Aug 2008)
> Log Message:
> -----------
> New port - nut (Network UPS Tools)


> +set                 majorVer 2
> +set                 minorVer 2
> +set                 majorMinorVer ${majorVer}.${minorVer}
> +set                 revVer 2
> +version             ${majorVer}.${minorVer}.${revVer}


> +master_sites        http://www.networkupstools.org/source/$ 
> {majorMinorVer}


In several other ports, we have a slightly different way of handling  
this that enables the version variable to retain a readable version  
in the Portfile; see attached patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut.diff
Type: application/octet-stream
Size: 994 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20080819/cde1a723/attachment.obj 


More information about the macports-dev mailing list