23 Mar
2007
23 Mar
'07
5:47 p.m.
"version" is what Portfiles are supposed to use. I recall we added "portversion" to the internals since there was some ambiguity surrounding "version" in various parts of base/. "portversion" works in the Portfile because the namespace bleeds through. - kvv On Mar 23, 2007, at 1:17 AM, Ryan Schmidt wrote:
What's the difference between ${version} and ${portversion}? There are 1350 ports that use the former construct, and 74 that use the latter. Do they represent the same thing? If so, why do we have two variables?
dports $ grep '${portversion}' */*/Portfile | cut -d ':' -f 1 | sort | uniq | wc -l 74 dports $ grep '${version}' */*/Portfile | cut -d ':' -f 1 | sort | uniq | wc -l 1350
--