subport syntax clarification

Ryan Schmidt ryandesign at macports.org
Sat Jan 14 14:03:42 PST 2012


I get the impression that the following two blocks are equivalent. Is this true?


if {${name} == ${subport}} {
	...
}


subport ${name} {
	...
}


I've been using the former sometimes, but I think the latter is more succinct and I might try that instead, unless there's a reason not to.




More information about the macports-dev mailing list