[100507] trunk/dports/java/jgoodies-common/Portfile
Ryan Schmidt
ryandesign at macports.org
Fri Dec 14 08:14:19 PST 2012
On Dec 14, 2012, at 10:10, blair at macports.org wrote:
> jgoodies-common: update to 1.4.0; 1.3.0 requires Java 6 so this breaks older OSes.
Can you put in a block to print a nice error message for those older OSes? For example if it now requires 10.6 or newer you could use:
if {${os.platform} == "darwin" && ${os.major} < 10} {
pre-fetch {
ui_error "${name} ${version} requires OS X 10.6 or greater."
return -code error "incompatible OS X version"
}
}
More information about the macports-dev
mailing list