a way to specify that the port is source-only

Yury Selivanov yselivanov.ml at gmail.com
Tue Jul 31 11:27:47 PDT 2012


On 2012-07-31, at 2:22 PM, Jeremy Lavergne <jeremy at lavergne.gotdns.org> wrote:

>> I have some ports patched and being distributed through the 
>> company's own portfile repo.  Let's say I have a custom
>> "postgresql91" port with our custom patches.  Now, on many
>> machines, instead of building it, it just downloads a pre-built
>> version.  Can we add an option in Portfiles, like 
>>    "source_only   yes" 
>> or something like that?
> 
> What happens if you set archive_site_local in the Portfile? I think it'll get used as the place to fetch archives, so if you make it something bogus you'll kill archivefetch.

OK, I've tried:

    Failed to parse file databases/postgresql91/Portfile: 
    invalid command name "archive_site_local"

-
Yury


More information about the macports-dev mailing list