${version} vs. ${portversion}
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 -- To reply to the mailing list, please use your mailer's Reply To All function
"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
--
participants (2)
-
Kevin Van Vechten
-
Ryan Schmidt