#38873: tesseract @3.01: fix livecheck ------------------------+-------------------- Reporter: egall@… | Owner: emer@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tesseract | ------------------------+-------------------- Comment (by larryv@…): Replying to [comment:3 emer@…]:
Still not sure why this doesn't work. googlecode:tesseract-ocr works to download...
MacPorts maps `master_sites` values like “googlecode” to URLs, but it expects `livecheck.url` to be a valid URL already. What you want here is to set `livecheck.type` to “googlecode” (which is the default if `master_sites` is “googlecode”) and set `livecheck.regex` to pick up the new distfile naming scheme. Here’s a patch that does that. -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X