On Aug 19, 2008, at 19:43, [EMAIL PROTECTED] wrote:
Revision: 39440
http://trac.macosforge.org/projects/macports/changeset/39440
Author: [EMAIL PROTECTED]
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.
nut.diff
Description: Binary data
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
