On Thu, Nov 16, 2017 at 10:17:09PM -0500, Perry E. Metzger wrote:
camlp5 version 7.03 is located in

https://github.com/camlp5/camlp5/archive/rel703.tar.gz

What do I do in an updated Portfile to point at that?

You can use the github PortGroup[1] with strsed[2], e.g.

```
PortGroup           github 1.0
set _version        7.03
github.setup        camlp5 camlp5 [strsed ${_version} {g/\.//}] rel
version             ${_version}
```

[1] 
https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/github-1.0.tcl
[2] 
https://guide.macports.org/chunked/reference.tcl-extensions.html#reference.tcl-extensions.strsed

--
Best regards,
Zero King

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to