General ports questions

Ryan Schmidt ryandesign at macports.org
Mon Jan 26 17:08:21 PST 2009


On Jan 26, 2009, at 16:19, Scott Haneda wrote:

> On Jan 26, 2009, at 8:11 AM, Joshua Root wrote:
>
>> It's entirely up to you which platforms you want to support in your
>> ports, and which files are useful to install. Use your judgement.
>
> How does one state 10.4 and 10.5 only?


The following will exclude users of Mac OS X 10.3:


platform darwin 7 {
	pre-fetch {
		return -code error "${name} requires Mac OS X 10.4 or newer"
	}
}


This assumes nobody has MacPorts installed on Mac OS X 10.2 or  
earlier anymore. MacPorts 1.7.0 doesn't install on Jaguar and earlier  
anyway.



More information about the macports-users mailing list