David Sainty <david.sainty%dtsp.co.nz@localhost> writes: >> No, I was suggesting that pkgsrc have a feature that one can express >> that a particular site has an odd download method. Perhaps that can be >> "this method is odd" and "here's how to combine MASTER_SITES, DISTNAME, >> and EXTRACT_SUFX to make a URL", with "this method is odd" being enough >> to add the FETCH_BEFORE_ARGS like you suggest. This is really just >> about what you are doing, except it removes the pkgsrcIgnore kludge, and >> it doesn't try to cram everything in MASTER_SITES. >> > > I don't quite get how this would look in the package's Makefile. How > would you ask for this behaviour under your suggestion? MASTER_SITES= http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/ MASTER_SITES_TRAC= http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/ or something like that. Really the semantics is This MASTER_SITE (http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/) is really a trac server with attachments, not a regular web server, so use the special trac download rule for it.
Description: PGP signature